Surefire Report

Summary


TestsErrors FailuresSkippedSuccess RateTime
6807089.706%6.827

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

Package List


PackageTestsErrors FailuresSkippedSuccess RateTime
org.microemu.device.impl8000100%0.096
org.microemu.app.classloader4000100%2.191
org.microemu.util3000100%0.021
org.microemu.app.util10000100%0.104
org.microemu.cldc.datagram2307069.565%0.583
javax.microedition.io20000100%3.832

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

org.microemu.device.impl

ClassTestsErrors FailuresSkippedSuccess RateTime
DeviceXMLInheritTest6000100%0.04
PolygonTest2000100%0.056

org.microemu.app.classloader

ClassTestsErrors FailuresSkippedSuccess RateTime
MIDletClassLoaderTest4000100%2.191

org.microemu.util

ClassTestsErrors FailuresSkippedSuccess RateTime
Base64CoderTest3000100%0.021

org.microemu.app.util

ClassTestsErrors FailuresSkippedSuccess RateTime
MIDletResourceInputStreamTest1000100%0.019
IOUtilsTest1000100%0.021
MIDletOutputStreamRedirectorTest7000100%0.033
FileRecordStoreManagerTest1000100%0.031

org.microemu.cldc.datagram

ClassTestsErrors FailuresSkippedSuccess RateTime
EndToEndDatagramTest4000100%0.476
ConnectionTest704042.857%0.058
DatagramImplTest1203075%0.049

javax.microedition.io

ClassTestsErrors FailuresSkippedSuccess RateTime
HttpConnectionTest7000100%0.154
HttpsConnectionTest9000100%1.873
SSLConnectionTest2000100%0.659
SocketConnectionTest2000100%1.146

Test Cases

HttpConnectionTest

testConnection0.098
testResponseCode0.002
testInputStream0.002
testDataInputStream0.002
testContentConnection0.003
testHeaders0.007
testBody0.007

HttpsConnectionTest

testConnection1.678
testSecurityInfo0.006
testWrongCertificate0.088
testResponseCode0.012
testInputStream0.007
testDataInputStream0.006
testContentConnection0.006
testHeaders0.015
testBody0.012

MIDletResourceInputStreamTest

testReadPart0.003

SSLConnectionTest

testSecureConnection0.587
testSecurityInfo0.048

SocketConnectionTest

testLoopback1.08
testServerSocketConnection0.046

IOUtilsTest

testCanonicalFileURL0.005

EndToEndDatagramTest

testJ2SEtoJ2ME0.13
testJ2MEtoJ2SE0.11
testJ2MEtoJ2ME0.11
testJ2SEtoJ2SE0.109

MIDletOutputStreamRedirectorTest

testRedirectStack0.01
testRedirectMultiLine0
testRedirectStackFromThread0.002
testMIDletInternalLogger0.001
testMIDletInternalLoggerSubClass0.001
testMIDletInternalStaticLogger0.001
testMIDletInternalStaticLoggerFromThread0.001

FileRecordStoreManagerTest

testSpecialCharacter0.015

Base64CoderTest

testEncode0.004
testDecode0
testAllBytes0

DeviceXMLInheritTest

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

ConnectionTest

testNewDatagramInt 0.024
expected:<localhost...> but was:<pyx2.pyx4j.com...>
testNewDatagramIntString 0
expected:<localhost...> but was:<pyx2.pyx4j.com...>
testNewDatagramByteArrayInt 0
expected:<localhost...> but was:<pyx2.pyx4j.com...>
testNewDatagramByteArrayIntString 0
expected:<localhost...> but was:<pyx2.pyx4j.com...>
testGetLocalAddress0.003
testGetLocalPort0
testOpenConnection0

DatagramImplTest

testDatagramImplInt0.006
testDatagramImplByteArrayInt0
testGetAddress 0.008
expected:<localhost...> but was:<pyx2.pyx4j.com...>
testGetData0
testGetLength0.001
testSetAddressString 0
expected:<localhost...> but was:<pyx2.pyx4j.com...>
testSetAddressDatagram 0
expected:<localhost...> but was:<pyx2.pyx4j.com...>
testReadWriteBoolean0
testReadWriteByte0.001
testReadWriteChar0
testReadWriteUTF0.002
testSkipBytes0

MIDletClassLoaderTest

testGetResourceAsStream0.007
testApplication0.044
testTimer0.015
testTimerCancell2.111

PolygonTest

testTriangleContains0.025
testComplexContains0.012

Failure Details


testNewDatagramInt
junit.framework.ComparisonFailure: expected:<localhost...> but was:<pyx2.pyx4j.com...>
testNewDatagramIntString
junit.framework.ComparisonFailure: expected:<localhost...> but was:<pyx2.pyx4j.com...>
testNewDatagramByteArrayInt
junit.framework.ComparisonFailure: expected:<localhost...> but was:<pyx2.pyx4j.com...>
testNewDatagramByteArrayIntString
junit.framework.ComparisonFailure: expected:<localhost...> but was:<pyx2.pyx4j.com...>
testGetAddress
junit.framework.ComparisonFailure: expected:<localhost...> but was:<pyx2.pyx4j.com...>
testSetAddressString
junit.framework.ComparisonFailure: expected:<localhost...> but was:<pyx2.pyx4j.com...>
testSetAddressDatagram
junit.framework.ComparisonFailure: expected:<localhost...> but was:<pyx2.pyx4j.com...>