1 8 package com.sleepycat.persist.test; 9 10 import java.io.IOException ; 11 12 import junit.framework.Test; 13 14 import com.sleepycat.je.util.TestUtils; 15 16 24 public class EvolveTestInit extends EvolveTestBase { 25 26 public static Test suite() 27 throws Exception { 28 29 return getSuite(EvolveTestInit.class); 30 } 31 32 @Override 33 public void setUp() 34 throws IOException { 35 36 envHome = getTestInitHome(); 37 envHome.mkdir(); 38 TestUtils.removeLogFiles("Setup", envHome, false); 39 } 40 41 public void testInit() 42 throws Exception { 43 44 openEnv(); 45 if (!openStoreReadWrite()) { 46 fail(); 47 } 48 caseObj.writeObjects(store); 49 caseObj.checkUnevolvedModel(store.getModel(), env); 50 closeAll(); 51 } 52 } 53 | Popular Tags |