Apache Commons logo Apache Commons Net™ logo

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
305 0 0 19 93.77% 96.235

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


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
org.apache.commons.net.imap 1 0 0 0 100% 0.014
org.apache.commons.net 16 0 0 0 100% 0.014
org.apache.commons.net.ftp 35 0 0 0 100% 4.551
org.apache.commons.net.util 37 0 0 19 48.649% 0.009
org.apache.commons.net.smtp 6 0 0 0 100% 0.041
org.apache.commons.net.examples 1 0 0 0 100% 0.873
org.apache.commons.net.nntp 6 0 0 0 100% 0.011
org.apache.commons.net.ntp 18 0 0 0 100% 1.98
org.apache.commons.net.time 2 0 0 0 100% 1.001
org.apache.commons.net.telnet 38 0 0 0 100% 46.664
org.apache.commons.net.tftp 9 0 0 0 100% 40.465
org.apache.commons.net.ftp.parser 122 0 0 0 100% 0.589
org.apache.commons.net.io 14 0 0 0 100% 0.023

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

org.apache.commons.net.imap

Class Tests Errors Failures Skipped Success Rate Time
IMAPTest 1 0 0 0 100% 0.014

org.apache.commons.net

Class Tests Errors Failures Skipped Success Rate Time
SocketClientTest 1 0 0 0 100% 0.003
SubnetUtilsTest 15 0 0 0 100% 0.011

org.apache.commons.net.ftp

Class Tests Errors Failures Skipped Success Rate Time
FTPClientConfigTest 6 0 0 0 100% 0.022
FTPClientTest 11 0 0 0 100% 0.005
FTPCommandTest 1 0 0 0 100% 0.011
FTPSClientTest 16 0 0 0 100% 3.979
TestConnectTimeout 1 0 0 0 100% 0.534

org.apache.commons.net.util

Class Tests Errors Failures Skipped Success Rate Time
Base64Test 28 0 0 19 32.143% 0.005
UtilTest 9 0 0 0 100% 0.004

org.apache.commons.net.smtp

Class Tests Errors Failures Skipped Success Rate Time
SimpleSMTPHeaderTestCase 6 0 0 0 100% 0.041

org.apache.commons.net.examples

Class Tests Errors Failures Skipped Success Rate Time
MainTest 1 0 0 0 100% 0.873

org.apache.commons.net.nntp

Class Tests Errors Failures Skipped Success Rate Time
TestThreader 6 0 0 0 100% 0.011

org.apache.commons.net.ntp

Class Tests Errors Failures Skipped Success Rate Time
TestNtpClient 1 0 0 0 100% 1.959
TestNtpPacket 7 0 0 0 100% 0.012
TestTimeInfo 6 0 0 0 100% 0.005
TimeStampTest 4 0 0 0 100% 0.004

org.apache.commons.net.time

Class Tests Errors Failures Skipped Success Rate Time
TimeTCPClientTest 2 0 0 0 100% 1.001

org.apache.commons.net.telnet

Class Tests Errors Failures Skipped Success Rate Time
EchoOptionHandlerTest 5 0 0 0 100% 0.005
InvalidTelnetOptionExceptionTest 1 0 0 0 100% 0.012
SimpleOptionHandlerTest 5 0 0 0 100% 0.017
SuppressGAOptionHandlerTest 5 0 0 0 100% 0.009
TelnetClientTest 9 0 0 0 100% 46.58
TelnetOptionTest 2 0 0 0 100% 0.006
TerminalTypeOptionHandlerTest 5 0 0 0 100% 0.024
WindowSizeOptionHandlerTest 6 0 0 0 100% 0.011

org.apache.commons.net.tftp

Class Tests Errors Failures Skipped Success Rate Time
TFTPServerPathTest 3 0 0 0 100% 0.023
TFTPTest 6 0 0 0 100% 40.442

org.apache.commons.net.ftp.parser

Class Tests Errors Failures Skipped Success Rate Time
DefaultFTPFileEntryParserFactoryTest 2 0 0 0 100% 0.038
EnterpriseUnixFTPEntryParserTest 6 0 0 0 100% 0.032
FTPConfigEntryParserTest 2 0 0 0 100% 0.019
FTPTimestampParserImplTest 18 0 0 0 100% 0.175
MacOsPeterFTPEntryParserTest 6 0 0 0 100% 0.032
MLSxEntryParserTest 6 0 0 0 100% 0.2
MVSFTPEntryParserTest 10 0 0 0 100% 0.007
NetwareFTPEntryParserTest 6 0 0 0 100% 0.014
NTFTPEntryParserTest 14 0 0 0 100% 0.015
OS2FTPEntryParserTest 6 0 0 0 100% 0.01
OS400FTPEntryParserAdditionalTest 8 0 0 0 100% 0.02
OS400FTPEntryParserTest 9 0 0 0 100% 0.01
UnixFTPEntryParserTest 21 0 0 0 100% 0.011
VMSFTPEntryParserTest 8 0 0 0 100% 0.006

org.apache.commons.net.io

Class Tests Errors Failures Skipped Success Rate Time
DotTerminatedMessageReaderTest 12 0 0 0 100% 0.014
ToNetASCIIInputStreamTest 2 0 0 0 100% 0.009

Test Cases

[Summary] [Package List] [Test Cases]

MainTest

checkExamplesPropertiesIsComplete 0.678

FTPClientConfigTest

testFTPClientConfigStringStringStringStringStringString 0
testLookupDateFormatSymbols 0
testGetDateFormatSymbols 0.001
testGetServerLanguageCode 0
testFTPClientConfigString 0
testSetShortMonthNames 0

FTPClientTest

testParsePassiveModeReplyForLocalAddressWithoutNatWorkaroundStrategy 0
testParseClient 0
testParsePassiveModeReplyForNonLocalAddressWithoutNatWorkaroundStrategy 0
testParserCachingWithKey 0
testParsePassiveModeReplyForLocalAddressWithNatWorkaround 0
testParsePassiveModeReplyForNonLocalAddressWithNatWorkaround 0
testParsePassiveModeReplyForLocalAddressWithSimpleNatWorkaroundStrategy 0
testParserCachingNullKey 0
testUnparseableFiles 0
testParsePassiveModeReplyForNonLocalAddressWithNatWorkaroundDisabled 0
testParsePassiveModeReplyForLocalAddressWithNatWorkaroundDisabled 0

FTPCommandTest

testArray 0.001

FTPSClientTest

testOpenClose[endpointCheckingEnabled=false] 0.44
testRetrieveFilePathNameRoot[endpointCheckingEnabled=false] 0.165
testListFilesPathNameJunk[endpointCheckingEnabled=false] 0.073
testListFilesPathNameNull[endpointCheckingEnabled=false] 0.129
testListFilesPathNameRoot[endpointCheckingEnabled=false] 0.136
testListFilesPathNameEmpty[endpointCheckingEnabled=false] 0.119
testHasFeature[endpointCheckingEnabled=false] 0.046
testMdtmCalendar[endpointCheckingEnabled=false] 0.048
testOpenClose[endpointCheckingEnabled=true] 0.063
testRetrieveFilePathNameRoot[endpointCheckingEnabled=true] 0.107
testListFilesPathNameJunk[endpointCheckingEnabled=true] 0.054
testListFilesPathNameNull[endpointCheckingEnabled=true] 0.101
testListFilesPathNameRoot[endpointCheckingEnabled=true] 0.131
testListFilesPathNameEmpty[endpointCheckingEnabled=true] 0.075
testHasFeature[endpointCheckingEnabled=true] 0.04
testMdtmCalendar[endpointCheckingEnabled=true] 0.032

DefaultFTPFileEntryParserFactoryTest

testDefaultParserFactory 0.002
testDefaultParserFactoryConfig 0.029

EnterpriseUnixFTPEntryParserTest

testParseFieldsOnFile 0.001
testParseFieldsOnDirectory 0
testDefaultPrecision 0
testRecentPrecision 0
testBadListing 0
testGoodListing 0

FTPConfigEntryParserTest

testParseEntryWithSymlink 0
testParseFieldsOnAIX 0

FTPTimestampParserImplTest

testParseJan01Lenient 0
testParseShortPastDates1 0
testParseShortPastDates2 0.001
testParseJan01 0
testFeb29LeapYear 0
testParseTimestampWithSlop 0
testParseDec31Lenient 0
testFeb29IfLeapYear 0.061
testFeb29LeapYear2 0.001
testFeb29LeapYear3 0
testFeb29LeapYear4 0.001
testParseTimestampAcrossTimeZones 0
testParseTimestamp 0
testFeb29NonLeapYear 0
testParseShortFutureDates1 0
testParseShortFutureDates2 0
testNET444 0
testParser 0.001

MacOsPeterFTPEntryParserTest

testParseFieldsOnFile 0
testParseFieldsOnDirectory 0
testDefaultPrecision 0
testRecentPrecision 0
testBadListing 0
testGoodListing 0.001

MLSxEntryParserTest

testParseFieldsOnFile 0
testParseFieldsOnDirectory 0
testDefaultPrecision 0
testRecentPrecision 0
testBadListing 0
testGoodListing 0

MVSFTPEntryParserTest

testUnixListings 0
testJesLevel1Listing 0
testParseFieldsOnFile 0
testParseFieldsOnDirectory 0
testDefaultPrecision 0
testGoodListing 0
testMemberListing 0
testRecentPrecision 0
testJesLevel2Listing 0
testBadListing 0

NetwareFTPEntryParserTest

testParseFieldsOnFile 0
testParseFieldsOnDirectory 0
testDefaultPrecision 0
testRecentPrecision 0
testBadListing 0
testGoodListing 0

NTFTPEntryParserTest

testDirectoryBeginningWithNumberFollowedBySpaces 0
testParseFieldsOnFile 0.001
testParseFieldsOnDirectory 0.001
testDefaultPrecision 0
testParseLeadingDigits 0
testDirectoryBeginningWithNumber 0
testRecentPrecision 0
testNET339 0
testNET516 0
testGroupNameWithSpaces 0.001
testBadListing 0
testInconsistentListing 0
testConsistentListing 0
testGoodListing 0

OS2FTPEntryParserTest

testParseFieldsOnFile 0
testParseFieldsOnDirectory 0
testDefaultPrecision 0
testRecentPrecision 0
testBadListing 0
testGoodListing 0

OS400FTPEntryParserAdditionalTest

testParseFieldsOnFile 0
testParseFieldsOnDirectory 0
testDefaultPrecision 0
testRecentPrecision 0
testBadListing 0
testInconsistentListing 0
testConsistentListing 0
testGoodListing 0

OS400FTPEntryParserTest

testParseFieldsOnFile 0
testParseFieldsOnDirectory 0
testDefaultPrecision 0
testRecentPrecision 0
testNET573 0
testBadListing 0
testInconsistentListing 0
testConsistentListing 0
testGoodListing 0

UnixFTPEntryParserTest

testCorrectGroupNameParsing 0
testTrailingSpaces 0
testNameWIthPunctuation 0
testParseFieldsOnFile 0
testParseFieldsOnDirectory 0
testDefaultPrecision 0
testParseFieldsOnFileJapaneseTime 0
testParseFieldsOnFileJapaneseYear 0
testFilenamesWithEmbeddedNumbers 0
testLeadingSpacesDefault 0
testOwnerNameWithSpaces 0
testNumericDateFormat 0
testRecentPrecision 0
testLeadingSpacesNET566 0
testTrimLeadingSpacesNET566 0
testNET294 0
testOwnerAndGroupNameWithSpaces 0
testGroupNameWithSpaces 0
testNoSpacesBeforeFileSize 0
testBadListing 0
testGoodListing 0.001

VMSFTPEntryParserTest

testParseFieldsOnFile 0
testParseFieldsOnDirectory 0
testDefaultPrecision 0
testRecentPrecision 0
testWholeListParseWithVersioning 0
testWholeListParse 0
testBadListing 0
testGoodListing 0

TestConnectTimeout

testConnectTimeout 0.53

IMAPTest

checkGenerator 0.011

DotTerminatedMessageReaderTest

testEmbeddedDot1 0.001
testEmbeddedDot2 0
testEmbeddedDot3 0
testEmbeddedDot4 0
testReadSimpleStringCrLfLineEnding 0
testDoubleCrBeforeDot 0
testSingleDotWithTrailingText 0
testReadLine1 0
testReadLine2 0
testLeadingDot 0
testEmbeddedNewlines 0
testReadSimpleStringLfLineEnding 0

ToNetASCIIInputStreamTest

testToNetASCIIInputStream1 0
testToNetASCIIInputStream_single_bytes 0

TestThreader

testEmptyArray 0
testNullList 0
testEmptyList 0
testEmptyIterable 0
testNullArray 0
testNullIterable 0

TestNtpClient

testGetTime 0.02

TestNtpPacket

testCreateFromBytes 0
testCreateNtpV4 0
testCreateFromBadPacket 0
testCreateFromNullPacket 0
testCreateAndSetByte0 0
testCreate 0
testEquals 0

TestTimeInfo

testException 0.001
testAddress 0
testEquals 0
testZeroTime 0
testNotEquals 0
testComputeDetails 0

TimeStampTest

testCompare 0
testNotSame 0
testUTCString 0
testDateConversion 0

SimpleSMTPHeaderTestCase

testToStringAddHeaderDate 0
testToString 0
testToStringNoSubject 0
testToStringAddHeader 0
testToStringNoTo 0
testToStringNoFrom 0

SocketClientTest

testProxySettings 0

SubnetUtilsTest

testNET428_31 0
testNET428_32 0
testParseSimpleNetmaskInclusive 0
testZeroAddressAndCidr 0
testParseSimpleNetmask 0
testParseSimpleNetmaskExclusive 0
testNET520 0
testNET521 0
testNET624 0
testNET641 0
testNET675 0
testNET679 0
testInvalidMasks 0
testAddresses 0
testCidrAddresses 0

EchoOptionHandlerTest

testAnswerSubnegotiation 0
testStartSubnegotiation 0
testConstructors 0
testWill 0
testDo 0

InvalidTelnetOptionExceptionTest

testConstructors 0.001

SimpleOptionHandlerTest

testAnswerSubnegotiation 0
testStartSubnegotiation 0
testConstructors 0
testWill 0
testDo 0

SuppressGAOptionHandlerTest

testAnswerSubnegotiation 0
testStartSubnegotiation 0
testConstructors 0
testWill 0
testDo 0

TelnetClientTest

testAYT 4.665
testSpy 5.043
testMaxSubnegotiationLength 3.041
testOptionRenegotiation 5.056
testSetReaderThread 5.056
testOptionNegotiation 9.064
testInitial 5.035
testNotification 4.554
testDeleteOptionHandler 5.062

TelnetOptionTest

testGetOption 0
testisValidOption 0

TerminalTypeOptionHandlerTest

testAnswerSubnegotiation 0
testStartSubnegotiation 0
testConstructors 0
testWill 0
testDo 0

WindowSizeOptionHandlerTest

testAnswerSubnegotiation 0
testStartSubnegotiation 0
testConstructors 0
testStartSubnegotiationLocal 0
testWill 0
testDo 0

TFTPServerPathTest

testWriteOnly 0
testReadOnly 0
testWriteOutsideHome 0.013

TFTPTest

testASCIIDownloads 0.581
testASCIIUploads 9.21
testHugeDownloads 14.538
testHugeUploads 13.735
testTFTPBinaryDownloads 0.46
testTFTPBinaryUploads 0.979

TimeTCPClientTest

testCompareTimes 0.998
testInitial 0

Base64Test

testDecodeBase64ByteArray 0
skipped
testEncodeBase64ByteArrayBoolean 0
skipped
testEncodeByteArray 0
skipped
testEncodeBase64URLSafe 0
skipped
testDecodeBase64String 0
skipped
testBase64Boolean 0
testBase64Int 0
testEncodeBase64ByteArray 0
testDecodeObject 0
skipped
testDecodeString 0
skipped
testDecodeInteger 0
skipped
testEncodeBase64StringByteArray 0
skipped
testIsBase64 0
testEncodeObject 0
skipped
testEncodeBase64Chunked 0
skipped
testEncodeBase64StringByteArrayBoolean 0
skipped
testEncodeInteger 0
skipped
testBase64IntByteArray 0
testEncodeBase64URLSafeString 0
skipped
testEncodeBase64ByteArrayBooleanBooleanInt 0
testIsArrayByteBase64 0
testDecodeByteArray 0
skipped
testToIntegerBytes 0
skipped
testBase64 0
testEncodeToString 0
skipped
testEncodeBase64ByteArrayBooleanBoolean 0
skipped
testEncodeBase64StringUnChunked 0
skipped
testBase64IntByteArrayBoolean 0

UtilTest

testStream_1 0
testNET550_Reader 0
testNET550_Stream 0
testReader_1 0
testcloseQuietly 0
testReader0 0
testReader1 0
testStream0 0
testStream1 0

Failure Details

[Summary] [Package List] [Test Cases]


testDecodeBase64ByteArray
skipped: skipped
testEncodeBase64ByteArrayBoolean
skipped: skipped
testEncodeByteArray
skipped: skipped
testEncodeBase64URLSafe
skipped: skipped
testDecodeBase64String
skipped: skipped
testDecodeObject
skipped: skipped
testDecodeString
skipped: skipped
testDecodeInteger
skipped: skipped
testEncodeBase64StringByteArray
skipped: skipped
testEncodeObject
skipped: skipped
testEncodeBase64Chunked
skipped: skipped
testEncodeBase64StringByteArrayBoolean
skipped: skipped
testEncodeInteger
skipped: skipped
testEncodeBase64URLSafeString
skipped: skipped
testDecodeByteArray
skipped: skipped
testToIntegerBytes
skipped: skipped
testEncodeToString
skipped: skipped
testEncodeBase64ByteArrayBooleanBoolean
skipped: skipped
testEncodeBase64StringUnChunked
skipped: skipped