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

org/openmrs/api/PersonServiceTest.java

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Needs Assessment
    • Priority: TBD
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Complexity:
      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated: