Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] uDig Tests Broken

Okay let us hunt these down .. we have one failure:
Test set: net.refractions.udig.catalog.geotools.data.GeoToolsDataStoreServiceTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.004 sec <<< FAILURE!
initializationError(net.refractions.udig.catalog.geotools.data.GeoToolsDataStoreServiceTest)  Time elapsed: 0.003 sec  <<< ERROR!
java.lang.Exception: No runnable methods
Let me confirm …

There is a single method …

   @Ignore
    public void testDataStoreServiceExtension() throws Exception {
    …

Which has indeed been ignored (a test case class with no tests!).

Restoring that test case … It was checking the "default" generated title - and due to some UI fun and games the expected title "sample_data" is now turned into the display title of "sample data".

Next …
------------------------------------------------------------------------------
Test set: net.refractions.udig.catalog.wmsc.server.TileImageReadWriterTest
-------------------------------------------------------------------------------
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.047 sec <<< FAILURE!
testIsStale(net.refractions.udig.catalog.wmsc.server.TileImageReadWriterTest)  Time elapsed: 0.032 sec  <<< ERROR!
java.net.ConnectException: Connection refused
Well that appears to be an "online" test case… fixing that to test that the connection is available 1st.

Next up …
-------------------------------------------------------------------------------
Test set: net.refractions.udig.render.wms.basic.test.BasicWMSRenderer2Test
-------------------------------------------------------------------------------
Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 4.789 sec <<< FAILURE!
testGetLayersBoundingBox(net.refractions.udig.render.wms.basic.test.BasicWMSRenderer2Test)  Time elapsed: 2.04 sec
testFindRequestCRS(net.refractions.udig.render.wms.basic.test.BasicWMSRenderer2Test)  Time elapsed: 0.448 sec
testCalculateRequestBBox_reprojecting(net.refractions.udig.render.wms.basic.test.BasicWMSRenderer2Test)  Time elapsed: 0.892 sec
testCalculateRequestBBox_LayerContained(net.refractions.udig.render.wms.basic.test.BasicWMSRenderer2Test)  Time elapsed: 0.272 sec  <<< FAILURE!
junit.framework.AssertionFailedError: expected:<-180.0> but was:<0.0>
Okay another fun one - the calculation of bounding box for a WMS layer has improved a bit so we are suffering some value drift here. It is correctly reflecting the size of the target layer now.

Next … 

ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:0.13.0:package-feature (default-package-feature) on project net.refractions.udig.tutorials.rcp-feature: Execution default-package-feature of goal org.eclipse.tycho:tycho-packaging-plugin:0.13.0:package-feature failed: At least ``package'' phase execution is required -> [Help 1]
This is interesting it is a failure in "net.refractions.udig.tutorials.rcp-feature" which is an example feature used to show add uDig components to an existing RCP project.

Can you make sense of the above failure Cliff? It is not strictly a test failure - I expect version number drift.

Jody

Back to the top