summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2015-04-03 23:29:56 +0200
committerSven Gothel <[email protected]>2015-04-03 23:29:56 +0200
commitde68aca2f93640999b4ac916cd500f9d531e2c3b (patch)
tree7f410e4cef5bbe91fc462a72e9bc0924afd7d83c /src
parent59d1511f97d574fc091afa43ea88ef50726d4b91 (diff)
Bump semver to 0.9.33 w/ our patch for CompatibilityType.BACKWARD_COMPATIBLE_BINARY
Diffstat (limited to 'src')
-rw-r--r--src/junit/com/jogamp/common/util/TestVersionSemantics.java6
-rw-r--r--src/junit/com/jogamp/junit/util/VersionSemanticsUtil.java1
2 files changed, 4 insertions, 3 deletions
diff --git a/src/junit/com/jogamp/common/util/TestVersionSemantics.java b/src/junit/com/jogamp/common/util/TestVersionSemantics.java
index 4fe4bcd..f1e9c6e 100644
--- a/src/junit/com/jogamp/common/util/TestVersionSemantics.java
+++ b/src/junit/com/jogamp/common/util/TestVersionSemantics.java
@@ -100,14 +100,14 @@ public class TestVersionSemantics extends SingletonJunitCase {
VersionSemanticsUtil.testVersion(diffCriteria, expectedCompatibilityType,
previousJar, preVersionNumber,
- currentJar, curVersionNumber,
- excludes);
+ currentJar, curVersionNumber, excludes);
}
@Test
public void testVersionV230V23x() 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_USER;
+ final Delta.CompatibilityType expectedCompatibilityType = Delta.CompatibilityType.BACKWARD_COMPATIBLE_BINARY;
final VersionNumberString preVersionNumber = new VersionNumberString("2.3.0");
final File previousJar = new File("lib/v"+preVersionNumber.getVersionString()+"/"+jarFile);
diff --git a/src/junit/com/jogamp/junit/util/VersionSemanticsUtil.java b/src/junit/com/jogamp/junit/util/VersionSemanticsUtil.java
index 32ea816..de850d0 100644
--- a/src/junit/com/jogamp/junit/util/VersionSemanticsUtil.java
+++ b/src/junit/com/jogamp/junit/util/VersionSemanticsUtil.java
@@ -89,6 +89,7 @@ public class VersionSemanticsUtil {
System.err.println(" criteria: "+diffCriteria);
System.err.println(" Previous version: "+preVersionNumber+" - "+previousJar.toString());
System.err.println(" Current version: "+curVersionNumber+" - "+currentJar.toString());
+ System.err.println(" Field values changed: "+delta.fieldCompatChanged());
System.err.println(" Compat. expected: "+expectedCompatibilityType);
System.err.println(" Compat. detected: "+detectedCompatibilityType);
System.err.println(" Compat. result: detected "+compS+" expected -> "+(compOK ? "OK" : "ERROR"));