/openjdk7/jdk/test/java/rmi/testlibrary/ |
H A D | TestParams.java | 55 testSrc = TestLibrary. 57 testClasses = TestLibrary. 61 defaultPolicy = TestLibrary. 70 defaultSecurityManager = TestLibrary. 81 TestLibrary.bomb("Security exception received" +
|
/openjdk7/jdk/test/java/rmi/server/RMIClassLoader/getClassLoader/ |
H A D | GetClassLoader.java | 32 * @build TestLibrary Foo 51 TestLibrary.suggestSecurityManager(null); 55 TestLibrary.installClassInCodebase("Foo", "codebase1"); 57 TestLibrary.bomb(e); 69 TestLibrary.bomb( 74 TestLibrary.bomb(e); 92 TestLibrary.bomb(e); 102 TestLibrary.bomb(e); 109 TestLibrary.bomb("Failed: Foo classes are not equal"); 114 TestLibrary [all...] |
/openjdk7/jdk/test/com/sun/jndi/rmi/registry/RegistryContext/ |
H A D | ContextWithNullProperties.java | 29 * @build TestLibrary 38 Registry registry = TestLibrary.createRegistryOnUnusedPort(); 39 int registryPort = TestLibrary.getRegistryPort(registry);
|
H A D | UnbindIdempotent.java | 30 * @build TestLibrary 43 Registry registry = TestLibrary.createRegistryOnUnusedPort(); 44 int registryPort = TestLibrary.getRegistryPort(registry);
|
/openjdk7/jdk/test/java/rmi/activation/Activatable/downloadParameterClass/ |
H A D | DownloadParameterClass.java | 34 * @build TestLibrary RMID ActivationLibrary 75 codebase1 = TestLibrary.installClassInCodebase("FooReceiverImpl", "codebase1"); 76 TestLibrary.installClassInCodebase("FooReceiverImpl_Stub", "codebase1"); 77 TestLibrary.installClassInCodebase("Foo", "codebase1"); 78 codebase2 = TestLibrary.installClassInCodebase("Bar", "codebase2"); 80 TestLibrary.bomb("failed to install test classes", e); 83 TestLibrary.suggestSecurityManager("java.rmi.RMISecurityManager"); 139 TestLibrary.bomb("test failed", e);
|
/openjdk7/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/registry/ |
H A D | UseCustomSocketFactory.java | 32 * @build TestLibrary Compress Hello HelloImpl HelloImpl_Stub 56 TestLibrary.suggestSecurityManager("java.rmi.RMISecurityManager"); 57 int registryPort = TestLibrary.getUnusedRandomPort(); 74 TestLibrary.bomb("creating registry", e); 108 TestLibrary.bomb("test failed", e); 115 TestLibrary.bomb("unbinding HelloServer", e); 117 TestLibrary.unexport(registry); 118 TestLibrary.unexport(impl);
|
/openjdk7/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/unicast/ |
H A D | UseCustomSocketFactory.java | 32 * @build TestLibrary RMID JavaVM Echo EchoImpl EchoImpl_Stub 51 TestLibrary.suggestSecurityManager("java.rmi.RMISecurityManager"); 54 Registry registry = TestLibrary.createRegistryOnUnusedPort(); 55 registryPort = TestLibrary.getRegistryPort(registry); 57 TestLibrary.bomb("creating registry", e); 96 TestLibrary.bomb("server not bound in 8 tries", null); 108 TestLibrary.bomb("test failed", e); 116 TestLibrary.bomb("unbinding EchoServer", e);
|
/openjdk7/jdk/test/java/rmi/transport/checkFQDN/ |
H A D | CheckFQDN.java | 36 * @build TestLibrary CheckFQDNClient CheckFQDN_Stub TellServerName 80 Registry registry = TestLibrary.createRegistryOnUnusedPort(); 81 REGISTRY_PORT = TestLibrary.getRegistryPort(registry); 92 TestLibrary.bomb(e); 95 TestLibrary.unexport(checkFQDN); 130 TestLibrary.bomb("Test failed, error in client."); 134 TestLibrary.bomb(e); 149 TestLibrary.bomb(propertyBeingTested + 161 TestLibrary.bomb(propertyBeingTested + 168 TestLibrary [all...] |
/openjdk7/jdk/test/java/rmi/Naming/ |
H A D | RmiIsNoScheme.java | 32 * @build TestLibrary 48 Registry registry = TestLibrary.createRegistryOnUnusedPort(); 49 int registryPort = TestLibrary.getRegistryPort(registry); 60 TestLibrary.bomb(e);
|
H A D | DefaultRegistryPort.java | 30 * @build TestLibrary 75 TestLibrary.bomb( 93 TestLibrary.bomb( 100 TestLibrary.bomb( 106 TestLibrary.bomb(
|
H A D | LookupNameWithColon.java | 30 * @build TestLibrary 44 Registry reg = TestLibrary.createRegistryOnUnusedPort(); 45 int port = TestLibrary.getRegistryPort(reg);
|
H A D | UnderscoreHost.java | 32 * @build TestLibrary UnderscoreHost_Stub 79 Registry r = TestLibrary.createRegistryOnUnusedPort(); 80 int port = TestLibrary.getRegistryPort(r); 106 TestLibrary.bomb(ioe); 108 TestLibrary.bomb(nbe); 110 TestLibrary.unexport(t);
|
/openjdk7/jdk/test/java/rmi/server/RMIClassLoader/spi/ |
H A D | ServiceConfiguration.java | 35 File dstDir = new File(TestLibrary.getProperty("test.classes", "."), 45 File srcDir = new File(TestLibrary.getProperty("test.src", ".")); 49 TestLibrary.copyFile(srcFile, dstFile);
|
H A D | DefaultProperty.java | 32 * @build TestLibrary ServiceConfiguration Foo 54 codebaseURL = TestLibrary.installClassInCodebase( 57 TestLibrary.bomb(e); 60 TestLibrary.suggestSecurityManager(null);
|
/openjdk7/jdk/test/sun/rmi/transport/proxy/ |
H A D | EagerHttpFallback.java | 30 * @build TestLibrary 39 static final int INITIAL_PORT = TestLibrary.getUnusedRandomPort(); 40 static final int FALLBACK_PORT = TestLibrary.getUnusedRandomPort();
|
/openjdk7/jdk/test/java/rmi/activation/Activatable/checkImplClassLoader/ |
H A D | CheckImplClassLoader.java | 30 * @build TestLibrary RMID 71 URL implcb = TestLibrary.installClassInCodebase("ActivatableImpl", 73 TestLibrary.installClassInCodebase("ActivatableImpl_Stub", 75 TestLibrary.suggestSecurityManager( 96 TestLibrary.bomb("incorrect context class loader for " + 106 TestLibrary.bomb("\nfailure: unexpected exception ", e); 116 TestLibrary.unexport(group);
|
/openjdk7/jdk/test/java/rmi/registry/altSecurityManager/ |
H A D | AltSecurityManager.java | 30 * @build TestLibrary JavaVM RMID TestSecurityManager 57 TestLibrary.bomb("Port must be greater then 0."); 74 TestLibrary.bomb("Utility to start must be " + REGISTRY_IMPL + 82 TestLibrary.bomb(e); 94 int port = TestLibrary.getUnusedRandomPort(); 114 TestLibrary.bomb(utilityToStart + 139 TestLibrary.bomb(e);
|
/openjdk7/jdk/test/java/rmi/server/RMIClassLoader/useCodebaseOnly/ |
H A D | UseCodebaseOnly.java | 34 * @build TestLibrary Receiver UseCodebaseOnly_Stub Foo Bar 61 TestLibrary.installClassInCodebase("Foo", "remote_codebase"); 63 TestLibrary.installClassInCodebase("Bar", "local_codebase"); 65 TestLibrary.bomb(e); 68 TestLibrary.setProperty("java.rmi.server.useCodebaseOnly", "true"); 69 TestLibrary.setProperty( // set local codebase property 87 TestLibrary.suggestSecurityManager(null); 94 TestLibrary.bomb(e);
|
/openjdk7/jdk/test/java/rmi/transport/checkLeaseInfoLeak/ |
H A D | CheckLeaseLeak.java | 31 * @build TestLibrary CheckLeaseLeak_Stub LeaseLeakClient LeaseLeak 82 TestLibrary.setInteger("sun.rmi.dgc.checkInterval", 84 TestLibrary.setInteger("java.rmi.dgc.leaseValue", 89 TestLibrary.createRegistryOnUnusedPort(); 90 int registryPort = TestLibrary.getRegistryPort(registry); 107 TestLibrary.bomb("Client process failed"); 114 TestLibrary.bomb("CheckLeaseLeak Error: ", e); 117 TestLibrary.unexport(leakServer); 124 TestLibrary.bomb("Too many objects in DGCImpl.leaseTable: "+ 214 TestLibrary [all...] |
/openjdk7/jdk/test/java/rmi/transport/dgcDeadLock/ |
H A D | DGCDeadLock.java | 31 * @build TestLibrary Test TestImpl TestImpl_Stub 53 private static final int REGISTRY_PORT = TestLibrary.getUnusedRandomPort(); 68 TestLibrary.suggestSecurityManager("java.rmi.RMISecurityManager"); 92 TestLibrary.bomb("Test failed, had exception or exercise" + 101 TestLibrary.bomb("test failed", e); 152 TestLibrary.bomb("test failed", e);
|
/openjdk7/jdk/test/java/rmi/transport/httpSocket/ |
H A D | HttpSocketTest.java | 30 * @build TestLibrary HttpSocketTest HttpSocketTest_Stub 71 TestLibrary.suggestSecurityManager(null); 80 registry = TestLibrary.createRegistryOnUnusedPort(); 81 registryPort = TestLibrary.getRegistryPort(registry); 83 TestLibrary.bomb(e); 94 TestLibrary.bomb(e);
|
/openjdk7/jdk/test/java/rmi/server/RMIClassLoader/delegateToContextLoader/ |
H A D | DelegateToContextLoader.java | 32 * @build TestLibrary Dummy 56 TestLibrary.suggestSecurityManager("java.rmi.RMISecurityManager"); 59 URL codebaseURL = TestLibrary. 74 File srcDir = new File(TestLibrary.getProperty("test.classes", "."));
|
/openjdk7/jdk/test/java/rmi/registry/reexport/ |
H A D | Reexport.java | 28 * @build TestLibrary JavaVM RegistryRunner RegistryRunner_Stub 53 int regPort = TestLibrary.getUnusedRandomPort(); 67 TestLibrary.bomb("failed was able to duplicate the registry?!?"); 84 TestLibrary.bomb("Could not create registry on second try"); 90 TestLibrary.bomb(e); 110 TestLibrary.bomb((Exception) e); 129 TestLibrary.bomb("Test setup failed - cannot run test", e);
|
/openjdk7/jdk/test/java/rmi/activation/checkusage/ |
H A D | CheckUsage.java | 29 * @build TestLibrary JavaVM 59 TestLibrary.bomb("rmid has incorrect usage message"); 64 TestLibrary.bomb(e);
|
/openjdk7/jdk/test/java/rmi/registry/checkusage/ |
H A D | CheckUsage.java | 30 * @build TestLibrary JavaVM 59 TestLibrary.bomb("rmiregistry has incorrect usage statement"); 64 TestLibrary.bomb(e);
|