Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-5604

org/openmrs/api/PersonServiceTest.java

    XMLWordPrintable

Details

    • Bug
    • Status: Needs Assessment
    • TBD
    • Resolution: Unresolved
    • None
    • None
    • None
    • Undetermined

    Description

      This class tests methods in the PersonService class. TODO: Test all methods in the PersonService

      Location:

      https://github.com/openmrs/openmrs-core/blob/2.2.0/api/src/test/java/org/openmrs/api/PersonServiceTest.java#L58

       

      TODO use xml imported in BaseContextSensitiveTest#baseSetupWithStandardDataAndAuthentication()

      Location:

      https://github.com/openmrs/openmrs-core/blob/2.2.0/api/src/test/java/org/openmrs/api/PersonServiceTest.java#L321

       

      /TODO: is this the correct way? or should we loop to find a retired type and then perform the following?

      Location:

      https://github.com/openmrs/openmrs-core/blob/2.2.0/api/src/test/java/org/openmrs/api/PersonServiceTest.java#L321

       

      TODO use xml imported in BaseContextSensitiveTest#baseSetupWithStandardDataAndAuthentication()

      Location:

      https://github.com/openmrs/openmrs-core/blob/2.2.0/api/src/test/java/org/openmrs/api/PersonServiceTest.java#L955

       

      TODO use xml imported in BaseContextSensitiveTest#baseSetupWithStandardDataAndAuthentication()

      Location:

      https://github.com/openmrs/openmrs-core/blob/2.2.0/api/src/test/java/org/openmrs/api/PersonServiceTest.java#L1047

       

      @see PersonService#getRelationshipTypes(String,Boolean) TODO Needs to test

      Location:

      https://github.com/openmrs/openmrs-core/blob/2.2.0/api/src/test/java/org/openmrs/api/PersonServiceTest.java#L1174

       

      PersonService#unvoidPerson(Person) TODO NullPointerException during

      Location:

      https://github.com/openmrs/openmrs-core/blob/2.2.0/api/src/test/java/org/openmrs/api/PersonServiceTest.java#L1598

       

      RequiredDataAdvice.before() TODO Should we be able to unvoid an already not voided

      record? This test assumes yes.

      Location:

      https://github.com/openmrs/openmrs-core/blob/2.2.0/api/src/test/java/org/openmrs/api/PersonServiceTest.java#L1599

       

      TODO - voiding is done by the BaseVoidHandler called via AOP before voidRelationship

      Location:

      https://github.com/openmrs/openmrs-core/blob/2.2.0/api/src/test/java/org/openmrs/api/PersonServiceTest.java#L1677

       

      TODO - voiding is done by the BaseVoidHandler called via AOP before voidRelationship

      Location:

      https://github.com/openmrs/openmrs-core/blob/2.2.0/api/src/test/java/org/openmrs/api/PersonServiceTest.java#L1697

       

      TODO - voiding is done by the BaseVoidHandler called via AOP before voidRelationship

      Location:

      https://github.com/openmrs/openmrs-core/blob/2.2.0/api/src/test/java/org/openmrs/api/PersonServiceTest.java#L1720

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                isaaclin isaac lin
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated: