Package edu.pdx.cs.joy.family
Class FamilyTreeConversionTestCase
java.lang.Object
edu.pdx.cs.joy.family.FamilyTestCase
edu.pdx.cs.joy.family.FamilyTreeConversionTestCase
This is the abstract superclass that tests the conversion of a
FamilyTree from one form to another. The test methods can
be shared by subclasses. All the subclass has to do is override
the getStringFor(edu.pdx.cs.joy.family.FamilyTree) and getFamilyTreeFor(java.lang.String) methods.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidprotected abstract FamilyTreegetFamilyTreeFor(String string) Converts aStringto aFamilyTreeprotected abstract StringgetStringFor(FamilyTree tree) Converts aFamilyTreeto aStringvoidMethods inherited from class edu.pdx.cs.joy.family.FamilyTestCase
assertContains, assertContains, assertEquals, assertEquals, assertEquals, assertEquals
-
Constructor Details
-
FamilyTreeConversionTestCase
public FamilyTreeConversionTestCase()
-
-
Method Details
-
getStringFor
Converts aFamilyTreeto aString -
getFamilyTreeFor
Converts aStringto aFamilyTree -
testConformingData
-
_testFatherNotMale
-
_testMotherNotFemale
-
_testPersonNotMale
-
_testPersonNotFemale
-