Index: /trunk/data_nodist/projection/projection-reference-data
===================================================================
--- /trunk/data_nodist/projection/projection-reference-data	(revision 11647)
+++ /trunk/data_nodist/projection/projection-reference-data	(revision 11648)
@@ -36863,5 +36863,5 @@
     -55.98383921869693,75.63573463956286,-1305237.430092321,4153869.129437317
     72.879933882633,17.159780630468802,7512109.287242818,-227918.925727678
-<EPSG:27561> +proj=lcc +lat_0=49.5 +lat_1=48d35'54.682" +lat_2=50d23'45.282" +lon_0=2d20'14.025" +x_0=600000 +y_0=200000 +a=6378249.2 +b=6356515 +nadgrids=ntf_r93_b.gsb +units=m +bounds=-4.416666666666665,46.65,9.18,51.300000000000004  <>
+<EPSG:27561> +proj=lcc +lat_0=49.5 +lat_1=48d35'54.682" +lat_2=50d23'45.282" +lon_0=2d20'14.025" +x_0=600000 +y_0=200000 +a=6378249.2 +b=6356515 +nadgrids=ntf_r93.gsb +units=m +bounds=-4.416666666666665,46.65,9.18,51.300000000000004  <>
     0.18240099467414606,50.70084348205154,447822.248657583,335749.731598569
     0.9331174400163427,50.72485379853146,500898.93039386,337167.651206067
@@ -36872,5 +36872,5 @@
     -4.333309987158797,51.19431458229903,134211.681457075,409113.828883267
     1.1731830014909175,50.71607717203845,517834.559535807,335902.29111521
-<EPSG:27562> +proj=lcc +lat_0=46.8 +lat_1=45d53'56.108" +lat_2=47d41'45.652" +lon_0=2d20'14.025" +x_0=600000 +y_0=200000 +a=6378249.2 +b=6356515 +nadgrids=ntf_r93_b.gsb +units=m +bounds=-4.416666666666665,43.95,9.18,49.65  <>
+<EPSG:27562> +proj=lcc +lat_0=46.8 +lat_1=45d53'56.108" +lat_2=47d41'45.652" +lon_0=2d20'14.025" +x_0=600000 +y_0=200000 +a=6378249.2 +b=6356515 +nadgrids=ntf_r93.gsb +units=m +bounds=-4.416666666666665,43.95,9.18,49.65  <>
     -1.1133365185429613,46.3561696607643,334590.433494117,156502.072351671
     3.0874804507525653,45.63813153451019,658552.478959508,71143.221253895
@@ -36881,5 +36881,5 @@
     -3.27634515762172,46.42448034097477,168953.266260769,173664.349652023
     -2.0042440238165162,46.66226754677738,267991.824542247,193869.189478427
-<EPSG:27563> +proj=lcc +lat_0=44.1 +lat_1=43d11'57.449" +lat_2=44d59'45.938" +lon_0=2d20'14.025" +x_0=600000 +y_0=200000 +a=6378249.2 +b=6356515 +nadgrids=ntf_r93_b.gsb +units=m +bounds=-4.416666666666665,41.49,9.18,46.95  <>
+<EPSG:27563> +proj=lcc +lat_0=44.1 +lat_1=43d11'57.449" +lat_2=44d59'45.938" +lon_0=2d20'14.025" +x_0=600000 +y_0=200000 +a=6378249.2 +b=6356515 +nadgrids=ntf_r93.gsb +units=m +bounds=-4.416666666666665,41.49,9.18,46.95  <>
     5.248868656095957,46.65569220077895,823071.560393645,488045.265500711
     -3.4493869915884816,44.008526482123635,136434.227145081,206138.130591396
@@ -36890,5 +36890,5 @@
     8.290835975632522,43.39091449780428,1081988.039463948,138654.923060995
     3.5219714239015083,44.69297807859731,693954.617792124,266562.331242614
-<EPSG:27564> +proj=lcc +lat_0=42.165 +lat_1=41d33'37.396" +lat_2=42d46'3.588" +lon_0=2d20'14.025" +x_0=234.358 +y_0=185861.369 +a=6378249.2 +b=6356515 +nadgrids=ntf_r93_b.gsb +units=m +bounds=-4.416666666666665,41.49,9.18,44.267667  <>
+<EPSG:27564> +proj=lcc +lat_0=42.165 +lat_1=41d33'37.396" +lat_2=42d46'3.588" +lon_0=2d20'14.025" +x_0=234.358 +y_0=185861.369 +a=6378249.2 +b=6356515 +nadgrids=ntf_r93.gsb +units=m +bounds=-4.416666666666665,41.49,9.18,44.267667  <>
     -2.544556181890229,43.769485647452164,-392694.173102384,375360.931743444
     5.293428616903728,41.7317796332518,246180.966307288,141998.148829765
Index: /trunk/test/unit/org/openstreetmap/josm/data/projection/ProjectionRefTest.java
===================================================================
--- /trunk/test/unit/org/openstreetmap/josm/data/projection/ProjectionRefTest.java	(revision 11647)
+++ /trunk/test/unit/org/openstreetmap/josm/data/projection/ProjectionRefTest.java	(revision 11648)
@@ -31,4 +31,5 @@
 
 import org.junit.Assert;
+import org.junit.Rule;
 import org.junit.Test;
 import org.openstreetmap.josm.data.Bounds;
@@ -36,4 +37,5 @@
 import org.openstreetmap.josm.data.coor.LatLon;
 import org.openstreetmap.josm.gui.preferences.projection.CodeProjectionChoice;
+import org.openstreetmap.josm.testutils.JOSMTestRules;
 import org.openstreetmap.josm.tools.Pair;
 import org.openstreetmap.josm.tools.Utils;
@@ -48,5 +50,5 @@
  * program from the proj.4 library in path (or use <code>CS2CS_EXE</code> to set
  * the full path of the executable). Make sure the required *.gsb grid files
- * can be accessed, i.e. copy them from <code>data/projection</code> to <code>/usr/share/proj</code> or
+ * can be accessed, i.e. copy them from <code>data_nodist/projection</code> to <code>/usr/share/proj</code> or
  * wherever cs2cs expects them to be placed.
  *
@@ -75,4 +77,11 @@
 
     static Random rand = new SecureRandom();
+
+    /**
+     * Setup test.
+     */
+    @Rule
+    @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD")
+    public JOSMTestRules test = new JOSMTestRules().platform();
 
     /**
@@ -284,4 +293,8 @@
     }
 
+    /**
+     * Test projections.
+     * @throws IOException if any I/O error occurs
+     */
     @Test
     public void testProjections() throws IOException {
@@ -296,25 +309,26 @@
             }
             if (!ref.def.equals(def0)) {
-                Assert.fail("definitions for " + ref.code + " do not match");
-            }
-            Projection proj = Projections.getProjectionByCode(ref.code);
-            double scale = ((CustomProjection) proj).getToMeter();
-            for (Pair<LatLon, EastNorth> p : ref.data) {
-                LatLon ll = p.a;
-                EastNorth enRef = p.b;
-                enRef = new EastNorth(enRef.east() * scale, enRef.north() * scale); // convert to meter
-
-                EastNorth en = proj.latlon2eastNorth(ll);
-                if (proj.switchXY()) {
-                    en = new EastNorth(en.north(), en.east());
-                }
-                en = new EastNorth(en.east() * scale, en.north() * scale); // convert to meter
-                final double EPSILON_EN = 1e-2; // 1cm
-                if (!isEqual(enRef, en, EPSILON_EN, true)) {
-                    String errorEN = String.format("%s (%s): Projecting latlon(%s,%s):%n" +
-                            "        expected: eastnorth(%s,%s),%n" +
-                            "        but got:  eastnorth(%s,%s)!%n",
-                            proj.toString(), proj.toCode(), ll.lat(), ll.lon(), enRef.east(), enRef.north(), en.east(), en.north());
-                    fail.append(errorEN);
+                fail.append("definitions for ").append(ref.code).append(" do not match\n");
+            } else {
+                Projection proj = Projections.getProjectionByCode(ref.code);
+                double scale = ((CustomProjection) proj).getToMeter();
+                for (Pair<LatLon, EastNorth> p : ref.data) {
+                    LatLon ll = p.a;
+                    EastNorth enRef = p.b;
+                    enRef = new EastNorth(enRef.east() * scale, enRef.north() * scale); // convert to meter
+
+                    EastNorth en = proj.latlon2eastNorth(ll);
+                    if (proj.switchXY()) {
+                        en = new EastNorth(en.north(), en.east());
+                    }
+                    en = new EastNorth(en.east() * scale, en.north() * scale); // convert to meter
+                    final double EPSILON_EN = 1e-2; // 1cm
+                    if (!isEqual(enRef, en, EPSILON_EN, true)) {
+                        String errorEN = String.format("%s (%s): Projecting latlon(%s,%s):%n" +
+                                "        expected: eastnorth(%s,%s),%n" +
+                                "        but got:  eastnorth(%s,%s)!%n",
+                                proj.toString(), proj.toCode(), ll.lat(), ll.lon(), enRef.east(), enRef.north(), en.east(), en.north());
+                        fail.append(errorEN);
+                    }
                 }
             }
