List of usage examples for org.jfree.util StringUtils endsWithIgnoreCase
public static boolean endsWithIgnoreCase(final String base, final String end)
From source file:hudson.plugins.sonar.utils.LibraryPathResolverTest.java
@Test public void testDoResolvePath() throws IOException, InterruptedException { Set<String> stringSet = pathResolver.doResolvePath(workspace, "**/*.jar"); assertEquals(AMOUNT_OF_PROJECTS, stringSet.size()); for (String jarFile : stringSet) { assertTrue(jarFile + " doesn't end with the right extension", StringUtils.endsWithIgnoreCase(jarFile, ".jar")); }/*from w w w.j ava 2s . c o m*/ }