Jogamp
Version Semantics Test: Bump for 2.3.2 -> 2.4.x
authorSven Gothel <sgothel@jausoft.com>
Mon, 12 Oct 2015 06:09:02 +0000 (08:09 +0200)
committerSven Gothel <sgothel@jausoft.com>
Mon, 12 Oct 2015 06:09:02 +0000 (08:09 +0200)
make/lib/v2.3.2/jogl-all.jar [new file with mode: 0644]
src/test/com/jogamp/opengl/test/junit/jogl/acore/TestVersionSemanticsNOUI.java

diff --git a/make/lib/v2.3.2/jogl-all.jar b/make/lib/v2.3.2/jogl-all.jar
new file mode 100644 (file)
index 0000000..f73174f
Binary files /dev/null and b/make/lib/v2.3.2/jogl-all.jar differ
index bbbd92e..403efdf 100644 (file)
@@ -110,7 +110,7 @@ public class TestVersionSemanticsNOUI extends SingletonJunitCase {
                                          currentJar, curVersionNumber, excludes);
     }
 
-    @Test
+    //@Test
     public void testVersionV230V23x_00std() throws IllegalArgumentException, IOException, URISyntaxException {
         final Delta.CompatibilityType expectedCompatibilityType = Delta.CompatibilityType.NON_BACKWARD_COMPATIBLE;
         // final Delta.CompatibilityType expectedCompatibilityType = Delta.CompatibilityType.BACKWARD_COMPATIBLE_USER;
@@ -125,7 +125,7 @@ public class TestVersionSemanticsNOUI extends SingletonJunitCase {
                                          curVersion.getClass(), currentCL, curVersionNumber,
                                          excludesDefault);
     }
-    @Test
+    //@Test
     public void testVersionV230V23x_01patch() throws IllegalArgumentException, IOException, URISyntaxException {
         // final Delta.CompatibilityType expectedCompatibilityType = Delta.CompatibilityType.NON_BACKWARD_COMPATIBLE;
         // final Delta.CompatibilityType expectedCompatibilityType = Delta.CompatibilityType.BACKWARD_COMPATIBLE_USER;
@@ -141,6 +141,44 @@ public class TestVersionSemanticsNOUI extends SingletonJunitCase {
                                          curVersion.getClass(), currentCL, curVersionNumber,
                                          excludesStereoPackageAndAppletUtils);
     }
+    //@Test
+    public void testVersionV231V23x_01patch() throws IllegalArgumentException, IOException, URISyntaxException {
+        // final Delta.CompatibilityType expectedCompatibilityType = Delta.CompatibilityType.NON_BACKWARD_COMPATIBLE;
+        // final Delta.CompatibilityType expectedCompatibilityType = Delta.CompatibilityType.BACKWARD_COMPATIBLE_USER;
+        final Delta.CompatibilityType expectedCompatibilityType = Delta.CompatibilityType.BACKWARD_COMPATIBLE_BINARY;
+
+        final VersionNumberString preVersionNumber = new VersionNumberString("2.3.1");
+        final File previousJar = new File("lib/v"+preVersionNumber.getVersionString()+"/"+jarFile);
+
+        final ClassLoader currentCL = TestVersionSemanticsNOUI.class.getClassLoader();
+
+        VersionSemanticsUtil.testVersion(diffCriteria, expectedCompatibilityType,
+                                         previousJar, preVersionNumber,
+                                         curVersion.getClass(), currentCL, curVersionNumber,
+                                         excludesStereoPackageAndAppletUtils);
+    }
+
+    @Test
+    public void testVersionV230V232() throws IllegalArgumentException, IOException, URISyntaxException {
+        testVersions(diffCriteria, Delta.CompatibilityType.BACKWARD_COMPATIBLE_BINARY, "2.3.0", "2.3.2", excludesStereoPackageAndAppletUtils);
+    }
+
+    @Test
+    public void testVersionV232V24x0() throws IllegalArgumentException, IOException, URISyntaxException {
+        final Delta.CompatibilityType expectedCompatibilityType = Delta.CompatibilityType.NON_BACKWARD_COMPATIBLE;
+        // final Delta.CompatibilityType expectedCompatibilityType = Delta.CompatibilityType.BACKWARD_COMPATIBLE_USER;
+        // final Delta.CompatibilityType expectedCompatibilityType = Delta.CompatibilityType.BACKWARD_COMPATIBLE_BINARY;
+
+        final VersionNumberString preVersionNumber = new VersionNumberString("2.3.2");
+        final File previousJar = new File("lib/v"+preVersionNumber.getVersionString()+"/"+jarFile);
+
+        final ClassLoader currentCL = TestVersionSemanticsNOUI.class.getClassLoader();
+
+        VersionSemanticsUtil.testVersion(diffCriteria, expectedCompatibilityType,
+                                         previousJar, preVersionNumber,
+                                         curVersion.getClass(), currentCL, curVersionNumber,
+                                         excludesDefault);
+    }
 
     public static void main(final String args[]) throws IOException {
         final String tstname = TestVersionSemanticsNOUI.class.getName();
http://JogAmp.org git info: FAQ, tutorial and man pages.