28package com.jogamp.common.util;
31import java.io.IOException;
32import java.net.URISyntaxException;
33import java.util.HashSet;
36import org.junit.FixMethodOrder;
38import org.junit.runners.MethodSorters;
40import com.jogamp.common.GlueGenVersion;
41import com.jogamp.junit.util.SingletonJunitCase;
42import com.jogamp.junit.util.VersionSemanticsUtil;
43import com.jogamp.junit.util.VersionSemanticsUtil.CompatibilityType;
63@FixMethodOrder(MethodSorters.NAME_ASCENDING)
65 static final String jarFile =
"gluegen-rt.jar";
70 static final String excludesDefault;
72 excludesDefault =
"jogamp";
91 final String v1,
final String v2,
final String excludes)
92 throws IllegalArgumentException, IOException, URISyntaxException {
94 final File previousJar =
new File(
"lib/v"+v1+
"/"+jarFile);
97 final File currentJar =
new File(
"lib/v"+v2+
"/"+jarFile);
100 previousJar, preVersionNumber,
101 currentJar, curVersionNumber, excludes,
true);
111 final File previousJar =
new File(
"lib/v"+preVersionNumber.
getVersionString()+
"/"+jarFile);
116 previousJar, preVersionNumber,
117 curVersion.getClass(), currentCL, curVersionNumber, excludesDefault,
true);
120 public static void main(
final String args[])
throws IOException {
122 org.junit.runner.JUnitCore.
main(tstname);
static GlueGenVersion getInstance()
final String getImplementationVersion()
Returns the IMPLEMENTATION_VERSION.
Compares a defined previous version with the current version.
void testVersionV221V230()
void testVersionV220V221()
static void main(final String args[])
void testVersionV230V232()
void testVersionV232V24x()
VersionNumber specialization, holding the versionString this instance is derived from.
final String getVersionString()
Returns the version string this version number is derived from.
static void testVersion2(final CompatibilityType expectedCompatibilityType, final File previousJar, final VersionNumberString preVersionNumber, final Class<?> currentJarClazz, final ClassLoader currentJarCL, final VersionNumberString curVersionNumber, final String excludesArgOption, final boolean summaryOnly)
Library compatibility type.
NON_BACKWARD_COMPATIBLE
Contains non binary compatible changes.
BACKWARD_COMPATIBLE_SOURCE
Only added and deprecated changes, i.e.
BACKWARD_COMPATIBLE_BINARY
Contains binary compatible changes, but may not be fully source compatible and may contain changed va...