dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #26173
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 12965: Implement unit tests on ProgramStage service methods
------------------------------------------------------------
revno: 12965
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2013-11-19 14:16:49 +0700
message:
Implement unit tests on ProgramStage service methods
modified:
dhis-2/dhis-services/dhis-service-patient/src/test/java/org/hisp/dhis/patient/PatientAttributeGroupServiceTest.java
dhis-2/dhis-services/dhis-service-patient/src/test/java/org/hisp/dhis/program/ProgramStageSectionServiceTest.java
dhis-2/dhis-services/dhis-service-patient/src/test/java/org/hisp/dhis/program/ProgramStageSectionStoreTest.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-services/dhis-service-patient/src/test/java/org/hisp/dhis/patient/PatientAttributeGroupServiceTest.java'
--- dhis-2/dhis-services/dhis-service-patient/src/test/java/org/hisp/dhis/patient/PatientAttributeGroupServiceTest.java 2013-11-11 07:56:27 +0000
+++ dhis-2/dhis-services/dhis-service-patient/src/test/java/org/hisp/dhis/patient/PatientAttributeGroupServiceTest.java 2013-11-19 07:16:49 +0000
@@ -138,7 +138,6 @@
int idA = attributeGroupService.savePatientAttributeGroup( attributeGroupA );
assertNotNull( attributeGroupService.getPatientAttributeGroup( idA ) );
-
assertEquals( attributeGroupA.getName(),
attributeGroupService.getPatientAttributeGroupByName( "PatientAttributeGroupA" ).getName() );
}
=== modified file 'dhis-2/dhis-services/dhis-service-patient/src/test/java/org/hisp/dhis/program/ProgramStageSectionServiceTest.java'
--- dhis-2/dhis-services/dhis-service-patient/src/test/java/org/hisp/dhis/program/ProgramStageSectionServiceTest.java 2013-11-19 06:51:39 +0000
+++ dhis-2/dhis-services/dhis-service-patient/src/test/java/org/hisp/dhis/program/ProgramStageSectionServiceTest.java 2013-11-19 07:16:49 +0000
@@ -48,7 +48,7 @@
/**
* @author Chau Thu Tran
*
- * @version $ ProgramStageSectionService.java Nov 14, 2013 4:22:27 PM $
+ * @version $ ProgramStageSectionServiceTest.java Nov 14, 2013 4:22:27 PM $
*/
public class ProgramStageSectionServiceTest
extends DhisSpringTest
=== modified file 'dhis-2/dhis-services/dhis-service-patient/src/test/java/org/hisp/dhis/program/ProgramStageSectionStoreTest.java'
--- dhis-2/dhis-services/dhis-service-patient/src/test/java/org/hisp/dhis/program/ProgramStageSectionStoreTest.java 2013-11-19 06:51:39 +0000
+++ dhis-2/dhis-services/dhis-service-patient/src/test/java/org/hisp/dhis/program/ProgramStageSectionStoreTest.java 2013-11-19 07:16:49 +0000
@@ -45,7 +45,7 @@
/**
* @author Chau Thu Tran
*
- * @version $ ProgramStageSectionService.java Nov 14, 2013 4:22:27 PM $
+ * @version $ ProgramStageSectionStoreTest.java Nov 14, 2013 4:22:27 PM $
*/
public class ProgramStageSectionStoreTest
extends DhisSpringTest