Surefire Report

Summary


TestsErrors FailuresSkippedSuccess RateTime
402050%0.484

Note: failures are anticipated and checked for with assertions while errors are unanticipated.

Package List


PackageTestsErrors FailuresSkippedSuccess RateTime
org.microemu10100%0.451
junit.framework10100%0.003
javax.microedition.rms2000100%0.03

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

org.microemu

ClassTestsErrors FailuresSkippedSuccess RateTime
MIDP2APIDeclarationsTest10100%0.451

junit.framework

ClassTestsErrors FailuresSkippedSuccess RateTime
TestSuite$110100%0.003

javax.microedition.rms

ClassTestsErrors FailuresSkippedSuccess RateTime
RecordStoreTest2000100%0.03

Test Cases

TestSuite$1

warning 0.003
Exception in constructor: testConcurrency (java.lang.NullPointerException at javax.microedition.lcdui.Display.<init>(Display.java:420) at javax.microedition.lcdui.DisplayTest$MockDevice.<init>(DisplayTest.java:259) at javax.microedition.lcdui.DisplayTest$MockDevice.<init>(DisplayTest.java:257) at javax.microedition.lcdui.DisplayTest.<init>(DisplayTest.java:359) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at junit.framework.TestSuite.createTest(TestSuite.java:131) at junit.framework.TestSuite.addTestMethod(TestSuite.java:114) at junit.framework.TestSuite.<init>(TestSuite.java:75) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at org.apache.maven.surefire.junit.JUnitTestSet.constructTestObject(JUnitTestSet.java:151) at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:197) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:165) at org.apache.maven.surefire.Surefire.run(Surefire.java:107) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:289) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1005) )

RecordStoreTest

testGetSize0.006
testRecordComparator0.003

MIDP2APIDeclarationsTest

testAPIDeclaration 0.433
javax.microedition.lcdui.Command number of Methods, Extra method(s) [setImage(javax.microedition.lcdui.Image)] expected:<4> but was:<5> javax.microedition.lcdui.Font number of Methods, Extra method(s) [hashCode()] expected:<16> but was:<17> javax.microedition.lcdui.List.getTicker()Ljavax/microedition/lcdui/Ticker; is Missing javax.microedition.lcdui.List number of Methods expected:<22> but was:<21>

Failure Details


warning
junit.framework.AssertionFailedError: Exception in constructor: testConcurrency (java.lang.NullPointerException at javax.microedition.lcdui.Display.<init>(Display.java:420) at javax.microedition.lcdui.DisplayTest$MockDevice.<init>(DisplayTest.java:259) at javax.microedition.lcdui.DisplayTest$MockDevice.<init>(DisplayTest.java:257) at javax.microedition.lcdui.DisplayTest.<init>(DisplayTest.java:359) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at junit.framework.TestSuite.createTest(TestSuite.java:131) at junit.framework.TestSuite.addTestMethod(TestSuite.java:114) at junit.framework.TestSuite.<init>(TestSuite.java:75) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at org.apache.maven.surefire.junit.JUnitTestSet.constructTestObject(JUnitTestSet.java:151) at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:197) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:165) at org.apache.maven.surefire.Surefire.run(Surefire.java:107) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:289) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1005) )
testAPIDeclaration
junit.framework.AssertionFailedError: javax.microedition.lcdui.Command number of Methods, Extra method(s) [setImage(javax.microedition.lcdui.Image)] expected:<4> but was:<5> javax.microedition.lcdui.Font number of Methods, Extra method(s) [hashCode()] expected:<16> but was:<17> javax.microedition.lcdui.List.getTicker()Ljavax/microedition/lcdui/Ticker; is Missing javax.microedition.lcdui.List number of Methods expected:<22> but was:<21>