diff options
author | Andrew Azores <[email protected]> | 2013-11-07 09:59:22 -0500 |
---|---|---|
committer | Andrew Azores <[email protected]> | 2013-11-07 09:59:22 -0500 |
commit | cc383fcf7288977d01608d9da4d9d84d167e1aad (patch) | |
tree | f5b899aa9cd705f7d1aba497874c8c787018903d /tests/reproducers/simple/VersionedJar__V1 | |
parent | 8f59c1b0bf5fed4fce80ebcc0bc588e62dde706d (diff) |
Reproducer test cleanup to remove deprecation warnings and type checking warnings.
ServerAccess.ProcessResult removed and reference replaced with ProcessResult.
junit.framework.assert replaced in favour of org.junit.Assert.
Added parameterized typing to instantiation of several fields and local variables
where the declaration was already parameterized.
Diffstat (limited to 'tests/reproducers/simple/VersionedJar__V1')
-rw-r--r-- | tests/reproducers/simple/VersionedJar__V1/testcases/VersionedJarTest.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/reproducers/simple/VersionedJar__V1/testcases/VersionedJarTest.java b/tests/reproducers/simple/VersionedJar__V1/testcases/VersionedJarTest.java index e035c97..27b809e 100644 --- a/tests/reproducers/simple/VersionedJar__V1/testcases/VersionedJarTest.java +++ b/tests/reproducers/simple/VersionedJar__V1/testcases/VersionedJarTest.java @@ -34,12 +34,10 @@ obligated to do so. If you do not wish to do so, delete this exception statement from your version. */ - -import junit.framework.Assert; - import net.sourceforge.jnlp.ProcessResult; import net.sourceforge.jnlp.ServerAccess; +import org.junit.Assert; import org.junit.Test; public class VersionedJarTest { @@ -61,4 +59,4 @@ public class VersionedJarTest { Assert.assertTrue("Stdout should contain '" + VERSIONED + "', but did not.", pr.stdout.contains(VERSIONED)); Assert.assertFalse("Stderr should NOT contain '" +FAILURE + "', but did.", pr.stderr.contains(FAILURE)); } -}
\ No newline at end of file +} |