/** Test of freeResources method, of class DiffAccessor. */ @Ignore @Test public void testFreeResources() { System.out.println("freeResources"); final DiffAccessor instance = null; instance.freeResources(); // TODO review the generated test code and remove the default call to fail. fail("The test case is a prototype."); }
/** Test of putDropAction method, of class DiffAccessor. */ @Ignore @Test public void testPutDropAction() { System.out.println("putDropAction"); final String affectedTable = ""; final DiffAccessor instance = null; instance.putDropAction(affectedTable); // TODO review the generated test code and remove the default call to fail. fail("The test case is a prototype."); }
/** * Test of getStatementGroups method, of class DiffAccessor. * * @throws Exception DOCUMENT ME! */ @Ignore @Test public void testGetStatementGroups() throws Exception { System.out.println("TEST " + getCurrentMethodName()); try { final Properties prop = new Properties(); prop.load( new BufferedInputStream( new FileInputStream( "/Users/mscholl/cvswork6/testauslieferung/" + "cidsDistribution/abf_dev_20090320/runtime.properties"))); final Backend b = BackendFactory.getInstance().getBackend(prop); final DiffAccessor da = new DiffAccessor(prop, b); final StatementGroup[] grp = da.getStatementGroups(); System.out.println(grp.length); } catch (final Exception e) { e.printStackTrace(); fail("could not get statements"); } System.out.println("TEST " + getCurrentMethodName() + " SUCCEEDED"); }