- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for testGetPackageName (0.1 sec)
-
guava-tests/test/com/google/common/reflect/ReflectionTest.java
import java.lang.reflect.Method; import java.util.Map; import junit.framework.TestCase; /** Tests for {@link Reflection} */ public class ReflectionTest extends TestCase { public void testGetPackageName() throws Exception { assertEquals("java.lang", Reflection.getPackageName(Iterable.class)); assertEquals("java", Reflection.getPackageName("java.MyType"));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 2.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/ClassUtilTest.java
assertThat(ClassUtil.isAssignableFrom(int.class, Integer.class), is(true)); } /** * */ @Test public void testGetPackageName() { assertThat(ClassUtil.getPackageName(getClass()), is("org.codelibs.core.lang")); } /** * */ @Test public void testGetShortClassName() {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 6.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/ClassPathTest.java
assertEquals("", new ClassInfo(FILE, "a/b/Bar$1.class", classLoader).getSimpleName()); assertEquals("Local", new ClassInfo(FILE, "a/b/Bar$1Local.class", classLoader).getSimpleName()); } public void testGetPackageName() { assertEquals( "", new ClassInfo(FILE, "Foo.class", getClass().getClassLoader()).getPackageName()); assertEquals(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 22:09:38 UTC 2024 - 25K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/ClassPathTest.java
assertEquals("", new ClassInfo(FILE, "a/b/Bar$1.class", classLoader).getSimpleName()); assertEquals("Local", new ClassInfo(FILE, "a/b/Bar$1Local.class", classLoader).getSimpleName()); } public void testGetPackageName() { assertEquals( "", new ClassInfo(FILE, "Foo.class", getClass().getClassLoader()).getPackageName()); assertEquals(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 22:09:38 UTC 2024 - 27.6K bytes - Viewed (0)