mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
No effective change - remove unused code (old ClassPathReader etc)
This commit is contained in:
@@ -1,26 +0,0 @@
|
||||
package com.avaje.ebeaninternal.server.util;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import java.util.HashSet;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
public class ClassPathSearchFilterTest {
|
||||
|
||||
@Test
|
||||
public void testContainedIn() throws Exception {
|
||||
|
||||
HashSet<String> set = new HashSet<String>();
|
||||
set.add("the-rock");
|
||||
set.add("fooBar.jar");
|
||||
|
||||
ClassPathSearchFilter filter = new ClassPathSearchFilter();
|
||||
assertTrue(filter.containedIn(set, "the-rock.jar"));
|
||||
assertTrue(filter.containedIn(set, "the-rock-1.0.1.jar"));
|
||||
assertTrue(filter.containedIn(set, "prefix-the-rock-1.0.1.jar"));
|
||||
assertTrue(filter.containedIn(set, "fooBar.jar"));
|
||||
assertFalse(filter.containedIn(set, "fooBar-1.3.jar"));
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
package com.avaje.ebeaninternal.server.util;
|
||||
|
||||
/**
|
||||
* Exists only for including in the jar for the Class Path Search Tests.
|
||||
*
|
||||
* author: Richard Vowles - http://plus.google.com/RichardVowles
|
||||
*/
|
||||
public class SimpleJarBangClass {
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
package com.avaje.ebeaninternal.server.util;
|
||||
|
||||
/**
|
||||
* Exists only for the purpose of putting in a jar for the ClassPathSearchTests.
|
||||
*
|
||||
* author: Richard Vowles - http://plus.google.com/RichardVowles
|
||||
*/
|
||||
public class SimpleJarClass {
|
||||
}
|
||||
Reference in New Issue
Block a user