dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #01390
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 410: Ignored a few tests
------------------------------------------------------------
revno: 410
committer: Lars Helge Oeverland larshelge@xxxxxxxxx
branch nick: trunk
timestamp: Wed 2009-07-01 17:17:50 +0200
message:
Ignored a few tests
modified:
dhis-2/dhis-services/dhis-service-reporting/src/test/java/org/hisp/dhis/pdf/PdfServiceTest.java
=== modified file 'dhis-2/dhis-services/dhis-service-reporting/src/test/java/org/hisp/dhis/pdf/PdfServiceTest.java'
--- dhis-2/dhis-services/dhis-service-reporting/src/test/java/org/hisp/dhis/pdf/PdfServiceTest.java 2009-06-10 22:25:07 +0000
+++ dhis-2/dhis-services/dhis-service-reporting/src/test/java/org/hisp/dhis/pdf/PdfServiceTest.java 2009-07-01 15:17:50 +0000
@@ -37,6 +37,7 @@
import org.hisp.dhis.indicator.IndicatorType;
import org.hisp.dhis.organisationunit.OrganisationUnitService;
import org.hisp.dhis.system.util.StreamUtils;
+import org.junit.Ignore;
import org.junit.Test;
/**
@@ -90,44 +91,38 @@
// -------------------------------------------------------------------------
@Test
+ @Ignore
public void testWriteAllDataElements()
throws Exception
{
- if ( false )
- {
- OutputStream outputStream = new BufferedOutputStream( new FileOutputStream( "dataElementsTest.pdf" ) );
-
- pdfService.writeAllDataElements( outputStream );
-
- StreamUtils.closeOutputStream( outputStream );
- }
+ OutputStream outputStream = new BufferedOutputStream( new FileOutputStream( "dataElementsTest.pdf" ) );
+
+ pdfService.writeAllDataElements( outputStream );
+
+ StreamUtils.closeOutputStream( outputStream );
}
@Test
+ @Ignore
public void testWriteAllIndicators()
throws Exception
{
- if ( false )
- {
- OutputStream outputStreamB = new BufferedOutputStream( new FileOutputStream( "indicatorsTest.pdf" ) );
-
- pdfService.writeAllIndicators( outputStreamB );
-
- StreamUtils.closeOutputStream( outputStreamB );
- }
+ OutputStream outputStreamB = new BufferedOutputStream( new FileOutputStream( "indicatorsTest.pdf" ) );
+
+ pdfService.writeAllIndicators( outputStreamB );
+
+ StreamUtils.closeOutputStream( outputStreamB );
}
@Test
+ @Ignore
public void testWriteAllOrganisationUnits()
throws Exception
{
- if ( false )
- {
- OutputStream outputStream = new BufferedOutputStream( new FileOutputStream( "organisationUnitsTest.pdf" ) );
-
- pdfService.writeAllOrganisationUnits( outputStream );
-
- StreamUtils.closeOutputStream( outputStream );
- }
+ OutputStream outputStream = new BufferedOutputStream( new FileOutputStream( "organisationUnitsTest.pdf" ) );
+
+ pdfService.writeAllOrganisationUnits( outputStream );
+
+ StreamUtils.closeOutputStream( outputStream );
}
}
--
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.