[Schmitzm-commits] r820 - trunk/src_junit/schmitzm/jfree/feature/style

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Apr 23 17:04:27 CEST 2010


Author: alfonx
Date: 2010-04-23 17:04:27 +0200 (Fri, 23 Apr 2010)
New Revision: 820

Modified:
   trunk/src_junit/schmitzm/jfree/feature/style/FeatureChartStyleTest.java
Log:
FeatureChartStyleTest testet viel und gut

Modified: trunk/src_junit/schmitzm/jfree/feature/style/FeatureChartStyleTest.java
===================================================================
--- trunk/src_junit/schmitzm/jfree/feature/style/FeatureChartStyleTest.java	2010-04-23 15:00:36 UTC (rev 819)
+++ trunk/src_junit/schmitzm/jfree/feature/style/FeatureChartStyleTest.java	2010-04-23 15:04:27 UTC (rev 820)
@@ -35,15 +35,15 @@
 	private static Logger log = Logger.getLogger(FeatureChartStyleTest.class);
 
 	boolean INTERACTIVE = !GraphicsEnvironment.isHeadless();
+	String resLocation = "/schmitzm/jfree/feature/style/testLineChartShape/testKreiseLineChart2.shp";
 
 	@Test
 	public void testLineChart() throws IOException, CQLException, InterruptedException {
 
 		// Testdatenshape einlesen
-		URL resourceUrl = getClass()
-				.getResource(
-						"/schmitzm/jfree/feature/style/testLineChartShape/testKreiseLineChart2.shp");
-		assertNotNull("testKreiseLineChart2.shp wurde nicht gefunden!",
+		URL resourceUrl = FeatureChartStyleTest.class.getResource(
+						resLocation);
+		assertNotNull(resLocation+" wurde nicht gefunden!",
 				resourceUrl);
 		
 		FeatureCollection<SimpleFeatureType, SimpleFeature> testFeatures = GeoImportUtil



More information about the Schmitzm-commits mailing list