Summary

[ summary] [ package list] [ test cases]

TestsErrorsFailuresSuccess rateTime(s)
137046.15%1.92

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

Package List

[ summary] [ package list] [ test cases]

PackageTestsErrorsFailuresSuccess RateTime
org.astrogrid.cfg 137046.15%1.92

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

org.astrogrid.cfg

ClassTestsErrorsFailuresSuccess RateTime
Success FactoryTest 100100.00%0.433
Error FailbackTest 74042.86%0.532
Error SimpleTest 42050.00%0.450
Error XmlTest 1100.00%0.505

Test Cases

[ summary] [ package list] [ test cases]

FactoryTest

Success testPropertyMaker0.09

FailbackTest

Error testLoad0.12
Could not find 'TEST.FRUIT' in: Cache, (No JNDI), (no config file), sysenv
Success testPropertyKeysValid0.00
Success testKeySet0.01
Success testAssertionsEnabled0.00
Error testStore0.01
Could not find 'TEST.FRUIT' in: Cache, (No JNDI), (no config file), sysenv
Error testTypes0.01
Could not find 'TEST.FRUIT' in: Cache, (No JNDI), (no config file), sysenv
Error testFileFinder0.01
${FailbackTest.path}test.properties (resolves to org/astrogrid/config/test.properties) not found in classpath or working directory

SimpleTest

Error testLoad0.08
N/A
Success testPropertyKeys0.00
Success testAssertionsEnabled0.00
Error testConfiguration0.00
N/A

XmlTest

Error testGet0.13
N/A

Failure details

Error testLoad
Could not find 'TEST.FRUIT' in: Cache, (No JNDI), (no config file), sysenv
org.astrogrid.cfg.PropertyNotFoundException: Could not find 'TEST.FRUIT' in: Cache, (No JNDI), (no config file), sysenv at org.astrogrid.cfg.FailbackConfig.getProperty(FailbackConfig.java:477) at org.astrogrid.cfg.FailbackTest.testLoad(FailbackTest.java:43)
Error testStore
Could not find 'TEST.FRUIT' in: Cache, (No JNDI), (no config file), sysenv
org.astrogrid.cfg.PropertyNotFoundException: Could not find 'TEST.FRUIT' in: Cache, (No JNDI), (no config file), sysenv at org.astrogrid.cfg.FailbackConfig.getProperty(FailbackConfig.java:477) at org.astrogrid.cfg.FailbackTest.testStore(FailbackTest.java:117)
Error testTypes
Could not find 'TEST.FRUIT' in: Cache, (No JNDI), (no config file), sysenv
org.astrogrid.cfg.PropertyNotFoundException: Could not find 'TEST.FRUIT' in: Cache, (No JNDI), (no config file), sysenv at org.astrogrid.cfg.FailbackConfig.getProperty(FailbackConfig.java:477) at org.astrogrid.cfg.ConfigReader.getString(ConfigReader.java:108) at org.astrogrid.cfg.FailbackTest.testTypes(FailbackTest.java:186)
Error testFileFinder
${FailbackTest.path}test.properties (resolves to org/astrogrid/config/test.properties) not found in classpath or working directory
java.io.FileNotFoundException: ${FailbackTest.path}test.properties (resolves to org/astrogrid/config/test.properties) not found in classpath or working directory at org.astrogrid.cfg.ConfigReader.resolveFilename(ConfigReader.java:317) at org.astrogrid.cfg.FailbackTest.testFileFinder(FailbackTest.java:218)
Error testLoad
N/A
java.lang.NullPointerException at org.astrogrid.cfg.FailbackConfig.loadFromUrl(FailbackConfig.java:393) at org.astrogrid.cfg.SimpleTest.testLoad(SimpleTest.java:31)
Error testConfiguration
N/A
java.lang.NullPointerException at org.astrogrid.cfg.FailbackConfig.loadFromUrl(FailbackConfig.java:393) at org.astrogrid.cfg.SimpleTest.testConfiguration(SimpleTest.java:98)
Error testGet
N/A
java.lang.NullPointerException at org.astrogrid.cfg.ConfigReader.readDom(ConfigReader.java:257) at org.astrogrid.cfg.ConfigReader.getDom(ConfigReader.java:248) at org.astrogrid.cfg.XmlTest.testGet(XmlTest.java:31)