コード例 #1
0
 public static void testTransactionTimeOut() {
   Host host = Host.getHost(0);
   VM vm0 = host.getVM(0);
   vm0.invoke(ExceptionsDUnitTest.class, "runTest3");
 }
コード例 #2
0
 public static void testBlockingTimeOut() {
   Host host = Host.getHost(0);
   VM vm0 = host.getVM(0);
   vm0.invoke(ExceptionsDUnitTest.class, "runTest1");
 }
コード例 #3
0
 public void setUp() throws Exception {
   super.setUp();
   Host host = Host.getHost(0);
   VM vm0 = host.getVM(0);
   vm0.invoke(ExceptionsDUnitTest.class, "init");
 }
コード例 #4
0
 public void tearDown2() throws NamingException, SQLException {
   Host host = Host.getHost(0);
   VM vm0 = host.getVM(0);
   vm0.invoke(ExceptionsDUnitTest.class, "closeCache");
 }
コード例 #5
0
 private VM getOtherVm() {
   Host host = Host.getHost(0);
   return host.getVM(0);
 }