Apache Commons logo Apache Commons Net™ logo

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
314 0 0 19 93.949% 69.756

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
20 0 0 0 100% 5.181
org.apache.commons.net 20 0 0 0 100% 0.014
org.apache.commons.net.imap 1 0 0 0 100% 0.032
org.apache.commons.net.ftp 19 0 0 0 100% 1.028
org.apache.commons.net.util 37 0 0 19 48.649% 0.029
org.apache.commons.net.smtp 6 0 0 0 100% 0.004
org.apache.commons.net.examples 1 0 0 0 100% 0.049
org.apache.commons.net.nntp 6 0 0 0 100% 0.003
org.apache.commons.net.ntp 18 0 0 0 100% 2.024
org.apache.commons.net.time 2 0 0 0 100% 1.017
org.apache.commons.net.telnet 38 0 0 0 100% 46.699
org.apache.commons.net.tftp 9 0 0 0 100% 13.367
org.apache.commons.net.ftp.parser 123 0 0 0 100% 0.285
org.apache.commons.net.io 14 0 0 0 100% 0.024

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

Class Tests Errors Failures Skipped Success Rate Time
FTPSClientTest 20 0 0 0 100% 5.181

org.apache.commons.net

Class Tests Errors Failures Skipped Success Rate Time
SocketClientTest 1 0 0 0 100% 0.002
SubnetUtilsTest 19 0 0 0 100% 0.012

org.apache.commons.net.imap

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

org.apache.commons.net.ftp

Class Tests Errors Failures Skipped Success Rate Time
FTPClientTest 11 0 0 0 100% 0.008
FTPCommandTest 1 0 0 0 100% 0.001
TestConnectTimeout 1 0 0 0 100% 1.01
FTPClientConfigTest 6 0 0 0 100% 0.009

org.apache.commons.net.util

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

org.apache.commons.net.smtp

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

org.apache.commons.net.examples

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

org.apache.commons.net.nntp

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

org.apache.commons.net.ntp

Class Tests Errors Failures Skipped Success Rate Time
TimeStampTest 4 0 0 0 100% 0.001
TestTimeInfo 6 0 0 0 100% 0.01
TestNtpPacket 7 0 0 0 100% 0.003
TestNtpClient 1 0 0 0 100% 2.01

org.apache.commons.net.time

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

org.apache.commons.net.telnet

Class Tests Errors Failures Skipped Success Rate Time
TelnetOptionTest 2 0 0 0 100% 0
TelnetClientTest 9 0 0 0 100% 46.692
TerminalTypeOptionHandlerTest 5 0 0 0 100% 0.001
SuppressGAOptionHandlerTest 5 0 0 0 100% 0.001
EchoOptionHandlerTest 5 0 0 0 100% 0.001
SimpleOptionHandlerTest 5 0 0 0 100% 0.002
WindowSizeOptionHandlerTest 6 0 0 0 100% 0.002
InvalidTelnetOptionExceptionTest 1 0 0 0 100% 0

org.apache.commons.net.tftp

Class Tests Errors Failures Skipped Success Rate Time
TFTPTest 6 0 0 0 100% 13.334
TFTPServerPathTest 3 0 0 0 100% 0.033

org.apache.commons.net.ftp.parser

Class Tests Errors Failures Skipped Success Rate Time
UnixFTPEntryParserTest 21 0 0 0 100% 0.03
OS400FTPEntryParserAdditionalTest 8 0 0 0 100% 0.029
NTFTPEntryParserTest 14 0 0 0 100% 0.036
FTPConfigEntryParserTest 2 0 0 0 100% 0.004
MacOsPeterFTPEntryParserTest 6 0 0 0 100% 0.011
EnterpriseUnixFTPEntryParserTest 6 0 0 0 100% 0.021
OS400FTPEntryParserTest 10 0 0 0 100% 0.038
MLSxEntryParserTest 6 0 0 0 100% 0.005
NetwareFTPEntryParserTest 6 0 0 0 100% 0.021
DefaultFTPFileEntryParserFactoryTest 2 0 0 0 100% 0.019
FTPTimestampParserImplTest 18 0 0 0 100% 0.028
MVSFTPEntryParserTest 10 0 0 0 100% 0.015
OS2FTPEntryParserTest 6 0 0 0 100% 0.011
VMSFTPEntryParserTest 8 0 0 0 100% 0.017

org.apache.commons.net.io

Class Tests Errors Failures Skipped Success Rate Time
DotTerminatedMessageReaderTest 12 0 0 0 100% 0.018
ToNetASCIIInputStreamTest 2 0 0 0 100% 0.006

Test Cases

[Summary] [Package List] [Test Cases]

TelnetOptionTest

testGetOption 0
testisValidOption 0

Base64Test

testDecodeBase64ByteArray 0
skipped
testEncodeBase64ByteArrayBoolean 0
skipped
testEncodeByteArray 0
skipped
testEncodeBase64URLSafe 0
skipped
testDecodeBase64String 0
skipped
testBase64Boolean 0.008
testBase64Int 0
testEncodeBase64ByteArray 0.001
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.001

UnixFTPEntryParserTest

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

TelnetClientTest

testAYT 5.028
testSpy 5.022
testMaxSubnegotiationLength 3.02
testOptionRenegotiation 5.013
testSetReaderThread 5.019
testOptionNegotiation 9.033
testInitial 5.016
testNotification 4.519
testDeleteOptionHandler 5.018

OS400FTPEntryParserAdditionalTest

testParseFieldsOnFile 0.017
testParseFieldsOnDirectory 0.003
testDefaultPrecision 0.001
testRecentPrecision 0.001
testBadListing 0.002
testInconsistentListing 0.001
testConsistentListing 0.001
testGoodListing 0.001

NTFTPEntryParserTest

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

MainTest

checkExamplesPropertiesIsComplete 0.049

TestThreader

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

FTPConfigEntryParserTest

testParseEntryWithSymlink 0.001
testParseFieldsOnAIX 0.001

MacOsPeterFTPEntryParserTest

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

EnterpriseUnixFTPEntryParserTest

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

TimeStampTest

testCompare 0
testNotSame 0
testUTCString 0.001
testDateConversion 0

FTPClientTest

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

DotTerminatedMessageReaderTest

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

SimpleSMTPHeaderTestCase

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

TFTPTest

testASCIIDownloads 3.091
testASCIIUploads 1.819
testHugeDownloads 3.965
testHugeUploads 3.645
testTFTPBinaryDownloads 0.094
testTFTPBinaryUploads 0.719

TFTPServerPathTest

testWriteOnly 0.026
testReadOnly 0.004
testWriteOutsideHome 0.002

TerminalTypeOptionHandlerTest

testAnswerSubnegotiation 0
testStartSubnegotiation 0
testConstructors 0
testWill 0
testDo 0

OS400FTPEntryParserTest

testParseFieldsOnFile 0.006
testParseFieldsOnDirectory 0.001
testDefaultPrecision 0.001
testParseFileNameWithSpaces 0.001
testRecentPrecision 0.003
testNET573 0.002
testBadListing 0.008
testInconsistentListing 0.001
testConsistentListing 0.002
testGoodListing 0.002

FTPCommandTest

testArray 0.001

MLSxEntryParserTest

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

NetwareFTPEntryParserTest

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

SocketClientTest

testProxySettings 0.001

SuppressGAOptionHandlerTest

testAnswerSubnegotiation 0
testStartSubnegotiation 0
testConstructors 0
testWill 0
testDo 0

DefaultFTPFileEntryParserFactoryTest

testDefaultParserFactory 0.014
testDefaultParserFactoryConfig 0.004

EchoOptionHandlerTest

testAnswerSubnegotiation 0
testStartSubnegotiation 0
testConstructors 0.001
testWill 0
testDo 0

SimpleOptionHandlerTest

testAnswerSubnegotiation 0
testStartSubnegotiation 0
testConstructors 0
testWill 0.001
testDo 0

ToNetASCIIInputStreamTest

testToNetASCIIInputStream1 0.005
testToNetASCIIInputStream_single_bytes 0

TestTimeInfo

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

WindowSizeOptionHandlerTest

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

TestNtpPacket

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

FTPSClientTest

testOpenClose 0.5
testOpenClose 0.276
testRetrieveFilePathNameRoot 0.317
testRetrieveFilePathNameRoot 0.247
testListFilesPathNameJunk 0.26
testListFilesPathNameJunk 0.227
testListFilesPathNameNull 0.274
testListFilesPathNameNull 0.244
testListFilesPathNameRoot 0.259
testListFilesPathNameRoot 0.247
testMdtmFile 0.237
testMdtmFile 0.223
testMdtmInstant 0.228
testMdtmInstant 0.225
testListFilesPathNameEmpty 0.281
testListFilesPathNameEmpty 0.248
testHasFeature 0.225
testHasFeature 0.219
testMdtmCalendar 0.224
testMdtmCalendar 0.22

FTPTimestampParserImplTest

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

TestConnectTimeout

testConnectTimeout 1.01

MVSFTPEntryParserTest

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

InvalidTelnetOptionExceptionTest

testConstructors 0

TimeTCPClientTest

testCompareTimes 1.015
testInitial 0

OS2FTPEntryParserTest

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

VMSFTPEntryParserTest

testParseFieldsOnFile 0.002
testParseFieldsOnDirectory 0.001
testDefaultPrecision 0.001
testRecentPrecision 0.001
testWholeListParseWithVersioning 0.002
testWholeListParse 0.002
testBadListing 0.003
testGoodListing 0.002

FTPClientConfigTest

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

IMAPTest

checkGenerator 0.032

UtilTest

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

TestNtpClient

testGetTime 0.008

SubnetUtilsTest

testNET428_31 0.001
testNET428_32 0.001
testParseSimpleNetmaskInclusive 0
testNext 0
testToString 0.002
testPrevious 0
testZeroAddressAndCidr 0
testParseSimpleNetmask 0
testAddressIllegalArgument 0
testParseSimpleNetmaskExclusive 0
testNET520 0
testNET521 0
testNET624 0
testNET641 0
testNET675 0
testNET679 0
testInvalidMasks 0
testAddresses 0.002
testCidrAddresses 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