public TestSuite getNullDelegateInValueHolderTestSuite() { TestSuite suite = new TestSuite(); suite.setName("NullDelegateInValueHolderTestSuite"); suite.setDescription("This suite tests setting a ValueHolder in a transparent collection"); suite.addTest(new NullDelegateInValueHolderTest(IndirectList.class)); suite.addTest(new NullDelegateInValueHolderTest(IndirectSet.class)); suite.addTest(new NullDelegateInValueHolderTest(IndirectMap.class)); return suite; }
public TestSuite getCustomIndirectContainerTestSuite() { TestSuite suite = new TestSuite(); suite.setName("CustomIndirectContainerTestSuite"); suite.setDescription("This suite tests custom IndirectContainers."); PopulationManager manager = PopulationManager.getDefaultManager(); suite.addTest(new ReadObjectTest(manager.getObject(Dog.class, "Bart"))); suite.addTest(new UpdateDogTest()); suite.addTest(new NullCollectionTest()); return suite; }
public TestSuite getBidirectionalRelationshipTestSuite() { TestSuite suite = new TestSuite(); suite.setName("BidirectionalRelationshipTestSuite"); suite.setDescription("This suite tests bidirectional relationship maintenance."); suite.addTest(new BidirectionalRelationshipMaintenanceTest()); return suite; }