Change forced by a change in GeoAPI: code list constructors are no longer public. Reverting this commit causes a compilation error which can be fixed only by re-applying the exact same patch.
Command line:
svn diff --extensions "--unified --ignore-space-change --ignore-all-space --ignore-eol-style" -r26668:26669 https://svn.osgeo.org/geotools/trunk/modules/library/referencing/src/test/java/org/geotools/parameter/ParametersTest.java
Revision 26668 | Revision 26669 |
---|---|
// This is the expected exception.
assertEquals("Test", exception.getParameterName());
}
AxisDirection dummy = new AxisDirection("Dummy");
try {
param.setValue(dummy);
fail("setValue(AxisDirection)"); |
// This is the expected exception.
assertEquals("Test", exception.getParameterName());
}
AxisDirection dummy = AxisDirection.valueOf("Dummy");
try {
param.setValue(dummy);
fail("setValue(AxisDirection)"); |