← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 20116: Minor

 

------------------------------------------------------------
revno: 20116
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2015-09-14 00:02:33 +0200
message:
  Minor
modified:
  dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/dataelement/DataElementGroupSetStoreTest.java
  dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/indicator/IndicatorGroupSetStoreTest.java
  dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/organisationunit/OrganisationUnitGroupSetStoreTest.java
  dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/organisationunit/OrganisationUnitGroupStoreTest.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-core/src/test/java/org/hisp/dhis/dataelement/DataElementGroupSetStoreTest.java'
--- dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/dataelement/DataElementGroupSetStoreTest.java	2015-09-13 21:12:28 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/dataelement/DataElementGroupSetStoreTest.java	2015-09-13 22:02:33 +0000
@@ -36,15 +36,15 @@
  */
 public class DataElementGroupSetStoreTest
     extends GenericDhisSpringTest<DataElementGroupSet>
-{    
+{
+    private DataElementGroupSet[] objects = {
+        new DataElementGroupSet( "GroupSetA" ),
+        new DataElementGroupSet( "GroupSetB" ),
+        new DataElementGroupSet( "GroupSetC" ) };
+    
     @Override
     protected DataElementGroupSet[] getObjects()
-    {
-        DataElementGroupSet[] objects = {
-            new DataElementGroupSet( "GroupSetA" ),
-            new DataElementGroupSet( "GroupSetB" ),
-            new DataElementGroupSet( "GroupSetC" ) };
-        
+    {        
         return objects;
     }    
 

=== modified file 'dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/indicator/IndicatorGroupSetStoreTest.java'
--- dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/indicator/IndicatorGroupSetStoreTest.java	2015-09-13 21:12:28 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/indicator/IndicatorGroupSetStoreTest.java	2015-09-13 22:02:33 +0000
@@ -36,15 +36,15 @@
  */
 public class IndicatorGroupSetStoreTest
     extends GenericDhisSpringTest<IndicatorGroupSet>
-{    
+{
+    private IndicatorGroupSet[] objects = { 
+        new IndicatorGroupSet( "GroupSetA" ), 
+        new IndicatorGroupSet( "GroupSetB" ),
+        new IndicatorGroupSet( "GroupSetC" ) };
+    
     @Override
     protected IndicatorGroupSet[] getObjects()
-    {
-        IndicatorGroupSet[] objects = { 
-            new IndicatorGroupSet( "GroupSetA" ), 
-            new IndicatorGroupSet( "GroupSetB" ),
-            new IndicatorGroupSet( "GroupSetC" ) };
-        
+    {   
         return objects;
     }
 

=== modified file 'dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/organisationunit/OrganisationUnitGroupSetStoreTest.java'
--- dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/organisationunit/OrganisationUnitGroupSetStoreTest.java	2015-09-13 21:12:28 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/organisationunit/OrganisationUnitGroupSetStoreTest.java	2015-09-13 22:02:33 +0000
@@ -37,14 +37,14 @@
 public class OrganisationUnitGroupSetStoreTest
     extends GenericDhisSpringTest<OrganisationUnitGroupSet>
 {
+    private OrganisationUnitGroupSet[] objects = {
+        createOrganisationUnitGroupSet( 'A' ),
+        createOrganisationUnitGroupSet( 'B' ),
+        createOrganisationUnitGroupSet( 'C' ) };
+    
     @Override
     protected OrganisationUnitGroupSet[] getObjects()
-    {
-        OrganisationUnitGroupSet[] objects = {
-            createOrganisationUnitGroupSet( 'A' ),
-            createOrganisationUnitGroupSet( 'B' ),
-            createOrganisationUnitGroupSet( 'C' ) };
-        
+    {   
         return objects;
     }    
 

=== modified file 'dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/organisationunit/OrganisationUnitGroupStoreTest.java'
--- dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/organisationunit/OrganisationUnitGroupStoreTest.java	2015-09-13 21:12:28 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/organisationunit/OrganisationUnitGroupStoreTest.java	2015-09-13 22:02:33 +0000
@@ -37,14 +37,14 @@
 public class OrganisationUnitGroupStoreTest
     extends GenericDhisSpringTest<OrganisationUnitGroup>
 {
+    private OrganisationUnitGroup[] objects = {
+        new OrganisationUnitGroup( "GroupA" ),
+        new OrganisationUnitGroup( "GroupB" ),
+        new OrganisationUnitGroup( "GroupC" ) };
+    
     @Override
     protected OrganisationUnitGroup[] getObjects()
     {
-        OrganisationUnitGroup[] objects = {
-            new OrganisationUnitGroup( "GroupA" ),
-            new OrganisationUnitGroup( "GroupB" ),
-            new OrganisationUnitGroup( "GroupC" ) };
-        
         return objects;
     }