Apache Commons logo Apache Commons Net™ logo

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
283 0 0 19 93.286% 64.057

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.telnet 37 0 0 0 100% 43.653
org.apache.commons.net.imap 1 0 0 0 100% 0.023
org.apache.commons.net.nntp 6 0 0 0 100% 0
org.apache.commons.net.ntp 18 0 0 0 100% 2.011
org.apache.commons.net.io 14 0 0 0 100% 0.001
org.apache.commons.net.ftp 19 0 0 0 100% 0.142
org.apache.commons.net.time 2 0 0 0 100% 1.001
org.apache.commons.net.smtp 6 0 0 0 100% 0
org.apache.commons.net.ftp.parser 121 0 0 0 100% 0.21
org.apache.commons.net.tftp 9 0 0 0 100% 16.916
org.apache.commons.net 12 0 0 0 100% 0.001
examples 1 0 0 0 100% 0.09
org.apache.commons.net.util 37 0 0 19 48.649% 0.009

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

org.apache.commons.net.telnet

Class Tests Errors Failures Skipped Success Rate Time
EchoOptionHandlerTest 5 0 0 0 100% 0
InvalidTelnetOptionExceptionTest 1 0 0 0 100% 0
SimpleOptionHandlerTest 5 0 0 0 100% 0
SuppressGAOptionHandlerTest 5 0 0 0 100% 0
TelnetClientTest 8 0 0 0 100% 43.653
TelnetOptionTest 2 0 0 0 100% 0
TerminalTypeOptionHandlerTest 5 0 0 0 100% 0
WindowSizeOptionHandlerTest 6 0 0 0 100% 0

org.apache.commons.net.imap

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

org.apache.commons.net.nntp

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

org.apache.commons.net.ntp

Class Tests Errors Failures Skipped Success Rate Time
TestNtpClient 1 0 0 0 100% 2.011
TestNtpPacket 7 0 0 0 100% 0
TestTimeInfo 6 0 0 0 100% 0
TimeStampTest 4 0 0 0 100% 0

org.apache.commons.net.io

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

org.apache.commons.net.ftp

Class Tests Errors Failures Skipped Success Rate Time
FTPClientConfigTest 6 0 0 0 100% 0.017
FTPClientTest 11 0 0 0 100% 0.025
FTPCommandTest 1 0 0 0 100% 0
TestConnectTimeout 1 0 0 0 100% 0.1

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.smtp

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

org.apache.commons.net.ftp.parser

Class Tests Errors Failures Skipped Success Rate Time
DefaultFTPFileEntryParserFactoryTest 2 0 0 0 100% 0.019
EnterpriseUnixFTPEntryParserTest 6 0 0 0 100% 0.005
FTPConfigEntryParserTest 2 0 0 0 100% 0.001
FTPTimestampParserImplTest 18 0 0 0 100% 0.027
MacOsPeterFTPEntryParserTest 6 0 0 0 100% 0.008
MLSxEntryParserTest 6 0 0 0 100% 0.003
MVSFTPEntryParserTest 9 0 0 0 100% 0.006
NetwareFTPEntryParserTest 6 0 0 0 100% 0.005
NTFTPEntryParserTest 14 0 0 0 100% 0.052
OS2FTPEntryParserTest 6 0 0 0 100% 0.003
OS400FTPEntryParserAdditionalTest 8 0 0 0 100% 0.011
OS400FTPEntryParserTest 9 0 0 0 100% 0.018
UnixFTPEntryParserTest 21 0 0 0 100% 0.043
VMSFTPEntryParserTest 8 0 0 0 100% 0.009

org.apache.commons.net.tftp

Class Tests Errors Failures Skipped Success Rate Time
TFTPServerPathTest 3 0 0 0 100% 0.002
TFTPTest 6 0 0 0 100% 16.914

org.apache.commons.net

Class Tests Errors Failures Skipped Success Rate Time
SocketClientTest 1 0 0 0 100% 0
SubnetUtilsTest 11 0 0 0 100% 0.001

examples

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

org.apache.commons.net.util

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

Test Cases

[Summary] [Package List] [Test Cases]

MainTest

checkExamplesPropertiesIsComplete 0.036

FTPClientConfigTest

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

FTPClientTest

testParsePassiveModeReplyForLocalAddressWithoutNatWorkaroundStrategy 0.003
testParseClient 0.001
testParsePassiveModeReplyForNonLocalAddressWithoutNatWorkaroundStrategy 0
testParserCachingWithKey 0.007
testParsePassiveModeReplyForLocalAddressWithNatWorkaround 0.003
testParsePassiveModeReplyForNonLocalAddressWithNatWorkaround 0
testParsePassiveModeReplyForLocalAddressWithSimpleNatWorkaroundStrategy 0.001
testParserCachingNullKey 0.002
testUnparseableFiles 0.006
testParsePassiveModeReplyForNonLocalAddressWithNatWorkaroundDisabled 0.001
testParsePassiveModeReplyForLocalAddressWithNatWorkaroundDisabled 0

FTPCommandTest

testArray 0

DefaultFTPFileEntryParserFactoryTest

testDefaultParserFactory 0.007
testDefaultParserFactoryConfig 0.011

EnterpriseUnixFTPEntryParserTest

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

FTPConfigEntryParserTest

testParseEntryWithSymlink 0
testParseFieldsOnAIX 0.001

FTPTimestampParserImplTest

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

MacOsPeterFTPEntryParserTest

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

MLSxEntryParserTest

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

MVSFTPEntryParserTest

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

NetwareFTPEntryParserTest

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

NTFTPEntryParserTest

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

OS2FTPEntryParserTest

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

OS400FTPEntryParserAdditionalTest

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

OS400FTPEntryParserTest

testParseFieldsOnFile 0
testParseFieldsOnDirectory 0.001
testDefaultPrecision 0.002
testRecentPrecision 0.002
testNET573 0.001
testBadListing 0.004
testInconsistentListing 0.002
testConsistentListing 0.004
testGoodListing 0.002

UnixFTPEntryParserTest

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

VMSFTPEntryParserTest

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

TestConnectTimeout

testConnectTimeout 0.1

IMAPTest

checkGenerator 0.023

DotTerminatedMessageReaderTest

testEmbeddedDot1 0
testEmbeddedDot2 0
testEmbeddedDot3 0
testEmbeddedDot4 0
testReadSimpleStringCrLfLineEnding 0
testDoubleCrBeforeDot 0
testSingleDotWithTrailingText 0
testReadLine1 0.001
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.007

TestNtpPacket

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

TestTimeInfo

testException 0
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.001
testParseSimpleNetmask 0
testParseSimpleNetmaskExclusive 0
testNET520 0
testNET521 0
testInvalidMasks 0
testAddresses 0
testCidrAddresses 0

EchoOptionHandlerTest

testAnswerSubnegotiation 0
testStartSubnegotiation 0
testConstructors 0
testWill 0
testDo 0

InvalidTelnetOptionExceptionTest

testConstructors 0

SimpleOptionHandlerTest

testAnswerSubnegotiation 0
testStartSubnegotiation 0
testConstructors 0
testWill 0
testDo 0

SuppressGAOptionHandlerTest

testAnswerSubnegotiation 0
testStartSubnegotiation 0
testConstructors 0
testWill 0
testDo 0

TelnetClientTest

testAYT 5.005
testSpy 5.026
testOptionRenegotiation 5.023
testSetReaderThread 5.022
testOptionNegotiation 9.021
testInitial 5.018
testNotification 4.521
testDeleteOptionHandler 5.017

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.002

TFTPTest

testASCIIDownloads 2.145
testASCIIUploads 1.449
testHugeDownloads 5.851
testHugeUploads 5.934
testTFTPBinaryDownloads 0.152
testTFTPBinaryUploads 0.764

TimeTCPClientTest

testCompareTimes 1
testInitial 0.001

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