- Timestamp:
- 07/16/08 12:29:31 (6 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
openmrs/branches/1.3.x/test/api/org/openmrs/test/api/PersonServiceTest.java
r4731 r4947 26 26 import org.openmrs.PersonName; 27 27 import org.openmrs.Relationship; 28 import org.openmrs.RelationshipType; 28 29 import org.openmrs.api.AdministrationService; 29 30 import org.openmrs.api.PatientService; … … 118 119 List<Relationship> aRels = personService.getRelationshipsByPerson(p); 119 120 List<Relationship> bRels = personService.getRelationshipsByPerson(patient); 121 122 //test loading relationship types real quick. 123 List<RelationshipType> rTmp = personService.getAllRelationshipTypes(); 124 assertNotNull(rTmp); 125 RelationshipType rTypeTmp = personService.getRelationshipTypeByName("Doctor/Patient"); 126 assertNotNull(rTypeTmp); 127 rTypeTmp = personService.getRelationshipTypeByName("booya"); 128 assertNull(rTypeTmp); 129 130 120 131 // Uncomment for console output. 121 132 //System.out.println("Relationships before voiding all:");