| @@ -90,6 +90,7 @@ public class LocatorTest { | |||||
| /** | /** | ||||
| * this isn't really a valid URI, except maybe in IE | * this isn't really a valid URI, except maybe in IE | ||||
| */ | */ | ||||
| @Test | |||||
| public void testNetworkURI() { | public void testNetworkURI() { | ||||
| resolveTo("file:\\\\PC03\\jclasses\\lib\\ant-1.7.0.jar", "" | resolveTo("file:\\\\PC03\\jclasses\\lib\\ant-1.7.0.jar", "" | ||||
| + "\\\\PC03\\jclasses\\lib\\ant-1.7.0.jar", | + "\\\\PC03\\jclasses\\lib\\ant-1.7.0.jar", | ||||
| @@ -79,6 +79,7 @@ public class AvailableTest { | |||||
| /** | /** | ||||
| * File does exist -> property 'test' == 'true' | * File does exist -> property 'test' == 'true' | ||||
| */ | */ | ||||
| @Test | |||||
| public void test5() { | public void test5() { | ||||
| buildRule.executeTarget("test5"); | buildRule.executeTarget("test5"); | ||||
| assertEquals("true", buildRule.getProject().getProperty("test")); | assertEquals("true", buildRule.getProject().getProperty("test")); | ||||
| @@ -748,6 +748,7 @@ public class FTPTest { | |||||
| } | } | ||||
| } | } | ||||
| @Test | |||||
| public void testGetWithSelectorRetryable1() { | public void testGetWithSelectorRetryable1() { | ||||
| buildRule.getProject().addTaskDefinition("ftp", oneFailureFTP.class); | buildRule.getProject().addTaskDefinition("ftp", oneFailureFTP.class); | ||||
| buildRule.getProject().executeTarget("ftp-get-with-selector-retryable"); | buildRule.getProject().executeTarget("ftp-get-with-selector-retryable"); | ||||
| @@ -44,6 +44,7 @@ public class LinkedHashtableTest { | |||||
| private static final Object V2 = new Object(); | private static final Object V2 = new Object(); | ||||
| private Hashtable<Object, Object> h = new LinkedHashtable<>(); | private Hashtable<Object, Object> h = new LinkedHashtable<>(); | ||||
| @Test | |||||
| public void testClear() { | public void testClear() { | ||||
| h.put(K1, V1); | h.put(K1, V1); | ||||
| h.clear(); | h.clear(); | ||||
| @@ -51,6 +52,7 @@ public class LinkedHashtableTest { | |||||
| } | } | ||||
| @SuppressWarnings("unchecked") | @SuppressWarnings("unchecked") | ||||
| @Test | |||||
| public void testClone() { | public void testClone() { | ||||
| h.put(K1, V1); | h.put(K1, V1); | ||||
| Hashtable<Object, Object> h2 = (Hashtable<Object, Object>) h.clone(); | Hashtable<Object, Object> h2 = (Hashtable<Object, Object>) h.clone(); | ||||