aboutsummaryrefslogtreecommitdiffstats
path: root/tests/netx
diff options
context:
space:
mode:
Diffstat (limited to 'tests/netx')
-rw-r--r--tests/netx/unit/net/sourceforge/jnlp/runtime/CodeBaseClassLoaderTest.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/netx/unit/net/sourceforge/jnlp/runtime/CodeBaseClassLoaderTest.java b/tests/netx/unit/net/sourceforge/jnlp/runtime/CodeBaseClassLoaderTest.java
index 9d763ae..726cc79 100644
--- a/tests/netx/unit/net/sourceforge/jnlp/runtime/CodeBaseClassLoaderTest.java
+++ b/tests/netx/unit/net/sourceforge/jnlp/runtime/CodeBaseClassLoaderTest.java
@@ -50,6 +50,7 @@ import net.sourceforge.jnlp.SecurityDesc;
import net.sourceforge.jnlp.ServerAccess;
import net.sourceforge.jnlp.runtime.JNLPClassLoader.CodeBaseClassLoader;
import net.sourceforge.jnlp.annotations.Bug;
+import net.sourceforge.jnlp.annotations.Remote;
import org.junit.AfterClass;
import org.junit.Assert;
@@ -122,6 +123,7 @@ public class CodeBaseClassLoaderTest {
"http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2012-March/017626.html",
"http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2012-March/017667.html"})
@Test
+ @Remote
public void testClassResourceLoadSuccessCachingApplication() throws Exception {
setWSA();
//we are testing new resource not in cache
@@ -129,6 +131,7 @@ public class CodeBaseClassLoaderTest {
}
@Test
+ @Remote
public void testClassResourceLoadSuccessCachingApplet() throws Exception {
setApplet();
//so new resource again not in cache
@@ -136,6 +139,7 @@ public class CodeBaseClassLoaderTest {
}
@Test
+ @Remote
public void testResourceLoadSuccessCachingApplication() throws Exception {
setWSA();
//we are testing new resource not in cache
@@ -143,6 +147,7 @@ public class CodeBaseClassLoaderTest {
}
@Test
+ @Remote
public void testResourceLoadSuccessCachingApplet() throws Exception {
setApplet();
//so new resource again not in cache
@@ -196,6 +201,7 @@ public class CodeBaseClassLoaderTest {
"http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2012-March/017626.html",
"http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2012-March/017667.html"})
@Test
+ @Remote
public void testResourceLoadFailureCachingApplication() throws Exception {
setWSA();
testResourceCaching("net/sourceforge/jnlp/about/Main_FOO_.class", false);
@@ -208,12 +214,14 @@ public class CodeBaseClassLoaderTest {
}
@Test
+ @Remote
public void testParentClassLoaderIsAskedForClassesApplication() throws Exception {
setWSA();
testParentClassLoaderIsAskedForClasses();
}
@Test
+ @Remote
public void testParentClassLoaderIsAskedForClassesApplet() throws Exception {
setApplet();
testParentClassLoaderIsAskedForClasses();
@@ -248,6 +256,7 @@ public class CodeBaseClassLoaderTest {
}
@Test
+ @Remote
public void testNullFileSecurityDescApplet() throws Exception {
setApplet();
testNullFileSecurityDesc();