dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #18176
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 7560: Minor
------------------------------------------------------------
revno: 7560
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2012-07-10 12:34:53 +0200
message:
Minor
modified:
dhis-2/dhis-services/dhis-service-reporting/src/test/java/org/hisp/dhis/chart/ChartServiceTest.java
dhis-2/dhis-services/dhis-service-reporting/src/test/java/org/hisp/dhis/chart/ChartStoreTest.java
dhis-2/dhis-support/dhis-support-test/src/main/java/org/hisp/dhis/DhisConvenienceTest.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/chart/ChartServiceTest.java'
--- dhis-2/dhis-services/dhis-service-reporting/src/test/java/org/hisp/dhis/chart/ChartServiceTest.java 2011-12-26 10:07:59 +0000
+++ dhis-2/dhis-services/dhis-service-reporting/src/test/java/org/hisp/dhis/chart/ChartServiceTest.java 2012-07-10 10:34:53 +0000
@@ -183,6 +183,7 @@
assertTrue( equals( chartService.getChart( idA ).getIndicators(), indicatorA, indicatorB, indicatorC ) );
assertTrue( equals( chartService.getChart( idA ).getOrganisationUnits(), unitA, unitB, unitC ) );
+ assertTrue( equals( chartService.getChart( idA ).getPeriods(), periodA, periodB, periodC ) );
}
@Test
=== modified file 'dhis-2/dhis-services/dhis-service-reporting/src/test/java/org/hisp/dhis/chart/ChartStoreTest.java'
--- dhis-2/dhis-services/dhis-service-reporting/src/test/java/org/hisp/dhis/chart/ChartStoreTest.java 2011-12-26 10:07:59 +0000
+++ dhis-2/dhis-services/dhis-service-reporting/src/test/java/org/hisp/dhis/chart/ChartStoreTest.java 2012-07-10 10:34:53 +0000
@@ -167,6 +167,7 @@
assertTrue( equals( chartStore.get( idA ).getIndicators(), indicatorA, indicatorB, indicatorC ) );
assertTrue( equals( chartStore.get( idA ).getOrganisationUnits(), unitA, unitB, unitC ) );
+ assertTrue( equals( chartStore.get( idA ).getPeriods(), periodA, periodB, periodC ) );
}
@Test
=== modified file 'dhis-2/dhis-support/dhis-support-test/src/main/java/org/hisp/dhis/DhisConvenienceTest.java'
--- dhis-2/dhis-support/dhis-support-test/src/main/java/org/hisp/dhis/DhisConvenienceTest.java 2012-05-29 19:08:34 +0000
+++ dhis-2/dhis-support/dhis-support-test/src/main/java/org/hisp/dhis/DhisConvenienceTest.java 2012-07-10 10:34:53 +0000
@@ -826,8 +826,6 @@
MapLegendSet legendSet = new MapLegendSet();
legendSet.setName( "MapLegendSet" + uniqueCharacter );
- //legendSet.setColorLow( "ColorLow" + uniqueCharacter );
- //legendSet.setColorHigh( "ColorHigh" + uniqueCharacter );
for ( Indicator indicator : indicators )
{
@@ -844,7 +842,7 @@
chart.setName( "Chart" + uniqueCharacter );
chart.setIndicators( indicators );
- chart.setRelativePeriods( periods );
+ chart.setPeriods( periods );
chart.setOrganisationUnits( units );
chart.setDimensions( Chart.DIMENSION_DATA, Chart.DIMENSION_PERIOD, Chart.DIMENSION_ORGANISATIONUNIT );