diff options
author | Elliott Hughes <enh@google.com> | 2011-06-01 12:17:58 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2011-06-01 12:34:46 -0700 |
commit | a0696ae076ed7ea66387057c7a1b34d42e10f140 (patch) | |
tree | dc5378a47bf2fa242ef4fed0d8a0b33a8df8db9c | |
parent | 5ee33f92a260b065ebe348e14902e3bec067d886 (diff) | |
download | apache-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
-rw-r--r-- | luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/PackageTest.java | 6 | ||||
-rw-r--r-- | support/src/test/java/tests/support/resource/Support_Resources.java | 207 | ||||
-rw-r--r-- | support/src/test/resources/tests/resources/Broken_entry.jar (renamed from support/src/test/java/tests/resources/Broken_entry.jar) | bin | 972 -> 972 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/Broken_manifest.jar (renamed from support/src/test/java/tests/resources/Broken_manifest.jar) | bin | 972 -> 972 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/Created_by_1_4.jar (renamed from support/src/test/java/tests/resources/Created_by_1_4.jar) | bin | 2998 -> 2998 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/EmptyEntries_signed.jar (renamed from support/src/test/java/tests/resources/EmptyEntries_signed.jar) | bin | 1927 -> 1927 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/GZIPInputStream/hyts_gInput.txt.gz (renamed from support/src/test/java/tests/resources/GZIPInputStream/hyts_gInput.txt.gz) | bin | 42 -> 42 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/Harmony.GIF (renamed from support/src/test/java/tests/resources/Harmony.GIF) | bin | 5220 -> 5220 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/Harmony.jpg (renamed from support/src/test/java/tests/resources/Harmony.jpg) | bin | 8118 -> 8118 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/Harmony.png (renamed from support/src/test/java/tests/resources/Harmony.png) | bin | 40700 -> 40700 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/Inserted_Entry_Manifest.jar (renamed from support/src/test/java/tests/resources/Inserted_Entry_Manifest.jar) | bin | 1977 -> 1977 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/Inserted_Entry_Manifest_with_DigestCode.jar (renamed from support/src/test/java/tests/resources/Inserted_Entry_Manifest_with_DigestCode.jar) | bin | 1970 -> 1970 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/Integrate.jar (renamed from support/src/test/java/tests/resources/Integrate.jar) | bin | 1963 -> 1963 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/JarIndex/hyts_11.jar (renamed from support/src/test/java/tests/resources/JarIndex/hyts_11.jar) | bin | 1219 -> 1219 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/JarIndex/hyts_12.jar (renamed from support/src/test/java/tests/resources/JarIndex/hyts_12.jar) | bin | 1250 -> 1250 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/JarIndex/hyts_13.jar (renamed from support/src/test/java/tests/resources/JarIndex/hyts_13.jar) | bin | 1698 -> 1698 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/JarIndex/hyts_14.jar (renamed from support/src/test/java/tests/resources/JarIndex/hyts_14.jar) | bin | 414 -> 414 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/JarIndex/hyts_21.jar (renamed from support/src/test/java/tests/resources/JarIndex/hyts_21.jar) | bin | 1417 -> 1417 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/JarIndex/hyts_22-new.jar (renamed from support/src/test/java/tests/resources/JarIndex/hyts_22-new.jar) | bin | 1428 -> 1428 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/JarIndex/hyts_22.jar (renamed from support/src/test/java/tests/resources/JarIndex/hyts_22.jar) | bin | 1430 -> 1430 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/JarIndex/hyts_23.jar (renamed from support/src/test/java/tests/resources/JarIndex/hyts_23.jar) | bin | 2073 -> 2073 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/JarIndex/hyts_31.jar (renamed from support/src/test/java/tests/resources/JarIndex/hyts_31.jar) | bin | 1217 -> 1217 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/JarIndex/hyts_32.jar (renamed from support/src/test/java/tests/resources/JarIndex/hyts_32.jar) | bin | 1421 -> 1421 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/JarIndex/hyts_33.jar (renamed from support/src/test/java/tests/resources/JarIndex/hyts_33.jar) | bin | 1701 -> 1701 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/JarIndex/hyts_41.jar (renamed from support/src/test/java/tests/resources/JarIndex/hyts_41.jar) | bin | 1217 -> 1217 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/JarIndex/hyts_42.jar (renamed from support/src/test/java/tests/resources/JarIndex/hyts_42.jar) | bin | 1239 -> 1239 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/Modified_Class.jar (renamed from support/src/test/java/tests/resources/Modified_Class.jar) | bin | 1949 -> 1949 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/Modified_Manifest_EntryAttributes.jar (renamed from support/src/test/java/tests/resources/Modified_Manifest_EntryAttributes.jar) | bin | 1963 -> 1963 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/Modified_Manifest_MainAttributes.jar (renamed from support/src/test/java/tests/resources/Modified_Manifest_MainAttributes.jar) | bin | 1970 -> 1970 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/Modified_SF_EntryAttributes.jar (renamed from support/src/test/java/tests/resources/Modified_SF_EntryAttributes.jar) | bin | 1949 -> 1949 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/Package/hyts_all_attributes.jar (renamed from support/src/test/java/tests/resources/Package/hyts_all_attributes.jar) | bin | 742 -> 742 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/Package/hyts_c.jar (renamed from support/src/test/java/tests/resources/Package/hyts_c.jar) | bin | 745 -> 745 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/Package/hyts_d.jar (renamed from support/src/test/java/tests/resources/Package/hyts_d.jar) | bin | 652 -> 652 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/Package/hyts_d1.jar (renamed from support/src/test/java/tests/resources/Package/hyts_d1.jar) | bin | 1119 -> 1119 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/Package/hyts_d2.jar (renamed from support/src/test/java/tests/resources/Package/hyts_d2.jar) | bin | 1133 -> 1133 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/Package/hyts_no_attributes.jar (renamed from support/src/test/java/tests/resources/Package/hyts_no_attributes.jar) | bin | 704 -> 704 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/Package/hyts_no_entry.jar (renamed from support/src/test/java/tests/resources/Package/hyts_no_entry.jar) | bin | 693 -> 693 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/Package/hyts_pq.jar (renamed from support/src/test/java/tests/resources/Package/hyts_pq.jar) | bin | 841 -> 841 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/Package/hyts_some_attributes.jar (renamed from support/src/test/java/tests/resources/Package/hyts_some_attributes.jar) | bin | 732 -> 732 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/ServiceLoader/hyts_services.jar (renamed from support/src/test/java/tests/resources/ServiceLoader/hyts_services.jar) | bin | 12258 -> 12258 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/ServiceLoader/hyts_services2.jar (renamed from support/src/test/java/tests/resources/ServiceLoader/hyts_services2.jar) | bin | 5749 -> 5749 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/TestCodeSigners.jar (renamed from support/src/test/java/tests/resources/TestCodeSigners.jar) | bin | 3381 -> 3381 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/hyts_Bar.ser (renamed from support/src/test/java/tests/resources/hyts_Bar.ser) | bin | 414 -> 414 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/hyts_Foo.ser (renamed from support/src/test/java/tests/resources/hyts_Foo.ser) | bin | 467 -> 467 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/hyts_PropertiesTest.properties (renamed from support/src/test/java/tests/resources/hyts_PropertiesTest.properties) | 0 | ||||
-rw-r--r-- | support/src/test/resources/tests/resources/hyts_ZipFile.zip (renamed from support/src/test/java/tests/resources/hyts_ZipFile.zip) | bin | 1136 -> 1136 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/hyts_att.jar (renamed from support/src/test/java/tests/resources/hyts_att.jar) | bin | 625 -> 625 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/hyts_available.tst (renamed from support/src/test/java/tests/resources/hyts_available.tst) | bin | 17 -> 17 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/hyts_checkInput.txt (renamed from support/src/test/java/tests/resources/hyts_checkInput.txt) | 0 | ||||
-rw-r--r-- | support/src/test/resources/tests/resources/hyts_compDiction.bin (renamed from support/src/test/java/tests/resources/hyts_compDiction.bin) | bin | 501 -> 501 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/hyts_compressD.bin (renamed from support/src/test/java/tests/resources/hyts_compressD.bin) | bin | 500 -> 500 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/hyts_construO.bin (renamed from support/src/test/java/tests/resources/hyts_construO.bin) | bin | 25 -> 25 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/hyts_construOD.bin (renamed from support/src/test/java/tests/resources/hyts_construOD.bin) | bin | 13 -> 13 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/hyts_construODI.bin (renamed from support/src/test/java/tests/resources/hyts_construODI.bin) | bin | 18 -> 18 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/hyts_flushed.jar (renamed from support/src/test/java/tests/resources/hyts_flushed.jar) | bin | 2273 -> 2273 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/hyts_htmltest.html (renamed from support/src/test/java/tests/resources/hyts_htmltest.html) | 0 | ||||
-rw-r--r-- | support/src/test/resources/tests/resources/hyts_mainClass.ser (renamed from support/src/test/java/tests/resources/hyts_mainClass.ser) | bin | 440 -> 440 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/hyts_manifest1.jar (renamed from support/src/test/java/tests/resources/hyts_manifest1.jar) | bin | 400 -> 400 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/hyts_missingclass.ser (renamed from support/src/test/java/tests/resources/hyts_missingclass.ser) | bin | 493 -> 493 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/hyts_patch.jar (renamed from support/src/test/java/tests/resources/hyts_patch.jar) | bin | 972 -> 972 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/hyts_patch2.jar (renamed from support/src/test/java/tests/resources/hyts_patch2.jar) | bin | 667 -> 667 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/hyts_resource.properties (renamed from support/src/test/java/tests/resources/hyts_resource.properties) | 0 | ||||
-rw-r--r-- | support/src/test/resources/tests/resources/hyts_security.jar (renamed from support/src/test/java/tests/resources/hyts_security.jar) | bin | 1765 -> 1765 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/hyts_signed.jar (renamed from support/src/test/java/tests/resources/hyts_signed.jar) | bin | 2375 -> 2375 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/manifest/hyts_MANIFEST.MF (renamed from support/src/test/java/tests/resources/manifest/hyts_MANIFEST.MF) | 0 | ||||
-rw-r--r-- | support/src/test/resources/tests/resources/morestuff/hyts_patch.jar (renamed from support/src/test/java/tests/resources/morestuff/hyts_patch.jar) | bin | 972 -> 972 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/morestuff/hyts_patch2.jar (renamed from support/src/test/java/tests/resources/morestuff/hyts_patch2.jar) | bin | 667 -> 667 bytes | |||
-rw-r--r-- | support/src/test/resources/tests/resources/subfolder/tests/norootresources/hyts_resource_en.properties (renamed from support/src/test/java/tests/resources/subfolder/tests/norootresources/hyts_resource_en.properties) | 0 | ||||
-rw-r--r-- | support/src/test/resources/tests/resources/subfolder/tests/norootresources/hyts_resource_en_US.java (renamed from support/src/test/java/tests/resources/subfolder/tests/norootresources/hyts_resource_en_US.java) | 0 | ||||
-rw-r--r-- | support/src/test/resources/tests/resources/subfolder/tests/norootresources/hyts_resource_en_US.properties (renamed from support/src/test/java/tests/resources/subfolder/tests/norootresources/hyts_resource_en_US.properties) | 0 | ||||
-rw-r--r-- | support/src/test/resources/tests/resources/subfolder/tests/norootresources/hyts_resource_en_US_VAR.java (renamed from support/src/test/java/tests/resources/subfolder/tests/norootresources/hyts_resource_en_US_VAR.java) | 0 | ||||
-rw-r--r-- | support/src/test/resources/tests/resources/subfolder/tests/norootresources/hyts_resource_fr.java (renamed from support/src/test/java/tests/resources/subfolder/tests/norootresources/hyts_resource_fr.java) | 0 | ||||
-rw-r--r-- | support/src/test/resources/tests/resources/subfolder/tests/norootresources/hyts_resource_fr.properties (renamed from support/src/test/java/tests/resources/subfolder/tests/norootresources/hyts_resource_fr.properties) | 0 | ||||
-rw-r--r-- | support/src/test/resources/tests/resources/subfolder/tests/norootresources/hyts_resource_fr_FR.java (renamed from support/src/test/java/tests/resources/subfolder/tests/norootresources/hyts_resource_fr_FR.java) | 0 | ||||
-rw-r--r-- | support/src/test/resources/tests/resources/subfolder/tests/norootresources/hyts_resource_fr_FR.properties (renamed from support/src/test/java/tests/resources/subfolder/tests/norootresources/hyts_resource_fr_FR.properties) | 0 | ||||
-rw-r--r-- | support/src/test/resources/tests/resources/subfolder/tests/norootresources/hyts_resource_fr_FR_VAR.java (renamed from support/src/test/java/tests/resources/subfolder/tests/norootresources/hyts_resource_fr_FR_VAR.java) | 0 | ||||
-rw-r--r-- | support/src/test/resources/tests/resources/subfolder/tests/norootresources/hyts_resource_fr_FR_VAR.properties (renamed from support/src/test/java/tests/resources/subfolder/tests/norootresources/hyts_resource_fr_FR_VAR.properties) | 0 | ||||
-rw-r--r-- | support/src/test/resources/tests/resources/subfolder/tests/resources/hyts_resource.java (renamed from support/src/test/java/tests/resources/subfolder/tests/resources/hyts_resource.java) | 0 | ||||
-rw-r--r-- | support/src/test/resources/tests/resources/subfolder/tests/resources/hyts_resource.properties (renamed from support/src/test/java/tests/resources/subfolder/tests/resources/hyts_resource.properties) | 0 | ||||
-rw-r--r-- | support/src/test/resources/tests/resources/subfolder/tests/resources/hyts_resource_en.properties (renamed from support/src/test/java/tests/resources/subfolder/tests/resources/hyts_resource_en.properties) | 0 | ||||
-rw-r--r-- | support/src/test/resources/tests/resources/subfolder/tests/resources/hyts_resource_en_US.java (renamed from support/src/test/java/tests/resources/subfolder/tests/resources/hyts_resource_en_US.java) | 0 | ||||
-rw-r--r-- | support/src/test/resources/tests/resources/subfolder/tests/resources/hyts_resource_en_US.properties (renamed from support/src/test/java/tests/resources/subfolder/tests/resources/hyts_resource_en_US.properties) | 0 | ||||
-rw-r--r-- | support/src/test/resources/tests/resources/subfolder/tests/resources/hyts_resource_en_US_VAR.java (renamed from support/src/test/java/tests/resources/subfolder/tests/resources/hyts_resource_en_US_VAR.java) | 0 | ||||
-rw-r--r-- | support/src/test/resources/tests/resources/subfolder/tests/resources/hyts_resource_fr.java (renamed from support/src/test/java/tests/resources/subfolder/tests/resources/hyts_resource_fr.java) | 0 | ||||
-rw-r--r-- | support/src/test/resources/tests/resources/subfolder/tests/resources/hyts_resource_fr.properties (renamed from support/src/test/java/tests/resources/subfolder/tests/resources/hyts_resource_fr.properties) | 0 | ||||
-rw-r--r-- | support/src/test/resources/tests/resources/subfolder/tests/resources/hyts_resource_fr_FR.properties (renamed from support/src/test/java/tests/resources/subfolder/tests/resources/hyts_resource_fr_FR.properties) | 0 | ||||
-rw-r--r-- | support/src/test/resources/tests/resources/subfolder/tests/resources/hyts_resource_fr_FR_VAR.java (renamed from support/src/test/java/tests/resources/subfolder/tests/resources/hyts_resource_fr_FR_VAR.java) | 0 | ||||
-rw-r--r-- | support/src/test/resources/tests/resources/subfolder/tests/resources/hyts_resource_fr_FR_VAR.properties (renamed from support/src/test/java/tests/resources/subfolder/tests/resources/hyts_resource_fr_FR_VAR.properties) | 0 |
88 files changed, 99 insertions, 114 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 diff --git a/support/src/test/java/tests/support/resource/Support_Resources.java b/support/src/test/java/tests/support/resource/Support_Resources.java index 849b9bb..ec1a4b7 100644 --- a/support/src/test/java/tests/support/resource/Support_Resources.java +++ b/support/src/test/java/tests/support/resource/Support_Resources.java @@ -1,13 +1,13 @@ -/* +/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -30,139 +30,124 @@ import tests.support.Support_Configuration; public class Support_Resources { - public static final String RESOURCE_PACKAGE = "/tests/resources/"; - - public static final String RESOURCE_PACKAGE_NAME = "tests.resources"; - - public static InputStream getStream(String name) { - return Support_Resources.class.getResourceAsStream(RESOURCE_PACKAGE - + name); - } - - public static String getURL(String name) { - String folder = null; - String fileName = name; - File resources = createTempFolder(); - int index = name.lastIndexOf("/"); - if (index != -1) { - folder = name.substring(0, index); - name = name.substring(index + 1); - } - copyFile(resources, folder, name); - URL url = null; - String resPath = resources.toString(); - if (resPath.charAt(0) == '/' || resPath.charAt(0) == '\\') { + public static final String RESOURCE_PACKAGE = "/tests/resources/"; + + public static final String RESOURCE_PACKAGE_NAME = "tests.resources"; + + public static InputStream getStream(String name) { + // System.err.println("getResourceAsStream(" + RESOURCE_PACKAGE + name + ")"); + return Support_Resources.class.getResourceAsStream(RESOURCE_PACKAGE + name); + } + + public static String getURL(String name) { + String folder = null; + String fileName = name; + File resources = createTempFolder(); + int index = name.lastIndexOf("/"); + if (index != -1) { + folder = name.substring(0, index); + name = name.substring(index + 1); + } + copyFile(resources, folder, name); + URL url = null; + String resPath = resources.toString(); + if (resPath.charAt(0) == '/' || resPath.charAt(0) == '\\') { resPath = resPath.substring(1); } - try { - url = new URL("file:/" + resPath + "/" + fileName); - } catch (MalformedURLException e) { - // TODO Auto-generated catch block - e.printStackTrace(); - } - return url.toString(); - } - - public static File createTempFolder() { - - File folder = null; - try { - folder = File.createTempFile("hyts_resources", "", null); - folder.delete(); - folder.mkdirs(); - } catch (IOException e) { - // TODO Auto-generated catch block - e.printStackTrace(); - } - folder.deleteOnExit(); - return folder; - } - - public static void copyFile(File root, String folder, String file) { - File f; - if (folder != null) { - f = new File(root.toString() + "/" + folder); - if (!f.exists()) { - f.mkdirs(); - f.deleteOnExit(); - } - } else { + try { + url = new URL("file:/" + resPath + "/" + fileName); + } catch (MalformedURLException e) { + throw new RuntimeException(e); + } + return url.toString(); + } + + public static File createTempFolder() { + File folder = null; + try { + folder = File.createTempFile("hyts_resources", "", null); + folder.delete(); + folder.mkdirs(); + } catch (IOException e) { + throw new RuntimeException(e); + } + folder.deleteOnExit(); + return folder; + } + + public static void copyFile(File root, String folder, String file) { + File f; + if (folder != null) { + f = new File(root.toString() + "/" + folder); + if (!f.exists()) { + f.mkdirs(); + f.deleteOnExit(); + } + } else { f = root; } - File dest = new File(f.toString() + "/" + file); - - InputStream in = Support_Resources.getStream(folder == null ? file - : folder + "/" + file); - try { - copyLocalFileto(dest, in); - } catch (FileNotFoundException e) { - // TODO Auto-generated catch block - e.printStackTrace(); - } catch (IOException e) { - // TODO Auto-generated catch block - e.printStackTrace(); - } - } - - public static File createTempFile(String suffix) throws IOException { - return File.createTempFile("hyts_", suffix, null); - } - - public static void copyLocalFileto(File dest, InputStream in) - throws FileNotFoundException, IOException { - if (!dest.exists()) { - FileOutputStream out = new FileOutputStream(dest); - int result; - byte[] buf = new byte[4096]; - while ((result = in.read(buf)) != -1) { + String src = folder == null ? file : folder + "/" + file; + InputStream in = Support_Resources.getStream(src); + try { + File dst = new File(f.toString() + "/" + file); + copyLocalFileTo(dst, in); + } catch (Exception e) { + throw new RuntimeException("copyFile failed: root=" + root + " folder=" + folder + " file=" + file + " (src=" + src + ")", e); + } + } + + public static File createTempFile(String suffix) throws IOException { + return File.createTempFile("hyts_", suffix, null); + } + + public static void copyLocalFileTo(File dest, InputStream in) throws IOException { + if (!dest.exists()) { + FileOutputStream out = new FileOutputStream(dest); + int result; + byte[] buf = new byte[4096]; + while ((result = in.read(buf)) != -1) { out.write(buf, 0, result); } - in.close(); - out.close(); - dest.deleteOnExit(); - } - } - - public static File getExternalLocalFile(String url) throws IOException, - MalformedURLException { - File resources = createTempFolder(); - InputStream in = new URL(url).openStream(); - File temp = new File(resources.toString() + "/local.tmp"); - copyLocalFileto(temp, in); - return temp; - } - - public static String getResourceURL(String resource) { - return "http://" + Support_Configuration.TestResources + resource; - } + in.close(); + out.close(); + dest.deleteOnExit(); + } + } + + public static File getExternalLocalFile(String url) throws IOException, MalformedURLException { + File resources = createTempFolder(); + InputStream in = new URL(url).openStream(); + File temp = new File(resources.toString() + "/local.tmp"); + copyLocalFileTo(temp, in); + return temp; + } + + public static String getResourceURL(String resource) { + return "http://" + Support_Configuration.TestResources + resource; + } /** * Util method to load resource files - * + * * @param name - name of resource file * @return - resource input stream */ public static InputStream getResourceStream(String name) { - - InputStream is = ClassLoader.getSystemClassLoader() - .getResourceAsStream(name); - + InputStream is = ClassLoader.getSystemClassLoader().getResourceAsStream(name); if (is == null) { throw new RuntimeException("Failed to load resource: " + name); } - return is; } - + /** * Util method to get absolute path to resource file - * + * * @param name - name of resource file * @return - path to resource */ public static String getAbsoluteResourcePath(String name) { - URL url = ClassLoader.getSystemClassLoader().getResource(name); if (url == null) { throw new RuntimeException("Failed to load resource: " + name); diff --git a/support/src/test/java/tests/resources/Broken_entry.jar b/support/src/test/resources/tests/resources/Broken_entry.jar Binary files differindex e6e7927..e6e7927 100644 --- a/support/src/test/java/tests/resources/Broken_entry.jar +++ b/support/src/test/resources/tests/resources/Broken_entry.jar diff --git a/support/src/test/java/tests/resources/Broken_manifest.jar b/support/src/test/resources/tests/resources/Broken_manifest.jar Binary files differindex 4c3ff31..4c3ff31 100644 --- a/support/src/test/java/tests/resources/Broken_manifest.jar +++ b/support/src/test/resources/tests/resources/Broken_manifest.jar diff --git a/support/src/test/java/tests/resources/Created_by_1_4.jar b/support/src/test/resources/tests/resources/Created_by_1_4.jar Binary files differindex 1fe7947..1fe7947 100644 --- a/support/src/test/java/tests/resources/Created_by_1_4.jar +++ b/support/src/test/resources/tests/resources/Created_by_1_4.jar diff --git a/support/src/test/java/tests/resources/EmptyEntries_signed.jar b/support/src/test/resources/tests/resources/EmptyEntries_signed.jar Binary files differindex 237d244..237d244 100644 --- a/support/src/test/java/tests/resources/EmptyEntries_signed.jar +++ b/support/src/test/resources/tests/resources/EmptyEntries_signed.jar diff --git a/support/src/test/java/tests/resources/GZIPInputStream/hyts_gInput.txt.gz b/support/src/test/resources/tests/resources/GZIPInputStream/hyts_gInput.txt.gz Binary files differindex e0f5a00..e0f5a00 100644 --- a/support/src/test/java/tests/resources/GZIPInputStream/hyts_gInput.txt.gz +++ b/support/src/test/resources/tests/resources/GZIPInputStream/hyts_gInput.txt.gz diff --git a/support/src/test/java/tests/resources/Harmony.GIF b/support/src/test/resources/tests/resources/Harmony.GIF Binary files differindex be2dc56..be2dc56 100644 --- a/support/src/test/java/tests/resources/Harmony.GIF +++ b/support/src/test/resources/tests/resources/Harmony.GIF diff --git a/support/src/test/java/tests/resources/Harmony.jpg b/support/src/test/resources/tests/resources/Harmony.jpg Binary files differindex 85bfc6e..85bfc6e 100644 --- a/support/src/test/java/tests/resources/Harmony.jpg +++ b/support/src/test/resources/tests/resources/Harmony.jpg diff --git a/support/src/test/java/tests/resources/Harmony.png b/support/src/test/resources/tests/resources/Harmony.png Binary files differindex 5ec399c..5ec399c 100644 --- a/support/src/test/java/tests/resources/Harmony.png +++ b/support/src/test/resources/tests/resources/Harmony.png diff --git a/support/src/test/java/tests/resources/Inserted_Entry_Manifest.jar b/support/src/test/resources/tests/resources/Inserted_Entry_Manifest.jar Binary files differindex 154d8d6..154d8d6 100644 --- a/support/src/test/java/tests/resources/Inserted_Entry_Manifest.jar +++ b/support/src/test/resources/tests/resources/Inserted_Entry_Manifest.jar diff --git a/support/src/test/java/tests/resources/Inserted_Entry_Manifest_with_DigestCode.jar b/support/src/test/resources/tests/resources/Inserted_Entry_Manifest_with_DigestCode.jar Binary files differindex a94ae49..a94ae49 100644 --- a/support/src/test/java/tests/resources/Inserted_Entry_Manifest_with_DigestCode.jar +++ b/support/src/test/resources/tests/resources/Inserted_Entry_Manifest_with_DigestCode.jar diff --git a/support/src/test/java/tests/resources/Integrate.jar b/support/src/test/resources/tests/resources/Integrate.jar Binary files differindex 16e9c55..16e9c55 100644 --- a/support/src/test/java/tests/resources/Integrate.jar +++ b/support/src/test/resources/tests/resources/Integrate.jar diff --git a/support/src/test/java/tests/resources/JarIndex/hyts_11.jar b/support/src/test/resources/tests/resources/JarIndex/hyts_11.jar Binary files differindex 19cf5f2..19cf5f2 100644 --- a/support/src/test/java/tests/resources/JarIndex/hyts_11.jar +++ b/support/src/test/resources/tests/resources/JarIndex/hyts_11.jar diff --git a/support/src/test/java/tests/resources/JarIndex/hyts_12.jar b/support/src/test/resources/tests/resources/JarIndex/hyts_12.jar Binary files differindex 236659b..236659b 100644 --- a/support/src/test/java/tests/resources/JarIndex/hyts_12.jar +++ b/support/src/test/resources/tests/resources/JarIndex/hyts_12.jar diff --git a/support/src/test/java/tests/resources/JarIndex/hyts_13.jar b/support/src/test/resources/tests/resources/JarIndex/hyts_13.jar Binary files differindex 9ea6806..9ea6806 100644 --- a/support/src/test/java/tests/resources/JarIndex/hyts_13.jar +++ b/support/src/test/resources/tests/resources/JarIndex/hyts_13.jar diff --git a/support/src/test/java/tests/resources/JarIndex/hyts_14.jar b/support/src/test/resources/tests/resources/JarIndex/hyts_14.jar Binary files differindex d8bc44b..d8bc44b 100644 --- a/support/src/test/java/tests/resources/JarIndex/hyts_14.jar +++ b/support/src/test/resources/tests/resources/JarIndex/hyts_14.jar diff --git a/support/src/test/java/tests/resources/JarIndex/hyts_21.jar b/support/src/test/resources/tests/resources/JarIndex/hyts_21.jar Binary files differindex c25d4bf..c25d4bf 100644 --- a/support/src/test/java/tests/resources/JarIndex/hyts_21.jar +++ b/support/src/test/resources/tests/resources/JarIndex/hyts_21.jar diff --git a/support/src/test/java/tests/resources/JarIndex/hyts_22-new.jar b/support/src/test/resources/tests/resources/JarIndex/hyts_22-new.jar Binary files differindex 542c22a..542c22a 100644 --- a/support/src/test/java/tests/resources/JarIndex/hyts_22-new.jar +++ b/support/src/test/resources/tests/resources/JarIndex/hyts_22-new.jar diff --git a/support/src/test/java/tests/resources/JarIndex/hyts_22.jar b/support/src/test/resources/tests/resources/JarIndex/hyts_22.jar Binary files differindex 84c7af0..84c7af0 100644 --- a/support/src/test/java/tests/resources/JarIndex/hyts_22.jar +++ b/support/src/test/resources/tests/resources/JarIndex/hyts_22.jar diff --git a/support/src/test/java/tests/resources/JarIndex/hyts_23.jar b/support/src/test/resources/tests/resources/JarIndex/hyts_23.jar Binary files differindex a932052..a932052 100644 --- a/support/src/test/java/tests/resources/JarIndex/hyts_23.jar +++ b/support/src/test/resources/tests/resources/JarIndex/hyts_23.jar diff --git a/support/src/test/java/tests/resources/JarIndex/hyts_31.jar b/support/src/test/resources/tests/resources/JarIndex/hyts_31.jar Binary files differindex ab69696..ab69696 100644 --- a/support/src/test/java/tests/resources/JarIndex/hyts_31.jar +++ b/support/src/test/resources/tests/resources/JarIndex/hyts_31.jar diff --git a/support/src/test/java/tests/resources/JarIndex/hyts_32.jar b/support/src/test/resources/tests/resources/JarIndex/hyts_32.jar Binary files differindex 12de6bb..12de6bb 100644 --- a/support/src/test/java/tests/resources/JarIndex/hyts_32.jar +++ b/support/src/test/resources/tests/resources/JarIndex/hyts_32.jar diff --git a/support/src/test/java/tests/resources/JarIndex/hyts_33.jar b/support/src/test/resources/tests/resources/JarIndex/hyts_33.jar Binary files differindex 086e494..086e494 100644 --- a/support/src/test/java/tests/resources/JarIndex/hyts_33.jar +++ b/support/src/test/resources/tests/resources/JarIndex/hyts_33.jar diff --git a/support/src/test/java/tests/resources/JarIndex/hyts_41.jar b/support/src/test/resources/tests/resources/JarIndex/hyts_41.jar Binary files differindex fb71bf8..fb71bf8 100644 --- a/support/src/test/java/tests/resources/JarIndex/hyts_41.jar +++ b/support/src/test/resources/tests/resources/JarIndex/hyts_41.jar diff --git a/support/src/test/java/tests/resources/JarIndex/hyts_42.jar b/support/src/test/resources/tests/resources/JarIndex/hyts_42.jar Binary files differindex 06a35cd..06a35cd 100644 --- a/support/src/test/java/tests/resources/JarIndex/hyts_42.jar +++ b/support/src/test/resources/tests/resources/JarIndex/hyts_42.jar diff --git a/support/src/test/java/tests/resources/Modified_Class.jar b/support/src/test/resources/tests/resources/Modified_Class.jar Binary files differindex d8113c7..d8113c7 100644 --- a/support/src/test/java/tests/resources/Modified_Class.jar +++ b/support/src/test/resources/tests/resources/Modified_Class.jar diff --git a/support/src/test/java/tests/resources/Modified_Manifest_EntryAttributes.jar b/support/src/test/resources/tests/resources/Modified_Manifest_EntryAttributes.jar Binary files differindex bd1dbb1..bd1dbb1 100644 --- a/support/src/test/java/tests/resources/Modified_Manifest_EntryAttributes.jar +++ b/support/src/test/resources/tests/resources/Modified_Manifest_EntryAttributes.jar diff --git a/support/src/test/java/tests/resources/Modified_Manifest_MainAttributes.jar b/support/src/test/resources/tests/resources/Modified_Manifest_MainAttributes.jar Binary files differindex 5bc60e6..5bc60e6 100644 --- a/support/src/test/java/tests/resources/Modified_Manifest_MainAttributes.jar +++ b/support/src/test/resources/tests/resources/Modified_Manifest_MainAttributes.jar diff --git a/support/src/test/java/tests/resources/Modified_SF_EntryAttributes.jar b/support/src/test/resources/tests/resources/Modified_SF_EntryAttributes.jar Binary files differindex 7b76694..7b76694 100644 --- a/support/src/test/java/tests/resources/Modified_SF_EntryAttributes.jar +++ b/support/src/test/resources/tests/resources/Modified_SF_EntryAttributes.jar diff --git a/support/src/test/java/tests/resources/Package/hyts_all_attributes.jar b/support/src/test/resources/tests/resources/Package/hyts_all_attributes.jar Binary files differindex bde3f4d..bde3f4d 100644 --- a/support/src/test/java/tests/resources/Package/hyts_all_attributes.jar +++ b/support/src/test/resources/tests/resources/Package/hyts_all_attributes.jar diff --git a/support/src/test/java/tests/resources/Package/hyts_c.jar b/support/src/test/resources/tests/resources/Package/hyts_c.jar Binary files differindex 111f73c..111f73c 100644 --- a/support/src/test/java/tests/resources/Package/hyts_c.jar +++ b/support/src/test/resources/tests/resources/Package/hyts_c.jar diff --git a/support/src/test/java/tests/resources/Package/hyts_d.jar b/support/src/test/resources/tests/resources/Package/hyts_d.jar Binary files differindex 1218f76..1218f76 100644 --- a/support/src/test/java/tests/resources/Package/hyts_d.jar +++ b/support/src/test/resources/tests/resources/Package/hyts_d.jar diff --git a/support/src/test/java/tests/resources/Package/hyts_d1.jar b/support/src/test/resources/tests/resources/Package/hyts_d1.jar Binary files differindex e4a0b4d..e4a0b4d 100644 --- a/support/src/test/java/tests/resources/Package/hyts_d1.jar +++ b/support/src/test/resources/tests/resources/Package/hyts_d1.jar diff --git a/support/src/test/java/tests/resources/Package/hyts_d2.jar b/support/src/test/resources/tests/resources/Package/hyts_d2.jar Binary files differindex 2665a06..2665a06 100644 --- a/support/src/test/java/tests/resources/Package/hyts_d2.jar +++ b/support/src/test/resources/tests/resources/Package/hyts_d2.jar diff --git a/support/src/test/java/tests/resources/Package/hyts_no_attributes.jar b/support/src/test/resources/tests/resources/Package/hyts_no_attributes.jar Binary files differindex 1879acb..1879acb 100644 --- a/support/src/test/java/tests/resources/Package/hyts_no_attributes.jar +++ b/support/src/test/resources/tests/resources/Package/hyts_no_attributes.jar diff --git a/support/src/test/java/tests/resources/Package/hyts_no_entry.jar b/support/src/test/resources/tests/resources/Package/hyts_no_entry.jar Binary files differindex 66090a5..66090a5 100644 --- a/support/src/test/java/tests/resources/Package/hyts_no_entry.jar +++ b/support/src/test/resources/tests/resources/Package/hyts_no_entry.jar diff --git a/support/src/test/java/tests/resources/Package/hyts_pq.jar b/support/src/test/resources/tests/resources/Package/hyts_pq.jar Binary files differindex 5919f6c..5919f6c 100644 --- a/support/src/test/java/tests/resources/Package/hyts_pq.jar +++ b/support/src/test/resources/tests/resources/Package/hyts_pq.jar diff --git a/support/src/test/java/tests/resources/Package/hyts_some_attributes.jar b/support/src/test/resources/tests/resources/Package/hyts_some_attributes.jar Binary files differindex 95c87a8..95c87a8 100644 --- a/support/src/test/java/tests/resources/Package/hyts_some_attributes.jar +++ b/support/src/test/resources/tests/resources/Package/hyts_some_attributes.jar diff --git a/support/src/test/java/tests/resources/ServiceLoader/hyts_services.jar b/support/src/test/resources/tests/resources/ServiceLoader/hyts_services.jar Binary files differindex 12503a6..12503a6 100644 --- a/support/src/test/java/tests/resources/ServiceLoader/hyts_services.jar +++ b/support/src/test/resources/tests/resources/ServiceLoader/hyts_services.jar diff --git a/support/src/test/java/tests/resources/ServiceLoader/hyts_services2.jar b/support/src/test/resources/tests/resources/ServiceLoader/hyts_services2.jar Binary files differindex a7a754a..a7a754a 100644 --- a/support/src/test/java/tests/resources/ServiceLoader/hyts_services2.jar +++ b/support/src/test/resources/tests/resources/ServiceLoader/hyts_services2.jar diff --git a/support/src/test/java/tests/resources/TestCodeSigners.jar b/support/src/test/resources/tests/resources/TestCodeSigners.jar Binary files differindex a4c42aa..a4c42aa 100644 --- a/support/src/test/java/tests/resources/TestCodeSigners.jar +++ b/support/src/test/resources/tests/resources/TestCodeSigners.jar diff --git a/support/src/test/java/tests/resources/hyts_Bar.ser b/support/src/test/resources/tests/resources/hyts_Bar.ser Binary files differindex 2802528..2802528 100644 --- a/support/src/test/java/tests/resources/hyts_Bar.ser +++ b/support/src/test/resources/tests/resources/hyts_Bar.ser diff --git a/support/src/test/java/tests/resources/hyts_Foo.ser b/support/src/test/resources/tests/resources/hyts_Foo.ser Binary files differindex 9f511ac..9f511ac 100644 --- a/support/src/test/java/tests/resources/hyts_Foo.ser +++ b/support/src/test/resources/tests/resources/hyts_Foo.ser diff --git a/support/src/test/java/tests/resources/hyts_PropertiesTest.properties b/support/src/test/resources/tests/resources/hyts_PropertiesTest.properties index 6c1b950..6c1b950 100644 --- a/support/src/test/java/tests/resources/hyts_PropertiesTest.properties +++ b/support/src/test/resources/tests/resources/hyts_PropertiesTest.properties diff --git a/support/src/test/java/tests/resources/hyts_ZipFile.zip b/support/src/test/resources/tests/resources/hyts_ZipFile.zip Binary files differindex f9cd6ed..f9cd6ed 100644 --- a/support/src/test/java/tests/resources/hyts_ZipFile.zip +++ b/support/src/test/resources/tests/resources/hyts_ZipFile.zip diff --git a/support/src/test/java/tests/resources/hyts_att.jar b/support/src/test/resources/tests/resources/hyts_att.jar Binary files differindex 7f4530c..7f4530c 100644 --- a/support/src/test/java/tests/resources/hyts_att.jar +++ b/support/src/test/resources/tests/resources/hyts_att.jar diff --git a/support/src/test/java/tests/resources/hyts_available.tst b/support/src/test/resources/tests/resources/hyts_available.tst Binary files differindex d67b2f4..d67b2f4 100644 --- a/support/src/test/java/tests/resources/hyts_available.tst +++ b/support/src/test/resources/tests/resources/hyts_available.tst diff --git a/support/src/test/java/tests/resources/hyts_checkInput.txt b/support/src/test/resources/tests/resources/hyts_checkInput.txt index 6d49d33..6d49d33 100644 --- a/support/src/test/java/tests/resources/hyts_checkInput.txt +++ b/support/src/test/resources/tests/resources/hyts_checkInput.txt diff --git a/support/src/test/java/tests/resources/hyts_compDiction.bin b/support/src/test/resources/tests/resources/hyts_compDiction.bin Binary files differindex f0478c8..f0478c8 100644 --- a/support/src/test/java/tests/resources/hyts_compDiction.bin +++ b/support/src/test/resources/tests/resources/hyts_compDiction.bin diff --git a/support/src/test/java/tests/resources/hyts_compressD.bin b/support/src/test/resources/tests/resources/hyts_compressD.bin Binary files differindex 36c89f2..36c89f2 100644 --- a/support/src/test/java/tests/resources/hyts_compressD.bin +++ b/support/src/test/resources/tests/resources/hyts_compressD.bin diff --git a/support/src/test/java/tests/resources/hyts_construO.bin b/support/src/test/resources/tests/resources/hyts_construO.bin Binary files differindex b6bd7b4..b6bd7b4 100644 --- a/support/src/test/java/tests/resources/hyts_construO.bin +++ b/support/src/test/resources/tests/resources/hyts_construO.bin diff --git a/support/src/test/java/tests/resources/hyts_construOD.bin b/support/src/test/resources/tests/resources/hyts_construOD.bin Binary files differindex 035d12e..035d12e 100644 --- a/support/src/test/java/tests/resources/hyts_construOD.bin +++ b/support/src/test/resources/tests/resources/hyts_construOD.bin diff --git a/support/src/test/java/tests/resources/hyts_construODI.bin b/support/src/test/resources/tests/resources/hyts_construODI.bin Binary files differindex 1e5d284..1e5d284 100644 --- a/support/src/test/java/tests/resources/hyts_construODI.bin +++ b/support/src/test/resources/tests/resources/hyts_construODI.bin diff --git a/support/src/test/java/tests/resources/hyts_flushed.jar b/support/src/test/resources/tests/resources/hyts_flushed.jar Binary files differindex 56b717c..56b717c 100644 --- a/support/src/test/java/tests/resources/hyts_flushed.jar +++ b/support/src/test/resources/tests/resources/hyts_flushed.jar diff --git a/support/src/test/java/tests/resources/hyts_htmltest.html b/support/src/test/resources/tests/resources/hyts_htmltest.html index 9464371..9464371 100644 --- a/support/src/test/java/tests/resources/hyts_htmltest.html +++ b/support/src/test/resources/tests/resources/hyts_htmltest.html diff --git a/support/src/test/java/tests/resources/hyts_mainClass.ser b/support/src/test/resources/tests/resources/hyts_mainClass.ser Binary files differindex 0421ba9..0421ba9 100644 --- a/support/src/test/java/tests/resources/hyts_mainClass.ser +++ b/support/src/test/resources/tests/resources/hyts_mainClass.ser diff --git a/support/src/test/java/tests/resources/hyts_manifest1.jar b/support/src/test/resources/tests/resources/hyts_manifest1.jar Binary files differindex fb292b2..fb292b2 100644 --- a/support/src/test/java/tests/resources/hyts_manifest1.jar +++ b/support/src/test/resources/tests/resources/hyts_manifest1.jar diff --git a/support/src/test/java/tests/resources/hyts_missingclass.ser b/support/src/test/resources/tests/resources/hyts_missingclass.ser Binary files differindex 0a71403..0a71403 100644 --- a/support/src/test/java/tests/resources/hyts_missingclass.ser +++ b/support/src/test/resources/tests/resources/hyts_missingclass.ser diff --git a/support/src/test/java/tests/resources/hyts_patch.jar b/support/src/test/resources/tests/resources/hyts_patch.jar Binary files differindex f3c51d0..f3c51d0 100644 --- a/support/src/test/java/tests/resources/hyts_patch.jar +++ b/support/src/test/resources/tests/resources/hyts_patch.jar diff --git a/support/src/test/java/tests/resources/hyts_patch2.jar b/support/src/test/resources/tests/resources/hyts_patch2.jar Binary files differindex c26f9e7..c26f9e7 100644 --- a/support/src/test/java/tests/resources/hyts_patch2.jar +++ b/support/src/test/resources/tests/resources/hyts_patch2.jar diff --git a/support/src/test/java/tests/resources/hyts_resource.properties b/support/src/test/resources/tests/resources/hyts_resource.properties index baf5762..baf5762 100644 --- a/support/src/test/java/tests/resources/hyts_resource.properties +++ b/support/src/test/resources/tests/resources/hyts_resource.properties diff --git a/support/src/test/java/tests/resources/hyts_security.jar b/support/src/test/resources/tests/resources/hyts_security.jar Binary files differindex abef675..abef675 100644 --- a/support/src/test/java/tests/resources/hyts_security.jar +++ b/support/src/test/resources/tests/resources/hyts_security.jar diff --git a/support/src/test/java/tests/resources/hyts_signed.jar b/support/src/test/resources/tests/resources/hyts_signed.jar Binary files differindex 8ea8489..8ea8489 100644 --- a/support/src/test/java/tests/resources/hyts_signed.jar +++ b/support/src/test/resources/tests/resources/hyts_signed.jar diff --git a/support/src/test/java/tests/resources/manifest/hyts_MANIFEST.MF b/support/src/test/resources/tests/resources/manifest/hyts_MANIFEST.MF index 2402bca..2402bca 100644 --- a/support/src/test/java/tests/resources/manifest/hyts_MANIFEST.MF +++ b/support/src/test/resources/tests/resources/manifest/hyts_MANIFEST.MF diff --git a/support/src/test/java/tests/resources/morestuff/hyts_patch.jar b/support/src/test/resources/tests/resources/morestuff/hyts_patch.jar Binary files differindex f3c51d0..f3c51d0 100644 --- a/support/src/test/java/tests/resources/morestuff/hyts_patch.jar +++ b/support/src/test/resources/tests/resources/morestuff/hyts_patch.jar diff --git a/support/src/test/java/tests/resources/morestuff/hyts_patch2.jar b/support/src/test/resources/tests/resources/morestuff/hyts_patch2.jar Binary files differindex c26f9e7..c26f9e7 100644 --- a/support/src/test/java/tests/resources/morestuff/hyts_patch2.jar +++ b/support/src/test/resources/tests/resources/morestuff/hyts_patch2.jar diff --git a/support/src/test/java/tests/resources/subfolder/tests/norootresources/hyts_resource_en.properties b/support/src/test/resources/tests/resources/subfolder/tests/norootresources/hyts_resource_en.properties index 40b8caf..40b8caf 100644 --- a/support/src/test/java/tests/resources/subfolder/tests/norootresources/hyts_resource_en.properties +++ b/support/src/test/resources/tests/resources/subfolder/tests/norootresources/hyts_resource_en.properties diff --git a/support/src/test/java/tests/resources/subfolder/tests/norootresources/hyts_resource_en_US.java b/support/src/test/resources/tests/resources/subfolder/tests/norootresources/hyts_resource_en_US.java index 1913879..1913879 100644 --- a/support/src/test/java/tests/resources/subfolder/tests/norootresources/hyts_resource_en_US.java +++ b/support/src/test/resources/tests/resources/subfolder/tests/norootresources/hyts_resource_en_US.java diff --git a/support/src/test/java/tests/resources/subfolder/tests/norootresources/hyts_resource_en_US.properties b/support/src/test/resources/tests/resources/subfolder/tests/norootresources/hyts_resource_en_US.properties index 06c99f6..06c99f6 100644 --- a/support/src/test/java/tests/resources/subfolder/tests/norootresources/hyts_resource_en_US.properties +++ b/support/src/test/resources/tests/resources/subfolder/tests/norootresources/hyts_resource_en_US.properties diff --git a/support/src/test/java/tests/resources/subfolder/tests/norootresources/hyts_resource_en_US_VAR.java b/support/src/test/resources/tests/resources/subfolder/tests/norootresources/hyts_resource_en_US_VAR.java index 1c75ec8..1c75ec8 100644 --- a/support/src/test/java/tests/resources/subfolder/tests/norootresources/hyts_resource_en_US_VAR.java +++ b/support/src/test/resources/tests/resources/subfolder/tests/norootresources/hyts_resource_en_US_VAR.java diff --git a/support/src/test/java/tests/resources/subfolder/tests/norootresources/hyts_resource_fr.java b/support/src/test/resources/tests/resources/subfolder/tests/norootresources/hyts_resource_fr.java index d049d7b..d049d7b 100644 --- a/support/src/test/java/tests/resources/subfolder/tests/norootresources/hyts_resource_fr.java +++ b/support/src/test/resources/tests/resources/subfolder/tests/norootresources/hyts_resource_fr.java diff --git a/support/src/test/java/tests/resources/subfolder/tests/norootresources/hyts_resource_fr.properties b/support/src/test/resources/tests/resources/subfolder/tests/norootresources/hyts_resource_fr.properties index 447f06c..447f06c 100644 --- a/support/src/test/java/tests/resources/subfolder/tests/norootresources/hyts_resource_fr.properties +++ b/support/src/test/resources/tests/resources/subfolder/tests/norootresources/hyts_resource_fr.properties diff --git a/support/src/test/java/tests/resources/subfolder/tests/norootresources/hyts_resource_fr_FR.java b/support/src/test/resources/tests/resources/subfolder/tests/norootresources/hyts_resource_fr_FR.java index ae11beb..ae11beb 100644 --- a/support/src/test/java/tests/resources/subfolder/tests/norootresources/hyts_resource_fr_FR.java +++ b/support/src/test/resources/tests/resources/subfolder/tests/norootresources/hyts_resource_fr_FR.java diff --git a/support/src/test/java/tests/resources/subfolder/tests/norootresources/hyts_resource_fr_FR.properties b/support/src/test/resources/tests/resources/subfolder/tests/norootresources/hyts_resource_fr_FR.properties index 0ac2c73..0ac2c73 100644 --- a/support/src/test/java/tests/resources/subfolder/tests/norootresources/hyts_resource_fr_FR.properties +++ b/support/src/test/resources/tests/resources/subfolder/tests/norootresources/hyts_resource_fr_FR.properties diff --git a/support/src/test/java/tests/resources/subfolder/tests/norootresources/hyts_resource_fr_FR_VAR.java b/support/src/test/resources/tests/resources/subfolder/tests/norootresources/hyts_resource_fr_FR_VAR.java index 958c5ff..958c5ff 100644 --- a/support/src/test/java/tests/resources/subfolder/tests/norootresources/hyts_resource_fr_FR_VAR.java +++ b/support/src/test/resources/tests/resources/subfolder/tests/norootresources/hyts_resource_fr_FR_VAR.java diff --git a/support/src/test/java/tests/resources/subfolder/tests/norootresources/hyts_resource_fr_FR_VAR.properties b/support/src/test/resources/tests/resources/subfolder/tests/norootresources/hyts_resource_fr_FR_VAR.properties index dd76478..dd76478 100644 --- a/support/src/test/java/tests/resources/subfolder/tests/norootresources/hyts_resource_fr_FR_VAR.properties +++ b/support/src/test/resources/tests/resources/subfolder/tests/norootresources/hyts_resource_fr_FR_VAR.properties diff --git a/support/src/test/java/tests/resources/subfolder/tests/resources/hyts_resource.java b/support/src/test/resources/tests/resources/subfolder/tests/resources/hyts_resource.java index afa3e6e..afa3e6e 100644 --- a/support/src/test/java/tests/resources/subfolder/tests/resources/hyts_resource.java +++ b/support/src/test/resources/tests/resources/subfolder/tests/resources/hyts_resource.java diff --git a/support/src/test/java/tests/resources/subfolder/tests/resources/hyts_resource.properties b/support/src/test/resources/tests/resources/subfolder/tests/resources/hyts_resource.properties index eae054e..eae054e 100644 --- a/support/src/test/java/tests/resources/subfolder/tests/resources/hyts_resource.properties +++ b/support/src/test/resources/tests/resources/subfolder/tests/resources/hyts_resource.properties diff --git a/support/src/test/java/tests/resources/subfolder/tests/resources/hyts_resource_en.properties b/support/src/test/resources/tests/resources/subfolder/tests/resources/hyts_resource_en.properties index 40b8caf..40b8caf 100644 --- a/support/src/test/java/tests/resources/subfolder/tests/resources/hyts_resource_en.properties +++ b/support/src/test/resources/tests/resources/subfolder/tests/resources/hyts_resource_en.properties diff --git a/support/src/test/java/tests/resources/subfolder/tests/resources/hyts_resource_en_US.java b/support/src/test/resources/tests/resources/subfolder/tests/resources/hyts_resource_en_US.java index 16c6e08..16c6e08 100644 --- a/support/src/test/java/tests/resources/subfolder/tests/resources/hyts_resource_en_US.java +++ b/support/src/test/resources/tests/resources/subfolder/tests/resources/hyts_resource_en_US.java diff --git a/support/src/test/java/tests/resources/subfolder/tests/resources/hyts_resource_en_US.properties b/support/src/test/resources/tests/resources/subfolder/tests/resources/hyts_resource_en_US.properties index 06c99f6..06c99f6 100644 --- a/support/src/test/java/tests/resources/subfolder/tests/resources/hyts_resource_en_US.properties +++ b/support/src/test/resources/tests/resources/subfolder/tests/resources/hyts_resource_en_US.properties diff --git a/support/src/test/java/tests/resources/subfolder/tests/resources/hyts_resource_en_US_VAR.java b/support/src/test/resources/tests/resources/subfolder/tests/resources/hyts_resource_en_US_VAR.java index aba4675..aba4675 100644 --- a/support/src/test/java/tests/resources/subfolder/tests/resources/hyts_resource_en_US_VAR.java +++ b/support/src/test/resources/tests/resources/subfolder/tests/resources/hyts_resource_en_US_VAR.java diff --git a/support/src/test/java/tests/resources/subfolder/tests/resources/hyts_resource_fr.java b/support/src/test/resources/tests/resources/subfolder/tests/resources/hyts_resource_fr.java index adac070..adac070 100644 --- a/support/src/test/java/tests/resources/subfolder/tests/resources/hyts_resource_fr.java +++ b/support/src/test/resources/tests/resources/subfolder/tests/resources/hyts_resource_fr.java diff --git a/support/src/test/java/tests/resources/subfolder/tests/resources/hyts_resource_fr.properties b/support/src/test/resources/tests/resources/subfolder/tests/resources/hyts_resource_fr.properties index 447f06c..447f06c 100644 --- a/support/src/test/java/tests/resources/subfolder/tests/resources/hyts_resource_fr.properties +++ b/support/src/test/resources/tests/resources/subfolder/tests/resources/hyts_resource_fr.properties diff --git a/support/src/test/java/tests/resources/subfolder/tests/resources/hyts_resource_fr_FR.properties b/support/src/test/resources/tests/resources/subfolder/tests/resources/hyts_resource_fr_FR.properties index 0ac2c73..0ac2c73 100644 --- a/support/src/test/java/tests/resources/subfolder/tests/resources/hyts_resource_fr_FR.properties +++ b/support/src/test/resources/tests/resources/subfolder/tests/resources/hyts_resource_fr_FR.properties diff --git a/support/src/test/java/tests/resources/subfolder/tests/resources/hyts_resource_fr_FR_VAR.java b/support/src/test/resources/tests/resources/subfolder/tests/resources/hyts_resource_fr_FR_VAR.java index 5d48aa3..5d48aa3 100644 --- a/support/src/test/java/tests/resources/subfolder/tests/resources/hyts_resource_fr_FR_VAR.java +++ b/support/src/test/resources/tests/resources/subfolder/tests/resources/hyts_resource_fr_FR_VAR.java diff --git a/support/src/test/java/tests/resources/subfolder/tests/resources/hyts_resource_fr_FR_VAR.properties b/support/src/test/resources/tests/resources/subfolder/tests/resources/hyts_resource_fr_FR_VAR.properties index dd76478..dd76478 100644 --- a/support/src/test/java/tests/resources/subfolder/tests/resources/hyts_resource_fr_FR_VAR.properties +++ b/support/src/test/resources/tests/resources/subfolder/tests/resources/hyts_resource_fr_FR_VAR.properties |