summaryrefslogtreecommitdiff
path: root/luni
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2011-06-01 12:17:58 -0700
committerElliott Hughes <enh@google.com>2011-06-01 12:34:46 -0700
commita0696ae076ed7ea66387057c7a1b34d42e10f140 (patch)
treedc5378a47bf2fa242ef4fed0d8a0b33a8df8db9c /luni
parent5ee33f92a260b065ebe348e14902e3bec067d886 (diff)
downloadapache-harmony-a0696ae076ed7ea66387057c7a1b34d42e10f140.tar.gz
Move support resources into a resources directory.
That way, they get included as resources and a bunch of tests start passing. (Primarily the jar and zip tests.) Change-Id: I977bbe52db64943c8f0f456ea753f81c15c1d345
Diffstat (limited to 'luni')
-rw-r--r--luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/PackageTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/PackageTest.java b/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/PackageTest.java
index 61dab9a..0b4d84f 100644
--- a/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/PackageTest.java
+++ b/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/PackageTest.java
@@ -234,7 +234,7 @@ public class PackageTest extends junit.framework.TestCase {
} catch (NullPointerException compatible) {
/*
* RI throws NPE instead of NFE...
- */
+ */
}
try {
@@ -290,7 +290,7 @@ public class PackageTest extends junit.framework.TestCase {
assertTrue("Package toString returns wrong string", p.toString()
.length() > 0);
}
-
+
public void test_SealedPackage_forName() throws Exception {
Support_Resources.copyFile(resources, "Package", "hyts_c.jar");
Support_Resources.copyFile(resources, "Package", "hyts_d.jar");
@@ -318,7 +318,7 @@ public class PackageTest extends junit.framework.TestCase {
// setup for next test
Support_Resources.copyFile(resources, "p", "");
InputStream in = uclClassLoader.getResourceAsStream("p/D.class");
- Support_Resources.copyLocalFileto(new File(resources.toString(),
+ Support_Resources.copyLocalFileTo(new File(resources.toString(),
"p/D.class"), in);
// load from a sealed jar, then the directory