I need to get GeoTools to build without testErrors. In my quest to do this I have run into many test errors. I’m not sure if these are known errors or if I am just totally screwing up the build process on my computer. One particular error that I have run into is a test in ParametersTest.java. The error is caused due to the following line of code:
writer.format(group); // Ensure there is no exception there. I assume that this is a known error because of the comment line. The reason this line causes an error, on my computer, is because the variable writer, of type ParameterWriter, does not have a function call format that takes a variable of type ParameterGroup. I added in the following to ParameterWriter.java and the test passes. public void format(final ParameterGroup group) {} I now have the issue of errors in 26 tests in org.geotools.coverage.grid.* I’m trying to find my way through these test errors now. Are this many test errors normal? Am I missing something? Here are the Results I am getting now: Results : Tests in error: testIdentity(org.geotools.coverage.grid.ResampleTest) testCrop(org.geotools.coverage.grid.ResampleTest) testStereographic(org.geotools.coverage.grid.ResampleTest) testsNad83(org.geotools.coverage.grid.ResampleTest) testAffine(org.geotools.coverage.grid.ResampleTest) testTranslation(org.geotools.coverage.grid.ResampleTest) testGridCoverage(org.geotools.coverage.grid.ResampleTest) testBinarySearch(org.geotools.coverage.CategoryListTest) testArgumentChecks(org.geotools.coverage.CategoryListTest) testGetCategory(org.geotools.coverage.CategoryListTest) testHistogram(org.geotools.coverage.processing.StatisticsOperationsTest) testExtrema(org.geotools.coverage.processing.StatisticsOperationsTest) testSampleDimension(org.geotools.coverage.SampleDimensionTest) testSampleTranscoderCreation(org.geotools.coverage.SampleDimensionTest) testRescale(org.geotools.coverage.SampleDimensionTest) testCrop(org.geotools.coverage.processing.CropTest) testCropRotated(org.geotools.coverage.processing.CropTest) testSubsampleAverage(org.geotools.coverage.grid.FilteredSubsampleTest) testRaster(org.geotools.coverage.grid.FloatRasterTest) testOneBand(org.geotools.coverage.SampleTranscoderTest) testSubtract(org.geotools.coverage.grid.OperationsTest) testNodataFilter(org.geotools.coverage.grid.OperationsTest) testGradientMagnitude(org.geotools.coverage.grid.OperationsTest) testGridCoverage(org.geotools.coverage.grid.OperationsTest) testSerialization(org.geotools.coverage.grid.OperationsTest) testSubsampleAverage(org.geotools.coverage.grid.SubsampleAverageTest) Tests run: 56, Failures: 0, Errors: 26, Skipped: 0 [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] There are test failures. Thanks, Ed -- View this message in context: http://www.nabble.com/ParametersTest.java-and-other-test-errors-tp17992421p17992421.html Sent from the geotools-devel mailing list archive at Nabble.com. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel