Apache Commons logo Apache Commons Net™ logo

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
274 0 0 19 93.066% 63.911

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.656
org.apache.commons.net.imap 1 0 0 0 100% 0.015
org.apache.commons.net.nntp 6 0 0 0 100% 0
org.apache.commons.net.ntp 18 0 0 0 100% 2.007
org.apache.commons.net.io 14 0 0 0 100% 0
org.apache.commons.net.ftp 12 0 0 0 100% 0.534
org.apache.commons.net.time 2 0 0 0 100% 1.004
org.apache.commons.net.smtp 6 0 0 0 100% 0
org.apache.commons.net.ftp.parser 119 0 0 0 100% 0.195
org.apache.commons.net.tftp 9 0 0 0 100% 16.423
org.apache.commons.net 12 0 0 0 100% 0
examples 1 0 0 0 100% 0.069
org.apache.commons.net.util 37 0 0 19 48.649% 0.008

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.656
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.015

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.006
TestNtpPacket 7 0 0 0 100% 0
TestTimeInfo 6 0 0 0 100% 0.001
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
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.014
FTPClientTest 4 0 0 0 100% 0.015
FTPCommandTest 1 0 0 0 100% 0
TestConnectTimeout 1 0 0 0 100% 0.505

org.apache.commons.net.time

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

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.009
FTPConfigEntryParserTest 2 0 0 0 100% 0.001
FTPTimestampParserImplTest 18 0 0 0 100% 0.03
MacOsPeterFTPEntryParserTest 6 0 0 0 100% 0.007
MLSxEntryParserTest 6 0 0 0 100% 0.004
MVSFTPEntryParserTest 9 0 0 0 100% 0.005
NetwareFTPEntryParserTest 6 0 0 0 100% 0.005
NTFTPEntryParserTest 14 0 0 0 100% 0.051
OS2FTPEntryParserTest 6 0 0 0 100% 0.005
OS400FTPEntryParserAdditionalTest 8 0 0 0 100% 0.009
OS400FTPEntryParserTest 9 0 0 0 100% 0.017
UnixFTPEntryParserTest 19 0 0 0 100% 0.021
VMSFTPEntryParserTest 8 0 0 0 100% 0.012

org.apache.commons.net.tftp

Class Tests Errors Failures Skipped Success Rate Time
TFTPServerPathTest 3 0 0 0 100% 0.003
TFTPTest 6 0 0 0 100% 16.42

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

examples

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

org.apache.commons.net.util

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

Test Cases

[Summary] [Package List] [Test Cases]

MainTest

checkExamplesPropertiesIsComplete 0.038

FTPClientConfigTest

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

FTPClientTest

testParseClient 0
testParserCachingWithKey 0.006
testParserCachingNullKey 0.003
testUnparseableFiles 0.005

FTPCommandTest

testArray 0

DefaultFTPFileEntryParserFactoryTest

testDefaultParserFactory 0.007
testDefaultParserFactoryConfig 0.011

EnterpriseUnixFTPEntryParserTest

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

FTPConfigEntryParserTest

testParseEntryWithSymlink 0
testParseFieldsOnAIX 0.001

FTPTimestampParserImplTest

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

MacOsPeterFTPEntryParserTest

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

MLSxEntryParserTest

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

MVSFTPEntryParserTest

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

NetwareFTPEntryParserTest

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

NTFTPEntryParserTest

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

OS2FTPEntryParserTest

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

OS400FTPEntryParserAdditionalTest

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

OS400FTPEntryParserTest

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

UnixFTPEntryParserTest

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

VMSFTPEntryParserTest

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

TestConnectTimeout

testConnectTimeout 0.505

IMAPTest

checkGenerator 0.015

DotTerminatedMessageReaderTest

testEmbeddedDot1 0
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.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
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.003
testSpy 5.025
testOptionRenegotiation 5.022
testSetReaderThread 5.019
testOptionNegotiation 9.035
testInitial 5.02
testNotification 4.52
testDeleteOptionHandler 5.011

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.001
testWriteOutsideHome 0.002

TFTPTest

testASCIIDownloads 2.094
testASCIIUploads 1.515
testHugeDownloads 5.718
testHugeUploads 5.667
testTFTPBinaryDownloads 0.134
testTFTPBinaryUploads 0.757

TimeTCPClientTest

testCompareTimes 1.003
testInitial 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