Apache Commons logo Commons Net™ logo

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
271 0 0 19 92.989% 60.861

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.692
org.apache.commons.net.imap 1 0 0 0 100% 0.025
org.apache.commons.net.nntp 6 0 0 0 100% 0.001
org.apache.commons.net.ntp 18 0 0 0 100% 0.007
org.apache.commons.net.io 14 0 0 0 100% 0.004
org.apache.commons.net.ftp 12 0 0 0 100% 0.17
org.apache.commons.net.time 2 0 0 0 100% 1.003
org.apache.commons.net.smtp 6 0 0 0 100% 0.002
org.apache.commons.net.ftp.parser 116 0 0 0 100% 0.219
org.apache.commons.net.tftp 9 0 0 0 100% 15.7
org.apache.commons.net 12 0 0 0 100% 0.003
examples 1 0 0 0 100% 0.032
org.apache.commons.net.util 37 0 0 19 48.649% 0.003

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.692
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.025

org.apache.commons.net.nntp

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

org.apache.commons.net.ntp

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

org.apache.commons.net.io

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

org.apache.commons.net.ftp

Class Tests Errors Failures Skipped Success Rate Time
FTPClientConfigTest 6 0 0 0 100% 0.006
FTPClientTest 4 0 0 0 100% 0.019
FTPCommandTest 1 0 0 0 100% 0
TestConnectTimeout 1 0 0 0 100% 0.145

org.apache.commons.net.time

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

org.apache.commons.net.smtp

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

org.apache.commons.net.ftp.parser

Class Tests Errors Failures Skipped Success Rate Time
DefaultFTPFileEntryParserFactoryTest 2 0 0 0 100% 0.022
EnterpriseUnixFTPEntryParserTest 6 0 0 0 100% 0.005
FTPConfigEntryParserTest 2 0 0 0 100% 0.001
FTPTimestampParserImplTest 15 0 0 0 100% 0.023
MacOsPeterFTPEntryParserTest 6 0 0 0 100% 0.009
MLSxEntryParserTest 6 0 0 0 100% 0.004
MVSFTPEntryParserTest 9 0 0 0 100% 0.007
NetwareFTPEntryParserTest 6 0 0 0 100% 0.006
NTFTPEntryParserTest 14 0 0 0 100% 0.056
OS2FTPEntryParserTest 6 0 0 0 100% 0.006
OS400FTPEntryParserAdditionalTest 8 0 0 0 100% 0.012
OS400FTPEntryParserTest 9 0 0 0 100% 0.02
UnixFTPEntryParserTest 19 0 0 0 100% 0.034
VMSFTPEntryParserTest 8 0 0 0 100% 0.014

org.apache.commons.net.tftp

Class Tests Errors Failures Skipped Success Rate Time
TFTPServerPathTest 3 0 0 0 100% 0.013
TFTPTest 6 0 0 0 100% 15.687

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

examples

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

org.apache.commons.net.util

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

Test Cases

[Summary] [Package List] [Test Cases]

MainTest

checkExamplesPropertiesIsComplete 0.032

FTPClientConfigTest

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

FTPClientTest

testParseClient 0.004
testParserCachingWithKey 0.008
testParserCachingNullKey 0.002
testUnparseableFiles 0.005

FTPCommandTest

testArray 0

DefaultFTPFileEntryParserFactoryTest

testDefaultParserFactory 0.01
testDefaultParserFactoryConfig 0.012

EnterpriseUnixFTPEntryParserTest

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

FTPConfigEntryParserTest

testParseEntryWithSymlink 0
testParseFieldsOnAIX 0.001

FTPTimestampParserImplTest

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

MacOsPeterFTPEntryParserTest

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

MLSxEntryParserTest

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

MVSFTPEntryParserTest

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

NetwareFTPEntryParserTest

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

NTFTPEntryParserTest

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

OS2FTPEntryParserTest

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

OS400FTPEntryParserAdditionalTest

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

OS400FTPEntryParserTest

testParseFieldsOnFile 0.001
testParseFieldsOnDirectory 0.002
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.001
testParseFieldsOnFile 0.001
testParseFieldsOnDirectory 0.001
testDefaultPrecision 0.001
testFilenamesWithEmbeddedNumbers 0.002
testLeadingSpacesDefault 0.002
testOwnerNameWithSpaces 0.001
testNumericDateFormat 0.002
testRecentPrecision 0.002
testLeadingSpacesNET566 0.001
testTrimLeadingSpacesNET566 0.001
testNET294 0.002
testOwnerAndGroupNameWithSpaces 0.001
testGroupNameWithSpaces 0.001
testNoSpacesBeforeFileSize 0.002
testBadListing 0.002
testGoodListing 0.009

VMSFTPEntryParserTest

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

TestConnectTimeout

testConnectTimeout 0.145

IMAPTest

checkGenerator 0.025

DotTerminatedMessageReaderTest

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

ToNetASCIIInputStreamTest

testToNetASCIIInputStream1 0.001
testToNetASCIIInputStream_single_bytes 0.001

TestThreader

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

TestNtpClient

testGetTime 0.005

TestNtpPacket

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

TestTimeInfo

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

TimeStampTest

testCompare 0
testNotSame 0
testUTCString 0.001
testDateConversion 0

SimpleSMTPHeaderTestCase

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

SocketClientTest

testProxySettings 0

SubnetUtilsTest

testNET428_31 0.001
testNET428_32 0
testParseSimpleNetmaskInclusive 0
testZeroAddressAndCidr 0
testParseSimpleNetmask 0.001
testParseSimpleNetmaskExclusive 0
testNET520 0
testNET521 0
testInvalidMasks 0
testAddresses 0
testCidrAddresses 0.001

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.022
testSpy 5.025
testOptionRenegotiation 5.028
testSetReaderThread 5.023
testOptionNegotiation 9.029
testInitial 5.022
testNotification 4.517
testDeleteOptionHandler 5.026

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.01
testReadOnly 0.002
testWriteOutsideHome 0.001

TFTPTest

testASCIIDownloads 1.929
testASCIIUploads 1.495
testHugeDownloads 5.853
testHugeUploads 5.461
testTFTPBinaryDownloads 0.163
testTFTPBinaryUploads 0.786

TimeTCPClientTest

testCompareTimes 1.003
testInitial 0

UtilTest

testStream_1 0.001
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