Package edu.pdx.cs.joy.family
Class RemotePersonTest
java.lang.Object
edu.pdx.cs.joy.family.RemoteTestCase
edu.pdx.cs.joy.family.RemotePersonTest
This class tests the functionality of implementors of
RemotePerson. Note that it just looks up a
RemotePerson in the RMI namespace. It doesn't pay any
matter what the concrete implementation of
RemotePerson is.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidMethods inherited from class edu.pdx.cs.joy.family.RemoteTestCase
assertEquals, bind, fail, getFamilyName, getTree, setUp, tearDown, unbind
-
Constructor Details
-
RemotePersonTest
public RemotePersonTest()
-
-
Method Details
-
testGetId
- Throws:
RemoteException
-
testGetGenderMale
- Throws:
RemoteException
-
testGetGenderFemale
- Throws:
RemoteException
-
testGetFirstName
- Throws:
RemoteException
-
testGetFirstNameNull
- Throws:
RemoteException
-
testGetMiddleName
- Throws:
RemoteException
-
testGetMiddleNameNull
- Throws:
RemoteException
-
testGetLastName
- Throws:
RemoteException
-
testGetLastNameNull
- Throws:
RemoteException
-
testGetFatherId
- Throws:
RemoteException
-
testSetFatherIdBadId
- Throws:
RemoteException
-
testSetFatherIdNotMale
- Throws:
RemoteException
-
testGetMotherId
- Throws:
RemoteException
-
testSetMotherIdBadId
- Throws:
RemoteException
-
testSetMotherIdNotFemale
- Throws:
RemoteException
-
testSetDateOfBirth
- Throws:
RemoteException
-
testSetDateOfDeath
- Throws:
RemoteException
-