← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 867: Fixed test error.

 

------------------------------------------------------------
revno: 867
committer: Lars Helge Oeverland larshelge@xxxxxxxxx
branch nick: trunk
timestamp: Thu 2009-10-15 18:23:35 +0200
message:
  Fixed test error.
modified:
  dhis-2/dhis-services/dhis-service-reporting/src/test/java/org/hisp/dhis/reporttable/ReportTableTest.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-reporting/src/test/java/org/hisp/dhis/reporttable/ReportTableTest.java'
--- dhis-2/dhis-services/dhis-service-reporting/src/test/java/org/hisp/dhis/reporttable/ReportTableTest.java	2009-07-08 18:14:14 +0000
+++ dhis-2/dhis-services/dhis-service-reporting/src/test/java/org/hisp/dhis/reporttable/ReportTableTest.java	2009-10-15 16:23:35 +0000
@@ -606,12 +606,12 @@
         
         assertTrue( crossTabColumns.contains( "shortnamea_categoryoptiona_categoryoptionb_reporting_month" ) );
         assertTrue( crossTabColumns.contains( "shortnamea_categoryoptiona_categoryoptionb_last3_months" ) );
+        assertTrue( crossTabColumns.contains( "shortnamea_categoryoptionc_categoryoptiond_reporting_month" ) );
+        assertTrue( crossTabColumns.contains( "shortnamea_categoryoptionc_categoryoptiond_last3_months" ) );
         assertTrue( crossTabColumns.contains( "shortnameb_categoryoptiona_categoryoptionb_reporting_month" ) );
         assertTrue( crossTabColumns.contains( "shortnameb_categoryoptiona_categoryoptionb_last3_months" ) );
-        assertTrue( crossTabColumns.contains( "shortnamea_categoryoptiond_categoryoptionc_reporting_month" ) );
-        assertTrue( crossTabColumns.contains( "shortnamea_categoryoptiond_categoryoptionc_last3_months" ) );
-        assertTrue( crossTabColumns.contains( "shortnameb_categoryoptiond_categoryoptionc_reporting_month" ) );
-        assertTrue( crossTabColumns.contains( "shortnameb_categoryoptiond_categoryoptionc_last3_months" ) );
+        assertTrue( crossTabColumns.contains( "shortnameb_categoryoptionc_categoryoptiond_reporting_month" ) );
+        assertTrue( crossTabColumns.contains( "shortnameb_categoryoptionc_categoryoptiond_last3_months" ) );
         
         List<String> crossTabIdentifiers = reportTable.getCrossTabIdentifiers();
         
@@ -685,11 +685,11 @@
         
         assertNotNull( crossTabColumns );
         assertEquals( 4, crossTabColumns.size() );
-        
+
         assertTrue( crossTabColumns.contains( "categoryoptiona_categoryoptionb_shortnamea" ) );
         assertTrue( crossTabColumns.contains( "categoryoptiona_categoryoptionb_shortnameb" ) );
-        assertTrue( crossTabColumns.contains( "categoryoptiond_categoryoptionc_shortnamea" ) );
-        assertTrue( crossTabColumns.contains( "categoryoptiond_categoryoptionc_shortnameb" ) );
+        assertTrue( crossTabColumns.contains( "categoryoptionc_categoryoptiond_shortnamea" ) );
+        assertTrue( crossTabColumns.contains( "categoryoptionc_categoryoptiond_shortnameb" ) );
 
         List<String> crossTabIdentifiers = reportTable.getCrossTabIdentifiers();
         
@@ -750,7 +750,7 @@
         
         assertNotNull( crossTabColumns );        
         assertEquals( 4, crossTabColumns.size() );
-        
+
         assertTrue( crossTabColumns.contains( "shortnamea_shortnamea" ) );
         assertTrue( crossTabColumns.contains( "shortnamea_shortnameb" ) );
         assertTrue( crossTabColumns.contains( "shortnameb_shortnamea" ) );