summaryrefslogtreecommitdiffstats
path: root/src/junit/com/jogamp/common/util/TestTempJarCache.java
diff options
context:
space:
mode:
authorMark Raynsford <[email protected]>2014-06-26 11:18:01 +0000
committerMark Raynsford <[email protected]>2014-06-26 11:18:01 +0000
commit3901130f7fa4b3484a202f5db3a541f1edf9d6e8 (patch)
tree79c3f9d56de7a005ac4a08abd013c8f4c454879a /src/junit/com/jogamp/common/util/TestTempJarCache.java
parent41ce139251fb63c9b969228d11246281de547793 (diff)
Remove unused addNativeJarLibs() method; the only consumer was a unit test
of the method.
Diffstat (limited to 'src/junit/com/jogamp/common/util/TestTempJarCache.java')
-rw-r--r--src/junit/com/jogamp/common/util/TestTempJarCache.java15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/junit/com/jogamp/common/util/TestTempJarCache.java b/src/junit/com/jogamp/common/util/TestTempJarCache.java
index a4518f0..cbc9735 100644
--- a/src/junit/com/jogamp/common/util/TestTempJarCache.java
+++ b/src/junit/com/jogamp/common/util/TestTempJarCache.java
@@ -215,21 +215,6 @@ public class TestTempJarCache extends JunitTracer {
}
@Test
- public void testTempJarCache03AddNativeJarLibs() throws IOException {
- if(AndroidVersion.isAvailable) { System.err.println("n/a on Android"); return; }
- final String libBaseName = "gluegen-rt";
-
- JNILibLoaderBase.addNativeJarLibs(TempJarCache.class, libBaseName);
- Assert.assertTrue(JNILibLoaderBase.isLoaded(libBaseName));
-
- String libFullPath = TempJarCache.findLibrary(libBaseName);
- Assert.assertNotNull(libFullPath);
- Assert.assertEquals(libBaseName, NativeLibrary.isValidNativeLibraryName(libFullPath, true));
- File f = new File(libFullPath);
- Assert.assertTrue(f.exists());
- }
-
- @Test
public void testTempJarCache04aSameClassLoader() throws IOException {
assertTempFileCachesIndividualInstances(true, TempJarCache.getTempFileCache(), TempJarCache.getTempFileCache());