1 24 25 package org.objectweb.cjdbc.scenario.raidb1.startup; 26 27 import org.objectweb.cjdbc.scenario.templates.SimpleRaidb1Template; 28 29 36 public class Raidb1DynamicPrecisionScenario extends SimpleRaidb1Template 37 { 38 43 public void testDynamicPrecisionStatic() throws Exception 44 { 45 cm.loadVirtualDatabases(controller, "myDB", "hsqldb-raidb1-dynamic-precision-static.xml"); 46 mainVdb = controller.getVirtualDatabase("myDB"); 47 mainVdb.enableAllBackends(); 48 } 49 50 55 public void testDynamicPrecisionTable() throws Exception 56 { 57 cm.loadVirtualDatabases(controller, "myDB", "hsqldb-raidb1-dynamic-precision-table.xml"); 58 mainVdb = controller.getVirtualDatabase("myDB"); 59 mainVdb.enableAllBackends(); 60 } 61 62 67 public void testDynamicPrecisionColumn() throws Exception 68 { 69 cm.loadVirtualDatabases(controller, "myDB", "hsqldb-raidb1-dynamic-precision-column.xml"); 70 mainVdb = controller.getVirtualDatabase("myDB"); 71 mainVdb.enableAllBackends(); 72 } 73 74 79 public void testDynamicPrecisionProcedures() throws Exception 80 { 81 cm.loadVirtualDatabases(controller, "myDB", "hsqldb-raidb1-dynamic-precision-procedures.xml"); 82 mainVdb = controller.getVirtualDatabase("myDB"); 83 mainVdb.enableAllBackends(); 84 } 85 86 91 public void testDynamicPrecisionAll() throws Exception 92 { 93 cm.loadVirtualDatabases(controller, "myDB", "hsqldb-raidb1-dynamic-precision-all.xml"); 94 mainVdb = controller.getVirtualDatabase("myDB"); 95 mainVdb.enableAllBackends(); 96 } 97 } 98 | Popular Tags |