net.sf.taverna.raven
Class LoaderTest

java.lang.Object
  extended by net.sf.taverna.raven.LoaderTest

public class LoaderTest
extends java.lang.Object


Field Summary
static java.lang.String MAVEN_MYGRID_PROXY_REPOSITORY
           
static java.lang.String MAVEN_MYGRID_REPOSITORY
           
static java.lang.String MAVEN_MYGRID_SNAPSHOT_REPOSITORY
           
static java.lang.String MAVEN_UNIONTRANSIT_REPOSITORY
           
static java.lang.String repositoryLocation
           
 
Constructor Summary
LoaderTest()
           
 
Method Summary
 void createTempDirectory()
           
 void deleteTempDirectory()
           
 void shouldTestDynamic()
          Test dynamic (reflection based) access to a remote raven repository without using any reference to the raven API
 void testDynamicNonGui()
           
 void testNonDynamic()
          Test whether we can launch the workbench from a local raven jar
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAVEN_MYGRID_REPOSITORY

public static final java.lang.String MAVEN_MYGRID_REPOSITORY
See Also:
Constant Field Values

MAVEN_MYGRID_SNAPSHOT_REPOSITORY

public static final java.lang.String MAVEN_MYGRID_SNAPSHOT_REPOSITORY
See Also:
Constant Field Values

MAVEN_MYGRID_PROXY_REPOSITORY

public static final java.lang.String MAVEN_MYGRID_PROXY_REPOSITORY
See Also:
Constant Field Values

MAVEN_UNIONTRANSIT_REPOSITORY

public static final java.lang.String MAVEN_UNIONTRANSIT_REPOSITORY
See Also:
Constant Field Values

repositoryLocation

public static final java.lang.String repositoryLocation
See Also:
Constant Field Values
Constructor Detail

LoaderTest

public LoaderTest()
Method Detail

createTempDirectory

public void createTempDirectory()

deleteTempDirectory

public void deleteTempDirectory()
                         throws java.io.IOException
Throws:
java.io.IOException

shouldTestDynamic

public void shouldTestDynamic()
                       throws java.net.MalformedURLException,
                              java.lang.ClassNotFoundException,
                              java.lang.SecurityException,
                              java.lang.NoSuchMethodException,
                              java.lang.IllegalArgumentException,
                              java.lang.IllegalAccessException,
                              java.lang.reflect.InvocationTargetException,
                              java.lang.InterruptedException
Test dynamic (reflection based) access to a remote raven repository without using any reference to the raven API

Throws:
java.net.MalformedURLException
java.lang.ClassNotFoundException
java.lang.SecurityException
java.lang.NoSuchMethodException
java.lang.IllegalArgumentException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.InterruptedException

testDynamicNonGui

public void testDynamicNonGui()
                       throws java.lang.ClassNotFoundException,
                              java.lang.NoSuchMethodException,
                              java.net.MalformedURLException,
                              java.lang.IllegalAccessException,
                              java.lang.reflect.InvocationTargetException,
                              ArtifactNotFoundException,
                              ArtifactStateException
Throws:
java.lang.ClassNotFoundException
java.lang.NoSuchMethodException
java.net.MalformedURLException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
ArtifactNotFoundException
ArtifactStateException

testNonDynamic

public void testNonDynamic()
                    throws java.net.MalformedURLException,
                           ArtifactNotFoundException,
                           ArtifactStateException,
                           java.lang.ClassNotFoundException,
                           java.lang.InstantiationException,
                           java.lang.IllegalAccessException,
                           javax.swing.UnsupportedLookAndFeelException
Test whether we can launch the workbench from a local raven jar

Throws:
java.net.MalformedURLException
ArtifactNotFoundException
ArtifactStateException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
javax.swing.UnsupportedLookAndFeelException