Summary

[ summary] [ package list] [ test cases]

TestsErrorsFailuresSuccess rateTime(s)
820297.56%1.00

Note: failuresare anticipated and checked for with assertions while errorsare unanticipated.

Package List

[ summary] [ package list] [ test cases]

PackageTestsErrorsFailuresSuccess RateTime
gov.noaa.eds.xapi.generic.handlers 1100100.00%0.16
gov.noaa.eds.xapi.generic 600296.67%0.38
gov.noaa.eds.xapi.generic.modules 1000100.00%0.38
gov.noaa.eds.xapi.mock 100100.00%0.09

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

gov.noaa.eds.xapi.generic.handlers

ClassTestsErrorsFailuresSuccess RateTime
Success ResourceHandlerTest 300100.00%0.068
Success UrlHandlerTest 800100.00%0.089

gov.noaa.eds.xapi.generic

ClassTestsErrorsFailuresSuccess RateTime
Success GenericCollectionTest 1800100.00%0.096
Success GenericConfigurableTest 300100.00%0.045
Success GenericDatabaseTest 800100.00%0.072
Success GenericDomHandlerResourceTest 900100.00%0.022
Success GenericResourceIteratorTest 300100.00%0.058
Success GenericResourceSetTest 700100.00%0.032
Success GenericResourceTest 200100.00%0.009
Success GenericXmlNodeResourceTest 800100.00%0.024
Failure DomHandlerTest 2020.00%0.017

gov.noaa.eds.xapi.generic.modules

ClassTestsErrorsFailuresSuccess RateTime
Success GenericXPathQueryServiceTest 1000100.00%0.382

gov.noaa.eds.xapi.mock

ClassTestsErrorsFailuresSuccess RateTime
Success DatabaseBuilderTest 100100.00%0.091

Test Cases

[ summary] [ package list] [ test cases]

ResourceHandlerTest

Success testGetResource0.01
Success testUrlConvertsProperty0.00
Success testSetResource0.00

UrlHandlerTest

Success testSetResourceAsNode0.03
Success testGetResourceAsDocument0.04
Success testGetUrl0.00
Success testSetUrl0.00
Success testGetUrlString0.00
Success testSetUrlString0.00
Success testGetTimeBetweenChecks0.00
Success testSetTimeBetweenChecks0.00

GenericCollectionTest

Success testGetChildCollection0.07
Success testGetValidResource0.00
Success testGetInvalidResource0.00
Success testStoreResource0.00
Success testRemoveResource0.00
Success testListResources0.00
Success testClose0.00
Success testCreateId0.00
Success testCreateResource0.00
Success testGetChildCollectionCount0.00
Success testGetName0.00
Success testSetName0.00
Success testGetParentCollection0.00
Success testGetResourceCount0.00
Success testGetValidService0.00
Success testGetServices0.00
Success testIsOpen0.00
Success testListChildCollections0.00

GenericConfigurableTest

Success testGetInvalidProperty0.01
Success testGetValidProperty0.00
Success testSetProperty0.00

GenericDatabaseTest

Success testAddCollection0.06
Success testAcceptsURITrue0.00
Success testAcceptsURIFalse0.00
Success testGetNames0.00
Success testGetConformanceLevel0.00
Success testGetDefaultConformanceLevel0.00
Success testSetConformanceLevel0.00
Success testGetCollection0.00

GenericDomHandlerResourceTest

Success testGetDomHandler0.01
Success testSetDomHandler0.00
Success testGetSAXFeature0.00
Success testSetContentAsDOM0.00
Success testGetContentAsSAX0.00
Success testSetSAXFeature0.00
Success testSetContentAsSAX0.00
Success testGetDocumentId0.00
Success testGetContentAsDOM0.00

GenericResourceIteratorTest

Success testNextResource0.03
Success testNextNullResource0.01
Success testHasMoreResources0.00

GenericResourceSetTest

Success testGetResource0.01
Success testRemoveResource0.00
Success testAddResource0.01
Success testGetSize0.00
Success testGetNullResource0.00
Success testGetMembersAsResource0.00
Success testGetIterator0.00

GenericResourceTest

Success testGetId0.00
Success testSetId0.00

GenericXmlNodeResourceTest

Success testGetSAXFeature0.01
Success testSetContentAsDOM0.00
Success testGetContentAsSAX0.00
Success testSetSAXFeature0.00
Success testSetContentAsSAX0.00
Success testGetDocumentId0.00
Success testGetContentAsDOM0.00
Success testGetResourceType0.00

GenericXPathQueryServiceTest

Success testGetName0.07
Success testRemoveNamespace0.00
Success testTitleQuery0.27
Success testTitleToDocumentQuery0.02
Success testGetNamespace0.00
Success testSetCollection0.01
Success testSetNamespace0.00
Success testQueryResource0.00
Success testGetVersion0.00
Success testClearNamespaces0.00

DatabaseBuilderTest

Success testDefault0.09

DomHandlerTest

Failure testSetResourceAsNode0.01
The test case is empty.
Failure testGetResourceAsDocument0.00
The test case is empty.

Failure details

Failure testSetResourceAsNode
The test case is empty.
junit.framework.AssertionFailedError: The test case is empty. at gov.noaa.eds.xapi.generic.DomHandlerTest.testSetResourceAsNode(DomHandlerTest.java:53)
Failure testGetResourceAsDocument
The test case is empty.
junit.framework.AssertionFailedError: The test case is empty. at gov.noaa.eds.xapi.generic.DomHandlerTest.testGetResourceAsDocument(DomHandlerTest.java:43)