1 5 package com.tctest.restart.system; 6 7 import com.tctest.TestConfigurator; 8 import com.tctest.TransparentTestBase; 9 import com.tctest.TransparentTestIface; 10 11 import java.util.HashMap ; 12 import java.util.Map ; 13 14 public class SynchronousWriteObjectDataRestartTest extends TransparentTestBase implements TestConfigurator { 15 16 private int clientCount = 2; 17 18 protected Class getApplicationClass() { 19 return ObjectDataRestartTestApp.class; 20 } 21 22 protected Map getOptionalAttributes() { 23 Map attributes = new HashMap (); 24 attributes.put(ObjectDataRestartTestApp.SYNCHRONOUS_WRITE, "true"); 25 return attributes; 26 } 27 28 public void doSetUp(TransparentTestIface t) throws Exception { 29 t.getTransparentAppConfig().setClientCount(clientCount).setIntensity(1); 30 t.initializeTestRunner(); 31 } 32 33 protected boolean canRunCrash() { 34 return true; 35 } 36 37 protected boolean canRunRestart() { 38 return true; 39 } 40 41 } 42 | Popular Tags |