Index: trunk/test/performance/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSPerformanceTest.groovy
===================================================================
--- trunk/test/performance/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSPerformanceTest.groovy	(revision 7140)
+++ trunk/test/performance/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSPerformanceTest.groovy	(revision 7141)
@@ -16,4 +16,5 @@
 import org.openstreetmap.josm.gui.mappaint.MapPaintStyles
 import org.openstreetmap.josm.gui.preferences.SourceEntry
+import org.openstreetmap.josm.io.Compression
 import org.openstreetmap.josm.io.OsmReader
 
@@ -39,5 +40,5 @@
      * The data file to be rendered
      */
-    def static DATA_FILE = "/my/test-data.osm"
+    def static DATA_FILE = "data_nodist/neubrandenburg.osm.bz2"
     /* ------------------------ / configuration section  ---------------------------- */
 
@@ -53,9 +54,4 @@
           if ( !f.isFile() || ! f.exists()) {
               fail("STYLE_FILE refers to '${STYLE_FILE}. This is either not a file or doesn't exist.\nPlease update configuration settings in the unit test file.")
-          }
-
-          f = new File(DATA_FILE);
-          if ( !f.isFile() || ! f.exists()) {
-              fail("DATA_FILE refers to '${DATA_FILE}. This is either not a file or doesn't exist.\nPlease update configuration settings in the unit test file.")
           }
     }
@@ -79,5 +75,5 @@
         MapCSSStyleSource source = new MapCSSStyleSource(
             new SourceEntry(
-                new File(STYLE_FILE).toURI().toURL().toString(),
+                STYLE_FILE,
                 "test style",
                 "a test style",
@@ -96,8 +92,5 @@
     def loadData() {
         print "Loading data file '$DATA_FILE' ..."
-        new File(DATA_FILE).withInputStream {
-            InputStream is ->
-            ds = OsmReader.parseDataSet(is,null)
-        }
+        ds = OsmReader.parseDataSet(Compression.getUncompressedFileInputStream(new File(DATA_FILE)), null);
         Main.main.addLayer(new OsmDataLayer(ds,"test layer",null /* no file */));
         println "DONE"
