Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
Classes | Public Member Functions | Static Public Member Functions | List of all members
jau.test.net.TestUri99LaunchOnReservedCharPathBug908 Class Reference

Bug 908: Automated test, launching GlueGen jar file from an odd pathname. More...

Inheritance diagram for jau.test.net.TestUri99LaunchOnReservedCharPathBug908:
Collaboration diagram for jau.test.net.TestUri99LaunchOnReservedCharPathBug908:

Classes

class  TestClassLoader
 

Public Member Functions

void test00TempJarCacheSimplePath () throws IOException, IllegalArgumentException, URISyntaxException
 
void test01TempJarCacheOddPath () throws IOException, IllegalArgumentException, URISyntaxException
 
- Public Member Functions inherited from jau.test.junit.util.JunitTracer
final String getFullTestName (final String separator)
 
final String getSimpleTestName (final String separator)
 
final String getTestMethodName ()
 
final void setUpBase ()
 
final void tearDownBase ()
 

Static Public Member Functions

static void main (final String args[]) throws IOException
 
- Static Public Member Functions inherited from jau.test.junit.util.JunitTracer
static final boolean isTestSupported ()
 
static final void oneTimeSetUpBase ()
 
static final void oneTimeTearDownBase ()
 
static final void setTestSupported (final boolean v)
 
static void waitForKey (final String preMessage)
 

Additional Inherited Members

- Public Attributes inherited from jau.test.junit.util.JunitTracer
final TestName _unitTestName = new TestName()
 

Detailed Description

Bug 908: Automated test, launching GlueGen jar file from an odd pathname.

The currently used jar folder is copied into [1]

   [1] build/test/build/TestNetIOURIReservedCharsBug908/test01TempJarCacheOddPath/A$-B\^-C~-D#-E\]-F\[-öä
   [2] build/test/build/TestNetIOURIReservedCharsBug908/test01TempJarCacheOddPath/A$-B\^-C~-D#-E\]-F\[-öä/gluegen-rt.jar

A ClassLoader w/ the URL [2] is used to issue Platform.initSingleton(), i.e. issues a whole initialization sequence w/ native jar loading in the new ClassPath.

The manual test below on the created odd folder [1] has also succeeded:

java \
    -Djogamp.debug.IOUtil -Djogamp.debug.JNILibLoader -Djogamp.debug.TempFileCache \
    -Djogamp.debug.JarUtil -Djogamp.debug.TempJarCache \
    -cp ../build-x86_64/test/build/TestNetIOURIReservedCharsBug908/test01TempJarCacheOddPath/A$-B\^-C~-D#-E\]-F\[-öä/gluegen-rt.jar \
    com.jogamp.common.GlueGenVersion

Definition at line 71 of file TestUri99LaunchOnReservedCharPathBug908.java.

Member Function Documentation

◆ test00TempJarCacheSimplePath()

void jau.test.net.TestUri99LaunchOnReservedCharPathBug908.test00TempJarCacheSimplePath ( ) throws IOException, IllegalArgumentException, URISyntaxException

Definition at line 83 of file TestUri99LaunchOnReservedCharPathBug908.java.

◆ test01TempJarCacheOddPath()

void jau.test.net.TestUri99LaunchOnReservedCharPathBug908.test01TempJarCacheOddPath ( ) throws IOException, IllegalArgumentException, URISyntaxException

Definition at line 88 of file TestUri99LaunchOnReservedCharPathBug908.java.

◆ main()

static void jau.test.net.TestUri99LaunchOnReservedCharPathBug908.main ( final String  args[]) throws IOException
static

Definition at line 163 of file TestUri99LaunchOnReservedCharPathBug908.java.

Here is the caller graph for this function:

The documentation for this class was generated from the following file: