diff options
author | Dan Bornstein <danfuzz@android.com> | 2011-01-17 13:31:40 -0800 |
---|---|---|
committer | Dan Bornstein <danfuzz@android.com> | 2011-01-17 13:31:40 -0800 |
commit | 51d35175d7cce2afc5c9cdd1ef939d60481cd398 (patch) | |
tree | 72c35d9e09becbad43d7334b841a51d6f88d6683 /luni/src/test/etc/loading-test-jar | |
parent | 0ec98177a2b2ea242a9ca9e0fb5aee39bba0c007 (diff) | |
download | libcore-51d35175d7cce2afc5c9cdd1ef939d60481cd398.zip libcore-51d35175d7cce2afc5c9cdd1ef939d60481cd398.tar.gz libcore-51d35175d7cce2afc5c9cdd1ef939d60481cd398.tar.bz2 |
Naming: Reduce confusion, increase consistency.
Change-Id: I25e5fccac4c025e35d45d4920d9f2308c658ec53
Diffstat (limited to 'luni/src/test/etc/loading-test-jar')
-rw-r--r-- | luni/src/test/etc/loading-test-jar/TestMethods.java (renamed from luni/src/test/etc/loading-test-jar/Test2.java) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/luni/src/test/etc/loading-test-jar/Test2.java b/luni/src/test/etc/loading-test-jar/TestMethods.java index 9accb2d..aa9b3cd 100644 --- a/luni/src/test/etc/loading-test-jar/Test2.java +++ b/luni/src/test/etc/loading-test-jar/TestMethods.java @@ -27,7 +27,7 @@ import java.io.InputStream; * method in this class is called from the same-named method in * {@code DexClassLoaderTest}. */ -public class Test2 { +public class TestMethods { /* * The following are all simple utility methods which, under * normal circumstances, would be part of other libraries @@ -123,7 +123,7 @@ public class Test2 { * file as this class. */ public static void test_getResourceAsStream() throws IOException { - ClassLoader cl = Test2.class.getClassLoader(); + ClassLoader cl = TestMethods.class.getClassLoader(); InputStream in = cl.getResourceAsStream("test/Resource1.txt"); byte[] contents = readFully(in); String s = new String(contents, "UTF-8"); @@ -179,7 +179,7 @@ public class Test2 { * file as this class. */ public static void test_diff_getResourceAsStream() throws IOException { - ClassLoader cl = Test2.class.getClassLoader(); + ClassLoader cl = TestMethods.class.getClassLoader(); InputStream in = cl.getResourceAsStream("test2/Resource2.txt"); byte[] contents = readFully(in); String s = new String(contents, "UTF-8"); |