dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #19727
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 8730: Fixed test error
------------------------------------------------------------
revno: 8730
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2012-10-26 09:31:39 +0200
message:
Fixed test error
modified:
dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/mapping/MappingServiceTest.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/mapping/MappingServiceTest.java'
--- dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/mapping/MappingServiceTest.java 2012-10-25 14:58:43 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/mapping/MappingServiceTest.java 2012-10-26 07:31:39 +0000
@@ -280,23 +280,6 @@
}
@Test
- public void testGetDeleteMapViewByName()
- {
- MapView mapView = new MapView( LAYER_THEMATIC1, "MapViewA", VALUE_TYPE_INDICATOR, indicatorGroup,
- indicator, dataElementGroup, dataElement, period,
- organisationUnit, organisationUnitLevel, LEGEND_TYPE_AUTOMATIC, 1, 1, "A", "B",
- mapLegendSet, 5, 20, 1 );
-
- int id = mappingService.addMapView( mapView );
-
- mapView = mappingService.getMapViewByName( "MapViewA" );
-
- mappingService.deleteMapView( mapView );
-
- assertNull( mappingService.getMapView( id ) );
- }
-
- @Test
public void testGetAllMapViews()
{
MapView mapView1 = new MapView( LAYER_THEMATIC1, "MapViewA", VALUE_TYPE_INDICATOR, indicatorGroup,