Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
68192069.118%3.272

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


Package List

[Summary] [Package List] [Test Cases]


PackageTestsErrors FailuresSkippedSuccess RateTime
org.microemu.device.impl8000100%0.132
org.microemu.util3000100%0.017
org.microemu.app.classloader420050%0.095
org.microemu.app.util10000100%0.106
org.microemu.cldc.datagram2392052.174%0.268
javax.microedition.io2080060%2.654

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

org.microemu.device.impl

ClassTestsErrors FailuresSkippedSuccess RateTime
PolygonTest2000100%0.094
DeviceXMLInheritTest6000100%0.038

org.microemu.util

ClassTestsErrors FailuresSkippedSuccess RateTime
Base64CoderTest3000100%0.017

org.microemu.app.classloader

ClassTestsErrors FailuresSkippedSuccess RateTime
MIDletClassLoaderTest420050%0.095

org.microemu.app.util

ClassTestsErrors FailuresSkippedSuccess RateTime
MIDletResourceInputStreamTest1000100%0.021
MIDletOutputStreamRedirectorTest7000100%0.034
IOUtilsTest1000100%0.02
FileRecordStoreManagerTest1000100%0.031

org.microemu.cldc.datagram

ClassTestsErrors FailuresSkippedSuccess RateTime
DatagramImplTest1212075%0.048
EndToEndDatagramTest430025%0.163
ConnectionTest750028.571%0.057

javax.microedition.io

ClassTestsErrors FailuresSkippedSuccess RateTime
HttpConnectionTest7000100%0.162
SocketConnectionTest2000100%1.321
SSLConnectionTest2000100%0.513
HttpsConnectionTest980011.111%0.658

Test Cases

[Summary] [Package List] [Test Cases]

HttpConnectionTest

testConnection0.107
testResponseCode0.002
testInputStream0.003
testDataInputStream0.003
testContentConnection0.003
testHeaders0.008
testBody0.007

PolygonTest

testTriangleContains0.054
testComplexContains0.02

MIDletResourceInputStreamTest

testReadPart0.003

MIDletClassLoaderTest

testGetResourceAsStream0.009
testApplication0.052
testTimer 0.007
testTimerCancell 0.003

MIDletOutputStreamRedirectorTest

testRedirectStack0.009
testRedirectMultiLine0
testRedirectStackFromThread0.001
testMIDletInternalLogger0.001
testMIDletInternalLoggerSubClass0.001
testMIDletInternalStaticLogger0
testMIDletInternalStaticLoggerFromThread0.001

IOUtilsTest

testCanonicalFileURL0.008

FileRecordStoreManagerTest

testSpecialCharacter0.015

SocketConnectionTest

testLoopback1.198
testServerSocketConnection0.046

DatagramImplTest

testDatagramImplInt0.007
testDatagramImplByteArrayInt0
testGetAddress 0.009
expected:<...localhost...> but was:<...pyx2.pyx4j.com...>
testGetData0
testGetLength0.001
testSetAddressString 0
Invalid Protocol localhost:1111
testSetAddressDatagram 0
expected:<...localhost...> but was:<...pyx2.pyx4j.com...>
testReadWriteBoolean0
testReadWriteByte0.001
testReadWriteChar0
testReadWriteUTF0
testSkipBytes0

SSLConnectionTest

testSecurityInfo0.391
testSecureConnection0.101

HttpsConnectionTest

testConnection 0.369
sun.security.validator.ValidatorException: No trusted certificate found
testSecurityInfo 0.003
sun.security.validator.ValidatorException: No trusted certificate found
testWrongCertificate0.207
testResponseCode 0.003
sun.security.validator.ValidatorException: No trusted certificate found
testInputStream 0.003
sun.security.validator.ValidatorException: No trusted certificate found
testDataInputStream 0.004
sun.security.validator.ValidatorException: No trusted certificate found
testContentConnection 0.003
sun.security.validator.ValidatorException: No trusted certificate found
testHeaders 0.003
sun.security.validator.ValidatorException: No trusted certificate found
testBody 0.004
sun.security.validator.ValidatorException: No trusted certificate found

EndToEndDatagramTest

testJ2SEtoJ2ME0.131
testJ2MEtoJ2SE 0.002
Address already in use
testJ2MEtoJ2ME 0.001
Address already in use
testJ2SEtoJ2SE 0
Address already in use

DeviceXMLInheritTest

testValueOverride0.017
testValueOverrideByName0.003
testChildElementsOverride0.001
testValueOverrideByNameWithCase0.001
testValueOverrideNoName0.001
testValueOverrideFonts0.001

ConnectionTest

testNewDatagramInt 0.022
Invalid Protocol localhost:1234
testNewDatagramIntString 0
Invalid Protocol localhost:123
testNewDatagramByteArrayInt 0
Invalid Protocol localhost:1234
testNewDatagramByteArrayIntString 0
Invalid Protocol localhost:123
testGetLocalAddress0.003
testGetLocalPort0
testOpenConnection 0
Port missing

Base64CoderTest

testEncode0.003
testDecode0
testAllBytes0

Failure Details

[Summary] [Package List] [Test Cases]


testTimer
java.lang.NullPointerException
testTimerCancell
java.lang.NullPointerException
testGetAddress
junit.framework.ComparisonFailure: expected:<...localhost...> but was:<...pyx2.pyx4j.com...>
testSetAddressString
java.lang.IllegalArgumentException: Invalid Protocol localhost:1111
testSetAddressDatagram
junit.framework.ComparisonFailure: expected:<...localhost...> but was:<...pyx2.pyx4j.com...>
testConnection
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found
testSecurityInfo
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found
testResponseCode
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found
testInputStream
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found
testDataInputStream
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found
testContentConnection
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found
testHeaders
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found
testBody
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found
testJ2MEtoJ2SE
java.net.BindException: Address already in use
testJ2MEtoJ2ME
java.net.BindException: Address already in use
testJ2SEtoJ2SE
java.net.BindException: Address already in use
testNewDatagramInt
java.lang.IllegalArgumentException: Invalid Protocol localhost:1234
testNewDatagramIntString
java.lang.IllegalArgumentException: Invalid Protocol localhost:123
testNewDatagramByteArrayInt
java.lang.IllegalArgumentException: Invalid Protocol localhost:1234
testNewDatagramByteArrayIntString
java.lang.IllegalArgumentException: Invalid Protocol localhost:123
testOpenConnection
java.lang.IllegalArgumentException: Port missing