Summary

[ summary] [ package list] [ test cases]

TestsErrorsFailuresSuccess rateTime(s)
203180.00%54.02

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

Package List

[ summary] [ package list] [ test cases]

PackageTestsErrorsFailuresSuccess RateTime
org.astrogrid.applications.commandline.digester 100100.00%3.16
org.astrogrid.applications.commandline 193178.95%50.86

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

org.astrogrid.applications.commandline.digester

ClassTestsErrorsFailuresSuccess RateTime
Success CommandLineDescriptionsLoaderTest 100100.00%3.162

org.astrogrid.applications.commandline

ClassTestsErrorsFailuresSuccess RateTime
Success CommandLineApplicationDescriptionTest 200100.00%1.251
Success CommandLineApplicationEnvironmentTest 500100.00%0.844
Failure CommandLineApplicationTest 40175.00%36.490
Success CommandLineCEAComponentManagerTest 500100.00%3.600
Error DftCommandLineFormationTest 1100.00%3.485
Error SExtractorCommandLineFormationTest 1100.00%4.018
Error WFOApplicationConfigLoadTest 1100.00%1.173

Test Cases

[ summary] [ package list] [ test cases]

CommandLineDescriptionsLoaderTest

Success testLoadDescription2.65

CommandLineApplicationDescriptionTest

Success testCreateCustomApplication0.54
Success testCreateDefaultApplication0.00

CommandLineApplicationEnvironmentTest

Success testGetErrorLog0.22
Success testGetExecutionDirectory0.00
Success testGetExecutionId0.00
Success testGetOutputLog0.00
Success testTempFiles0.01

CommandLineApplicationTest

Success testCreateApplicationDirect31.65
Success testCreateApplicationIndirect1.35
Success testPickupMissingParameters1.32
Failure testSeeError1.44
should have seen 4 warnings before final error status expected:<4> but was:<3>

CommandLineCEAComponentManagerTest

Success testIsValid0.56
Success testVerifyRequiredComponents0.56
Success testGetController0.01
Success testGetMetaData0.03
Success testInformation1.89

DftCommandLineFormationTest

Error testParameterSetup3.01
file:///tmp/sexout_z

SExtractorCommandLineFormationTest

Error testParameterSetup3.50
REGAUTHORITY.SExtractor

WFOApplicationConfigLoadTest

Error testloadApplicationConfig0.64
unable to find FieldDescriptor for 'Description' in ClassDescriptor of CommandLineApplication

Failure details

Failure testSeeError
should have seen 4 warnings before final error status expected:<4> but was:<3>
junit.framework.AssertionFailedError: should have seen 4 warnings before final error status expected:<4> but was:<3> at org.astrogrid.applications.commandline.CommandLineApplicationTest.testSeeError(CommandLineApplicationTest.java:358)
Error testParameterSetup
file:///tmp/sexout_z
org.astrogrid.applications.parameter.protocol.InaccessibleExternalValueException: file:///tmp/sexout_z at org.astrogrid.applications.parameter.protocol.FileProtocol$1.read(FileProtocol.java:49) at org.astrogrid.applications.commandline.DefaultCommandLineParameterAdapter.process(DefaultCommandLineParameterAdapter.java:162) at org.astrogrid.applications.commandline.MergingParameterAdapter.process(MergingParameterAdapter.java:135) at org.astrogrid.applications.commandline.CommandLineApplication.setupParameters(CommandLineApplication.java:166) at org.astrogrid.applications.commandline.AbstractCmdLineRealAppTestCase.testParameterSetup(AbstractCmdLineRealAppTestCase.java:59)
Error testParameterSetup
REGAUTHORITY.SExtractor
org.astrogrid.applications.description.exception.ApplicationDescriptionNotFoundException: REGAUTHORITY.SExtractor at org.astrogrid.applications.description.BaseApplicationDescriptionLibrary.getDescription(BaseApplicationDescriptionLibrary.java:60) at org.astrogrid.applications.commandline.AbstractCmdLineAppTestCase.setUp(AbstractCmdLineAppTestCase.java:120) at org.astrogrid.applications.commandline.AbstractCmdLineRealAppTestCase.setUp(AbstractCmdLineRealAppTestCase.java:38)
Error testloadApplicationConfig
unable to find FieldDescriptor for 'Description' in ClassDescriptor of CommandLineApplication
org.xml.sax.SAXException: unable to find FieldDescriptor for 'Description' in ClassDescriptor of CommandLineApplication at org.exolab.castor.xml.UnmarshalHandler.startElement(UnmarshalHandler.java:1224) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:555) at org.astrogrid.applications.commandline.WFOApplicationConfigLoadTest.testloadApplicationConfig(WFOApplicationConfigLoadTest.java:59)