1 22 23 package org.jboss.test.testbeancluster.test; 24 25 import junit.framework.Test; 26 import junit.framework.TestSuite; 27 28 34 public class SingleRetryInterceptorUnitTestCase extends RetryInterceptorUnitTestCase 35 { 36 private static boolean deployed0 = false; 39 private static boolean deployed1 = false; 40 41 46 public SingleRetryInterceptorUnitTestCase(String name) 47 { 48 super(name); 49 } 50 51 52 public static Test suite() throws Exception 53 { 54 TestSuite suite = new TestSuite(); 55 suite.addTest(new TestSuite(SingleRetryInterceptorUnitTestCase.class)); 56 57 DBSetup wrapper = new DBSetup(suite); 59 return wrapper; 60 } 61 62 63 66 public void testDeferredRecovery() throws Exception 67 { 68 deferredRecoveryTest(false); 69 } 70 71 protected String getJndiSuffix() 72 { 73 return "_SingleRetry"; 74 } 75 76 protected boolean isDeployed0() 77 { 78 return deployed0; 79 } 80 81 protected void setDeployed0(boolean deployed) 82 { 83 deployed0 = deployed; 84 } 85 86 protected boolean isDeployed1() 87 { 88 return deployed1; 89 } 90 91 protected void setDeployed1(boolean deployed) 92 { 93 deployed1 = deployed; 94 } 95 96 } | Popular Tags |