Package srsim.persistence

Examples of srsim.persistence.DerbyEmbeddedDS.findAll()


  @Test
  public void testRetrievingAllRecords() throws InstantiationException,
      IllegalAccessException, ClassNotFoundException, SQLException {

    DerbyEmbeddedDS ds = new DerbyEmbeddedDS();
    List<SimulationRecord> storedRecords = ds.findAll();
    Assert.assertTrue(storedRecords.size() > 1);
  }

  @Test
  public void testDeletingRecord() throws InstantiationException,
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.