Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
658 0 0 0 100% 40.86 s

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
com.renomad.minum.queue 1 0 0 0 100% 0.006 s
com.renomad.minum.sampledomain 2 0 0 0 100% 0.008 s
com.renomad.minum.state 11 0 0 0 100% 0.081 s
com.renomad.minum.web 277 0 0 0 100% 4.325 s
com.renomad.minum.htmlparsing 39 0 0 0 100% 0.821 s
com.renomad.minum.utils 78 0 0 0 100% 0.901 s
com.renomad.minum 11 0 0 0 100% 10.55 s
com.renomad.minum.database 153 0 0 0 100% 21.98 s
com.renomad.minum.security 7 0 0 0 100% 1.836 s
com.renomad.minum.testing 23 0 0 0 100% 0.045 s
com.renomad.minum.logging 26 0 0 0 100% 0.231 s
com.renomad.minum.templating 30 0 0 0 100% 0.068 s

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

com.renomad.minum.queue

- Class Tests Errors Failures Skipped Success Rate Time
FindingsQueueTests 1 0 0 0 100% 0.006 s

com.renomad.minum.sampledomain

- Class Tests Errors Failures Skipped Success Rate Time
LruCacheTests 2 0 0 0 100% 0.008 s

com.renomad.minum.state

- Class Tests Errors Failures Skipped Success Rate Time
ConstantsTests 10 0 0 0 100% 0.076 s
FindingsConstantsTests 1 0 0 0 100% 0.005 s

com.renomad.minum.web

- Class Tests Errors Failures Skipped Success Rate Time
BodyProcessorTests 20 0 0 0 100% 0.074 s
BodyTests 15 0 0 0 100% 0.035 s
BoundaryBugTest 1 0 0 0 100% 0.006 s
CachingAndCompressionTests 4 0 0 0 100% 0.122 s
EndpointTests 1 0 0 0 100% 0.006 s
FindingsWebTests 8 0 0 0 100% 0.246 s
FullSystemTests 11 0 0 0 100% 2.280 s
FunctionalTestingTests 1 0 0 0 100% 0.006 s
HeadersTests 11 0 0 0 100% 0.034 s
InputStreamUtilsTests 8 0 0 0 100% 0.022 s
PathDetailsTests 1 0 0 0 100% 0.009 s
RangeTests 16 0 0 0 100% 0.035 s
RequestLineTests 5 0 0 0 100% 0.013 s
RequestTests 50 0 0 0 100% 0.116 s
ResponseTests 13 0 0 0 100% 0.040 s
ServerTests 2 0 0 0 100% 0.016 s
SetOfSwsTests 1 0 0 0 100% 0.005 s
SocketWrapperTests 2 0 0 0 100% 0.007 s
UrlEncodedDataGetterTests 1 0 0 0 100% 0 s
WebEngineTests 6 0 0 0 100% 0.031 s
WebFrameworkTests 20 0 0 0 100% 0.078 s
WebPerformanceTests 1 0 0 0 100% 0.489 s
WebTests 79 0 0 0 100% 0.655 s

com.renomad.minum.htmlparsing

- Class Tests Errors Failures Skipped Success Rate Time
HtmlParseNodeTests 11 0 0 0 100% 0.080 s
HtmlParserTests 27 0 0 0 100% 0.737 s
TagInfoTests 1 0 0 0 100% 0.004 s

com.renomad.minum.utils

- Class Tests Errors Failures Skipped Success Rate Time
ActionQueueKillerTests 4 0 0 0 100% 0.025 s
ActionQueueTests 4 0 0 0 100% 0.019 s
ByteUtilsTests 1 0 0 0 100% 0.004 s
CryptoUtilsTests 3 0 0 0 100% 0.012 s
FileReaderTests 5 0 0 0 100% 0.005 s
FileUtilsTests 20 0 0 0 100% 0.102 s
FindingsUtilsTests 5 0 0 0 100% 0.595 s
GzipTests 1 0 0 0 100% 0.007 s
InvariantsTests 3 0 0 0 100% 0.018 s
MyThreadTests 3 0 0 0 100% 0.022 s
RingBufferTests 4 0 0 0 100% 0.013 s
RunnableWithDescriptionTests 1 0 0 0 100% 0.004 s
SearchUtilsTests 7 0 0 0 100% 0.018 s
SerializationUtilsTests 3 0 0 0 100% 0.008 s
StackTraceUtilsTests 2 0 0 0 100% 0.008 s
StringUtilsTests 9 0 0 0 100% 0.025 s
ThrowingRunnableTests 1 0 0 0 100% 0.006 s
TimeUtilsTests 2 0 0 0 100% 0.010 s

com.renomad.minum

- Class Tests Errors Failures Skipped Success Rate Time
BugExposureTests 2 0 0 0 100% 0.404 s
EqualsTests 1 0 0 0 100% 2.127 s
FunctionalTests 8 0 0 0 100% 8.023 s

com.renomad.minum.database

- Class Tests Errors Failures Skipped Success Rate Time
ChecksumUtilityTests 4 0 0 0 100% 0.061 s
DatabaseAppenderTests 4 0 0 0 100% 0.049 s
DatabaseConsolidatorTests 9 0 0 0 100% 0.061 s
DbEngine2Tests 53 0 0 0 100% 8.894 s
DbFileConverterTests 22 0 0 0 100% 0.072 s
DbTests 53 0 0 0 100% 10.41 s
FindingsDatabaseTests 5 0 0 0 100% 0.209 s
IndexRaceBugTest 1 0 0 0 100% 2.220 s
InspectableLockTests 2 0 0 0 100% 0 s

com.renomad.minum.security

- Class Tests Errors Failures Skipped Success Rate Time
TheBrigTests 7 0 0 0 100% 1.836 s

com.renomad.minum.testing

- Class Tests Errors Failures Skipped Success Rate Time
RegexUtilsTests 5 0 0 0 100% 0.015 s
TestFrameworkTests 18 0 0 0 100% 0.030 s

com.renomad.minum.logging

- Class Tests Errors Failures Skipped Success Rate Time
LoggerTests 6 0 0 0 100% 0.047 s
LoggingActionQueueTests 4 0 0 0 100% 0.014 s
TestLoggerTests 16 0 0 0 100% 0.170 s

com.renomad.minum.templating

- Class Tests Errors Failures Skipped Success Rate Time
FindingsTemplatingTests 2 0 0 0 100% 0.008 s
TemplateSectionTests 10 0 0 0 100% 0.022 s
TemplatingTests 18 0 0 0 100% 0.038 s

Test Cases

[Summary] [Package List] [Test Cases]

BugExposureTests

test_RingBuffer_ContainsAt_PatternExtendsBeyondBuffer 0.233 s
test_LRUCache_ConcurrentAccess_ShouldNotCorrupt 0.038 s

ChecksumUtilityTests

testInvalidCryptoAlgorithm 0.002 s
testCompareWithChecksum_NegativeCase_ChecksumMissing 0.012 s
testCompareWithChecksum_NegativeCase_ChecksumDoesNotExist 0.003 s
testCompareWithChecksum_NegativeCase_ChecksumConflict 0.005 s

DatabaseAppenderTests

testMoveToReadyFolder_NegativeCase_ExceptionThrown 0.003 s
testAppendToDatabase_NegativeCase_ExceptionThrown 0.008 s
testDatabaseAppenderConstructor_NegativeCase_ExceptionThrown 0.003 s
test_SavingOffToNewFile 0.005 s

DatabaseConsolidatorTests

testParsingAppendLogs_EdgeCase_InvalidFilename 0.001 s
testRewriteFiles_Throws 0.018 s
testConstructorHavingException 0.002 s
testReadConsolidatedFileWithChecksum_Throws 0.005 s
testUpdatingData_EdgeCase_ParsingError 0.002 s
testParsingDatabaseChangeStrings_EdgeCase_InvalidAction 0.004 s
testProcessAppendLogFile_Throws 0.003 s
testGetAppendFiles_EdgeCase_NoFiles 0 s
testUpdatingData_EdgeCase_ParsingErrorForIndex 0.004 s

DbEngine2Tests

test_Initialize_readAndDeserialize_NegativeCase 0.007 s
testIndex_NegativeCase_IndexNameEmptyString 0.007 s
testChecksums_ChecksumsMissingAtLoad 0.015 s
test_LoadingData_NegativeCase 0.005 s
test_firstActionIsFindExactlyOne 0.083 s
testIndex_NegativeCase_ExceptionThrownByPartitionAlgorithm 0.018 s
testIndex_EdgeCase_MultipleIndexes 0.018 s
test_LoadingData_MultipleThreads 0.055 s
testIndex_NegativeCase_PartitioningAlgorithmNull 0.014 s
testSearchUtility 0.033 s
testSearchUtils_SearchFindsNothing 0.029 s
testIndex_NegativeCase_RequestingWithNoIndexRegistered 0.012 s
test_WalkAndLoad_NegativeCase 0.006 s
test_FailureDuringConsolidation 0.098 s
testChecksums_FailureDuringRewrite 0.062 s
testWriteDeserializationComplaints2 0.022 s
test_MultiThreadedWriteAndDelete 0.284 s
test_IOExceptionThrownWhileLoadingData 0 s
testIndex_NegativeCase_IndexNameNull 0.016 s
testWriteDeserializationComplaints 0.029 s
testIndexesOnPartitionedData 0.039 s
test_Edge_DeleteFileDoesNotExist 0.095 s
test_Db_Write_and_Read 1.445 s
test_NegativeCase_NoIndex 0.009 s
test_Db_Delete_EdgeCase_DoesNotExist 0.057 s
test_ConsolidateIfNecessary 0.807 s
test_parseConsolidatedFileName_NegativeCase 0.002 s
test_ConvertingDatabase_Db_To_DbEngine2 0.622 s
test_Performance 0.232 s
testIndex_NegativeCase_RegisteringSameIndexTwice 0.017 s
test_FailureDuringWrite 0.005 s
testIndex_GetListOfIndexes 0.010 s
test_NegativeCase_MultipleDatabasesTargetingOneDirectory 0.017 s
testIndex_Update 0.006 s
test_FailureDuringInstantiation 0.004 s
test_firstActionIsRequestingDataByIndex 0.081 s
testChecksums 0.016 s
test_readAndDeserialize_NegativeCase 0.005 s
testWrite_PositiveIndexNotExisting 0.062 s
testSearchUtils_ShouldAccommodateUsingIndexes 0.007 s
testGettingStarted 2.034 s
test_EdgeCase_PreventSaveOff 0.004 s
testWrite_NegativeIndex 0.058 s
test_FailureDuringDelete 0.005 s
test_ConsolidateInnerCode 0.005 s
testCreateIndexes 0.024 s
test_GeneralCapability 2.257 s
testMultipleStatements 0.025 s
test_Db_Delete_EdgeCase_NullValue 0.014 s
test_readAndDeserialize_NegativeCase_LackingSerializer 0.004 s
test_EdgeCase_RegisteringIndexTooLate 0.007 s
test_LoadData_NoNeed 0.016 s
testIndexSpeedDifference 0.036 s

DbFileConverterTests

testDbConverter_WalkingFiles_EdgeCase_FilesListException 0.001 s
testDbConverter_walkFilesAndConvertDbEngine2ToDbClassic_EdgeCase_MalformedFilenames 0.002 s
testDbConverter_walkFilesAndConvertDbEngine2ToDbClassic_EdgeCase_MalformedData 0.002 s
testIsDataFile_Filtering 0.004 s
testLogOutputAlongConversion_NegativeCase 0.003 s
testDeserializeDataFromDbFile_EdgeCase_InvalidFilename 0.002 s
testConvertDbEngine2FolderStructureToDbClassicForm_EdgeCase_CorruptData 0.007 s
testConvertClassicFolderStructureToDbEngine2Form_EdgeCase_IndexFileCorrupted 0.007 s
test_checkFileDetailsAreValid_EdgeCase_NonRegularFile 0.002 s
testWalkFilesAndConvertDbToDbEngine2_NegativeCase_ExceptionThrown 0.002 s
test_checkFileDetailsAreValid_EdgeCase_EmptyFile 0.003 s
testConstructorExceptionThrown 0.002 s
testCheckFileDetailsAreValid_NegativeCase_ExceptionThrown 0.002 s
testDbConverter_WalkingFiles_EdgeCase_FileEmpty 0.003 s
testDeletingDirectories_EdgeCase_ExceptionOccurs 0.003 s
testLogOutputAlongConversion 0.003 s
testDbConverter_walkFilesAndConvertDbEngine2ToDbClassic_EdgeCase_MalformedData2 0.003 s
testDbConverter_walkFilesAndConvertDbEngine2ToDbClassic_EdgeCase_MalformedFilenamesNumber 0.003 s
testDeserializeDataFromDbFile_EdgeCase_ContentIndexConflictsWithFilename 0.002 s
testDbConverter_walkFilesAndConvertDbEngine2ToDbClassic_EdgeCase_FilesListException 0.001 s
testExtractDataAndAppend_NegativeCase_ExceptionThrown 0.001 s
testConvertClassicFolderStructureToDbEngine2Form_EdgeCase_FileMissing 0.005 s

DbTests

testWalkAndLoad_EdgeCase_FolderMissing 0.003 s
testStopping2 0.003 s
testIndex_NegativeCase_IndexNameEmptyString 0.004 s
testPoorlyNamedDbFile 0.005 s
testStopping 0.003 s
test_firstActionIsFindExactlyOne 0.152 s
testIndex_NegativeCase_ExceptionThrownByPartitionAlgorithm 0.057 s
testIndex_EdgeCase_MultipleIndexes 0.070 s
testSearchUtility_EdgeCases_Various 0.062 s
testDeserializerComplaints 0.088 s
testIndex_NegativeCase_PartitioningAlgorithmNull 0.064 s
testSearchUtils_SearchFindsNothing 0.063 s
testIndex_NegativeCase_RequestingWithNoIndexRegistered 0.056 s
testSearchUtilityPerformance 0.007 s
test_Serialization_UnusualStrings 0.102 s
testSearchUtility_EdgeCase_NoIndexRegistered 0.049 s
testWriteDeserializationComplaints2 0.089 s
test_Serialization_Null 0.008 s
test_ConvertingDatabase_DbEngine2_To_DbClassic 2.326 s
test_Serialization_Collection 0.002 s
test_Db_Delete_EdgeCase_FileGone 0.146 s
testIndex_NegativeCase_IndexNameNull 0.063 s
test_Serialization_SimpleCase 0.005 s
testWriteDeserializationComplaints 0.118 s
testIndexesOnPartitionedData 0.125 s
test_WriteToDisk_NegativeCase_ExceptionThrown 0.004 s
test_Edge_DeleteFileDoesNotExist 0.059 s
test_Db_Write_and_Read 1.217 s
test_Db_Delete_EdgeCase_DoesNotExist 0.066 s
testReadAndDeserialize_nullFilename 0.062 s
test_Performance 0.360 s
testIndex_NegativeCase_RegisteringSameIndexTwice 0.060 s
test_Deserialization_EdgeCase3 0.127 s
test_Deserialization_EdgeCases 0.125 s
test_Locking 0.122 s
testIndex_GetListOfIndexes 0.060 s
test_NegativeCase_MultipleDatabasesTargetingOneDirectory 0.007 s
testIndex_Update 0.087 s
test_firstActionIsRequestingDataByIndex 0.198 s
test_Locking_2 0.162 s
testWrite_PositiveIndexNotExisting 0.060 s
testSearchUtils_ShouldAccommodateUsingIndexes 0.068 s
testWrite_NegativeIndex 0.057 s
testCreateIndexes 0.124 s
test_GeneralCapability 3.165 s
testMultipleStatements 0.012 s
test_Db_Delete_EdgeCase_NullValue 0.048 s
test_DeleteFromDisk_NegativeCase_ExceptionThrown 0.004 s
test_Deserialization_EdgeCases_2 0.080 s
test_EdgeCase_RegisteringIndexTooLate 0.062 s
test_LoadData_NoNeed 0.088 s
testIndexSpeedDifference 0.092 s
testReadAndDeserialize_NegativeCase_ExceptionThrown 0.068 s

FindingsDatabaseTests

test_Finding_DeleteLeavesPhantomIndexEntry 0.003 s
test_Finding_ConsolidationFlagStuckAfterFailure 0.008 s
test_Finding_SharedSimpleDateFormatIsThreadSafe 0.003 s
test_Finding_TornAppendLogTailPreventsStartup 0.009 s
test_Finding_FailedLoadRetryDuplicatesIndexEntries 0.142 s

IndexRaceBugTest

test_ConcurrentWritesSameIndexKey_ShouldNotCorrupt 2.217 s

InspectableLockTests

testHappyPathProperly 0 s
testHandlesNullProperly 0 s

EqualsTests

equalsTest 2.125 s

FunctionalTests

test_EdgeCase_IOExceptionThrown_WebFramework 2.216 s
testEndToEnd_Functional 1.834 s
test_PathFunction_Response_Range 0.652 s
test_EdgeCase_Response_MultiCookies 0.631 s
test_EdgeCase_BadRequest 0.776 s
test_EdgeCase_PostHandler_IgnoreBody 0.653 s
test_EdgeCase_BadRequest2 0.619 s
test_PathFunction_Response 0.635 s

HtmlParseNodeTests

testInnerText_EdgeCases 0 s
testHappyPath 0 s
testInnerText_EdgeCases_DEPRECATED 0 s
testInnerText_HappyPath_DEPRECATED 0 s
testInnerText_HappyPath 0 s
test_ToString_TextAdjacentToElement 0 s
test_ToString_NestedContent 0 s
test_ToString 0 s
test_recursiveTreeWalk_EdgeCase_Empty 0 s
test_ToString_DeeperNestedContent 0 s
test_ToString_MultipleAdjacentElements 0 s

HtmlParserTests

test_HtmlParser_HappyPath 0 s
test_HtmlParser_Edge_SpaceBeforeTagname 0 s
test_HtmlParser_Edge_NewlineAfterTagname 0 s
test_HtmlParser_SingleQuote 0 s
test_HtmlParser_ErrorMessagesShowRowAndColumn_NoStartingTag 0.042 s
test_fuzzer 0.007 s
test_HtmlParser_ScriptWithAttributes_NoInnerText_DEPRECATED 0 s
test_HtmlParser_ExceedMaxSize 0.362 s
test_HtmlParser_Edge_LargerFile 0.017 s
test_HtmlParser_ScriptWithAttributes 0 s
test_HtmlParser_Script 0 s
test_HtmlParser_Details1 0 s
test_HtmlParser_Details2 0 s
test_hasFinishedBuildingTagname 0 s
test_HtmlParser_Edge_InvalidChar2 0.050 s
test_HtmlParser_ErrorMessagesShowRowAndColumn_WrongEndingTag 0.059 s
testCommentedText 0 s
test_HtmlParser_Edge_UTF 0 s
test_HtmlParser_Script_DEPRECATED 0 s
test_HtmlParser_ScriptWithAttributes_NoInnerText 0 s
test_HtmlParser_Edge_LargerFile_DEPRECATED 0.019 s
test_fuzzer_DEPRECATED 0.002 s
test_isFinishedReadingTag 0.002 s
test_HtmlParser_Edge_InvalidClosingTag 0.002 s
test_HtmlParser_ScriptWithAttributes_DEPRECATED 0.002 s
test_isHandlingAttributes 0.002 s
test_HtmlParser_Doctype 0.003 s

TagInfoTests

happyPath 0 s

LoggerTests

testLogHelper 0.001 s
testEnableAndDisableTrace 0.002 s
testLogHelper_EdgeCase_LoggingActionQueueStopping 0.003 s
testLogHelper_LoggingDisabled 0.002 s
testUsingDescendantLogger 0.004 s
testShowWhiteSpace 0.002 s

LoggingActionQueueTests

testGetQueue 0 s
testHappyPathWhileRunningAction 0.002 s
testErrorWhileRunningAction 0.004 s
testGetQueueThread 0.003 s

TestLoggerTests

test_findMessage_EdgeCase_NoLogs 0 s
test_TestLogger_NullMessage 0.003 s
test_findMessage_EdgeCase_MoreLinesThanExists 0.002 s
test_test 0.002 s
test_TestLogger_MultipleLogEntriesFound 0.002 s
test_testLoggerQueue_Basic 0.003 s
test_doesMessageExist_NegativeCase 0.027 s
test_findFirstMessage_CheckValidity_TooMany 0.003 s
test_TestLogger_ExceptionThrown 0.027 s
test_findMessage_EdgeCase_NegativeValue 0.003 s
test_findFirstMessage_CheckValidity_NoLogs 0.002 s
test_findMessage_EdgeCase_WordNotFound 0.023 s
test_findFirstMessage_CheckValidity_NotFound 0.004 s
test_TestLogger_MaxLines 0.003 s
test_findMessage 0.027 s
test_findMessage_EdgeCase_TooFewLinesRequested 0.030 s

FindingsQueueTests

test_Finding_StopSetsStoppedStatusOnCleanPath 0.001 s

LruCacheTests

test_GetItem_NotOldest 0.001 s
test_LRUCache_HappyPath 0.002 s

TheBrigTests

test_TheBrig_RegularStop 0.121 s
test_TheBrig_ExistingInmate 0.134 s
test_Deserialization 0.003 s
test_BrigDisabled 0.090 s
test_TheBrig_Uninitialized 0.018 s
test_MultiThreadedIssues 0.101 s
test_TheBrig_Basic 0.813 s

ConstantsTests

test_HostNameConstant 0.001 s
testGetProps_Array 0.028 s
testSocketTimeoutMillis 0.004 s
test_SecureServerPortConstant 0.007 s
test_convertLoggingStringsToEnums_NegativeCase 0.008 s
test_ServerPortConstant 0.003 s
testGettingConfiguredPropertiesFromFile_NothingFound 0.003 s
test_convertLoggingStringsToEnums 0.003 s
testCustomProps 0.003 s
test_maxElementsLruCacheStaticFiles 0.003 s

FindingsConstantsTests

test_Finding_ExtractListOfEmptyStringIsEmpty 0 s

FindingsTemplatingTests

test_Finding_TemplateNullValueThrowsFrameworkException 0.001 s
test_Finding_TemplateEmptyDataListThrows 0.003 s

TemplateSectionTests

test_MissingKeyAndSubstring_WithDynamicText 0.001 s
test_indenting_edgeCase_WithIndent 0.002 s
test_processSectionOutside_builderEmpty 0.002 s
test_equals 0.002 s
test_indenting_edgeCase_NoIndent 0 s
test_HavingKeyAndSubstring_WithDynamicText 0 s
test_MissingKeyAndSubstring_WithStaticText 0 s
test_HavingKeyAndSubstring_WithStaticText 0 s
test_justArrivedInside 0.004 s
test_processSectionOutside_builderNotEmpty 0.003 s

TemplatingTests

test_indentation 0.001 s
test_Template_MissingKeys 0.002 s
test_Templating_LargeComplex_Performance 0.005 s
test_EdgeCase_MapsAreAllEmpty 0.002 s
test_EdgeCase_InconsistentMaps 0 s
test_Template_Complex1 0 s
test_NegativeCase_NullList 0.004 s
test_Template_Basic 0 s
test_EdgeCase_NoDataProvided_alternate 0.003 s
test_Template_Whitespace 0 s
test_Template_Basic_Multiple 0 s
test_Template_TooManyKeys 0 s
test_NegativeCase_NullMap 0.005 s
test_Template_Multi_Thread 0.002 s
test_Template_SimpleInnerTemplate 0.003 s
test_EdgeCase_MapsIsEmpty 0.002 s
test_Template_EdgeCase_NoClosingBrackets 0.002 s
test_EdgeCase_ListIsEmpty 0 s

RegexUtilsTests

test_RegexUtils_SearchNamedMatchingGroup_NoSpecialChars 0.001 s
test_RegexUtils_NothingFound 0.002 s
test_RegexUtils_QuickSearch 0.003 s
test_isFound 0.002 s
test_RegexUtils_SearchNamedMatchingGroup 0.002 s

TestFrameworkTests

test_assertEqualsByteArray_LeftIsNull 0.002 s
test_assertEquals_Basic 0.002 s
test_assertEquals_Lists 0.003 s
test_assertEquals_Nulls 0.002 s
test_assertEqualsByteArray_DifferentValuesInArrays 0 s
test_assertEqualsByteArray_DifferentLengths 0 s
test_AssertThrows_AssertOnMessage 0 s
test_assertEqualsByteArray_CustomError 0 s
test_assertFalse_WithMessage 0.005 s
test_assertEqualsByteArray_BothNull 0.002 s
test_assertTrue_Basic 0 s
test_assertEqualsByteArray 0.002 s
test_assertEquals_ListsDifferentOrders 0.003 s
test_assertEqualsByteArray_RightIsNull 0 s
testShowWhiteSpace 0 s
test_assertFalse_Basic 0 s
test_AssertThrows_NoException 0 s
test_assertEqualsByteArray_CustomError_ButValidComparison 0.005 s

ActionQueueKillerTests

test_KillAllQueues_WithDebug 0.003 s
test_KillAllQueues 0.006 s
test_KillAllQueues_WithoutDebug 0.004 s
test_KillAllQueues_NeedingInterruption 0.006 s

ActionQueueTests

test_ActionQueue_ErrorHandling_DifferentError 0.002 s
test_ActionQueue_ExceptionHandling 0.003 s
test_Stopping 0.003 s
test_ActionQueue_ErrorHandling 0.003 s

ByteUtilsTests

testConversionToArray 0.001 s

CryptoUtilsTests

testBytesToHex 0.001 s
testCreatePasswordHash 0.002 s
testCreatePasswordHash_BadAlgorithm 0.003 s

FileReaderTests

test_readTheFile_NoFileFound 0.002 s
test_ReadFile_InCache 0.001 s
test_ReadFile_NoCache 0 s
test_readTheFile_AddSecondEntryToCacheSameKey 0 s
test_ReadFile_EmptyFile 0 s

FileUtilsTests

test_WriteString_HappyPath 0.001 s
test_ReadTextFile_IOException 0.002 s
test_BadFilePathPatterns 0.003 s
test_SafeResolve 0.003 s
test_deleteDirectoryRecursivelyIfExists_EdgeCase_HappyPath 0.003 s
test_WriteString_EmptyPath 0.002 s
test_ReadBinaryFile_FileMissing 0.003 s
test_deleteDirectoryRecursivelyIfExists_EdgeCase_DirectoryNotExists 0.018 s
test_delete 0.003 s
test_ReadString_EmptyPath 0.003 s
test_innerCreateDirectory_IOException 0.003 s
test_ReadTextFile_FileMissing 0.002 s
test_ReadString_IOException 0.003 s
test_ReadTextFile 0.002 s
test_ReadBinaryFile_IOException 0.003 s
test_WithinDirectory 0.002 s
test_walkPathDeleting 0.002 s
test_ReadBinaryFile 0.002 s
test_innerCreateDirectory_disallowedNull 0.003 s
test_WriteString_IOException 0.003 s

FindingsUtilsTests

test_Finding_AbsoluteStaticDirectoryPathRejected 0.001 s
test_Finding_SerializeHelperRejectsZeroArguments 0.002 s
test_Finding_GenerateSecureRandomStringRejectsNonPositiveLength 0.002 s
test_Finding_RingBufferContainsRepeatedPrefix 0.002 s
test_Finding_LruCacheReadRaceReturnsNull 0.552 s

GzipTests

testGzipCompression 0 s

InvariantsTests

test_MustBeTrue 0.001 s
test_MustNotBeNull 0.003 s
test_MustBeFalse 0.002 s

MyThreadTests

testMyThread 0.001 s
testMyThread_Interrupted 0.004 s
test_InterruptionHandler 0.003 s

RingBufferTests

testContainsAt 0.001 s
test_RingBuffer_HappyPath 0.003 s
testContains 0.002 s
testIteratingPastLimit 0.002 s

RunnableWithDescriptionTests

testRunnableWithDescription 0.001 s

SearchUtilsTests

test_SearchUtils_OnlyNullInList_WithAlternate 0.001 s
test_SearchUtils_OneOrNone_SpecifyReturnValue 0.002 s
test_SearchUtils_NullInList 0.002 s
test_SearchUtils_OneOrNone_Duplicates 0.002 s
test_SearchUtils_OneOrNone 0.002 s
test_SearchUtils_OnlyNullInList 0.003 s
test_SearchUtils_OnlyNullInList_WithAlternateException 0.002 s

SerializationUtilsTests

testTokenizer_OverMaxTokenCount 0.001 s
testSerializationHelper 0.002 s
testTokenizer 0.002 s

StackTraceUtilsTests

test_StackTraceElementsToString 0.001 s
test_StackTraceToString 0.002 s

StringUtilsTests

testGeneratingSecureRandomNumber_EdgeCase_Large 0.001 s
testGeneratingSecureRandomNumber_EdgeCase_Small 0.003 s
test_CleanHtml_Null 0.002 s
test_ByteArrayToString 0.002 s
testIsPureDigits 0.002 s
test_CleanAttributes 0.003 s
test_CleanHtml 0.002 s
test_BytesListToString 0.002 s
test_CleanAttributes_Null 0.002 s

ThrowingRunnableTests

testThrowingRunnable 0.002 s

TimeUtilsTests

test_HappyPath 0.002 s
test_HappyPath_2 0.004 s

BodyProcessorTests

test_DataByKey_HappyPath 0.004 s
test_extractData_Empty 0.007 s
test_UrlEncoded_EdgeCase_Malformed 0.002 s
test_extractBodyFromInputStream_NegativeCase_ExceptionThrown 0.003 s
testMultipartIterable_NegativeCase_ExceptionThrown 0.002 s
test_MultiPart_Avoid_ExtraBytes_MultiplePartitions_Bytes 0.002 s
test_GettingCorrectContentType_MissingContentType 0.002 s
test_ExtractBodyFromBytes_Image 0.002 s
test_MultiPart_EdgeCase_NoContentInPartition 0.002 s
test_extractBodyFromBytes_EdgeCase_contentLengthZero 0.002 s
test_MultiPart_EdgeCase_MissingNameInHeaders 0.002 s
test_MultiPart_NegativeCase_ExceptionDuringFillBuffer 0.002 s
test_EdgeCase 0.002 s
test_extractBodyFromBytes_EdgeCase_NoValidBoundaryFound 0 s
test_MultiPart_Avoid_ExtraBytes_MultiplePartitions 0.002 s
testUrlEncodedDataIterable_NegativeCase_ExceptionThrown 0.002 s
test_UrlEncoded_EdgeCase_MalformedLargeData 0.002 s
test_MultiPart_MultipleFilesSameInputName 0.002 s
test_ChunkedTransfer_NegativeCase 0.002 s
test_MultiPart_Avoid_ExtraBytes 0.002 s

BodyTests

testGetPartitionByName_EdgeCase_Empty 0.002 s
testGetPartitionByName_EdgeCase_UrlEncoded 0.002 s
testAsBytes_EdgeCase_BodyIsMultipart 0.002 s
testGetPartitionByName_EdgeCase_Unrecognized 0.002 s
testGettingValue_EdgeCase_WhenNotFound 0.002 s
testGetKeys_EdgeCase_Empty 0.002 s
testAsBytes_EdgeCase_Empty_2 0.002 s
testAsBytes_EdgeCase_BodyIsUnrecognized 0.002 s
testGetPartitionHeaders_EdgeCase_BodyIsUnrecognized 0.002 s
testAsString_EdgeCase_BodyIsMultipart 0.002 s
testGettingValue_EdgeCase_MissingKey 0.002 s
testGetPartitionHeaders_EdgeCase_Empty 0.002 s
testGetPartitionHeaders_EdgeCase_BodyIsUrlEncoded 0.002 s
testAsBytes_EdgeCase_Empty 0.002 s
testAsString_EdgeCase_BodyIsUnrecognized 0.003 s

BoundaryBugTest

test_BoundaryWithTrailingParams_ShouldStillParse 0.002 s

CachingAndCompressionTests

testStaticFileCaching 0.012 s
testStaticFileCompressed 0.012 s
testStaticFileLarge 0.037 s
testStaticFileReadEmptyData 0.032 s

EndpointTests

test_Endpoint_HappyPath 0.001 s

FindingsWebTests

test_Finding_NullSentinelInQueryString 0.002 s
test_Finding_RangeNotClampedToFileLength 0.002 s
test_Finding_MultipartByteAccountingUsesCharsNotBytes 0.002 s
test_Finding_EmptyPathThrowsBadRequest 0.002 s
test_Finding_ContentLengthRejectsPlusPrefix 0.003 s
test_Finding_TheBrigIsStoppedOnShutdown 0.198 s
test_Finding_MultipartBoundaryNotTrimmedInRequest 0.004 s
test_Finding_NullSentinelBypassesDuplicateKeyCheck 0.002 s

FullSystemTests

testFullSystem 0.339 s
testFullSystem_WithRedirect 0.317 s
testFullSystem_NegativeCase_ExceptionThrown 0.141 s
test_BlockCore_RegularException 0.010 s
test_CloseCore_NullServers 0.423 s
testFullSystem_SystemRunningFileExceptionThrown 0.021 s
testFullSystem_SystemRunningFileExists 0.069 s
testFullSystem_EdgeCase_InstantlyClosed 0.181 s
test_CloseCore 0.143 s
test_BlockCore_NullServers 0.173 s
testFullSystem_DisabledSystemRunningMarker 0.423 s

FunctionalTestingTests

test_sendDealsWithException 0.005 s

HeadersTests

test_IsEmpty 0.001 s
test_HasConnectionClose 0.003 s
test_GetAllHeaders_EdgeCase_TooMany 0.003 s
test_GetAllHeaders_EdgeCase_ValueIsNull 0.003 s
test_ContentLength_Negative 0.003 s
test_ContentType_HappyPath 0.002 s
test_ContentType_TooMany 0.002 s
test_ContentLength_NumberFormatException 0.002 s
test_extractHeadersToMap_EdgeCase_Malformed 0.002 s
test_HasKeepAlive 0.002 s
test_ContentLength_TooMany 0.002 s

InputStreamUtilsTests

testPerformance 0.002 s
testReading_EdgeCase_DifferentCount 0.003 s
testWeGetNullIndicatingFinish 0.002 s
testReadingLarge 0.002 s
testReading_EdgeCase_IOException 0.002 s
testParallelPerformance 0.002 s
testEquals 0.001 s
testReadLine_NegativeCase_ExceptionThrown 0.002 s

PathDetailsTests

happyPath 0 s

RangeTests

test_NoRange 0.001 s
test_MultipleRangeHeaders 0 s
test_DetermineLengthFromRangeHeader_EdgeCase_NegativeNumbers 0 s
test_DetermineLengthFromRangeHeader_EdgeCase_MissingSecondPart 0.005 s
test_InvalidPattern_tooLongLeft 0.002 s
test_MultipleRange 0.002 s
test_DetermineLengthFromRangeHeader_EdgeCase_MissingSecondPart_2 0.002 s
test_DetermineLengthFromRangeHeader_EdgeCase_MissingFirstPart 0.001 s
test_InvalidPattern 0.001 s
test_InvalidValueForLeft 0.001 s
test_DetermineLengthFromRangeHeader_EdgeCase_FirstLarger 0.002 s
test_DetermineLengthFromRangeHeader 0.002 s
test_InvalidValueForRight 0.002 s
test_InvalidPattern_tooLongRight 0.002 s
testEquals 0.002 s
test_DetermineLengthFromRangeHeader_EdgeCase_MissingBothParts 0.002 s

RequestLineTests

test_GetRawValue 0 s
test_QueryStringOnOtherwiseEmpty 0.001 s
test_GetMethod_UnusualCapitalization 0.003 s
test_Perf_GetMethod 0.002 s
test_QueryString_MalformedPairShouldEmptyMap 0.001 s

RequestTests

test_Request_getMultipartForm_EdgeCase_PlayingWithClose 0.001 s
test_GetSocketWrapper 0.002 s
test_Request_ImproperlyFormedUrlEncoded_NoKey 0.002 s
testCopyingRequest 0.002 s
test_Request_getUrlEncoded_EdgeCase_ContentLengthTooLong 0.002 s
testOnlyHavingBoundaryValue 0.002 s
test_Request_getMultipartForm_EdgeCase_UrlEncodedData 0.002 s
testReadingStreamingMultipart_AlternateCase_UsingBuffer 0.002 s
test_Request_getUrlEncoded_EdgeCase_ContentLengthNotLongEnough 0.002 s
testSimplerRequest 0.002 s
testEndOfStreamWhileReadingStreamingMultipartPartition2 0.002 s
test_Request_ImproperlyFormedMultipart 0.003 s
test_Request_BodyTooLong 0.002 s
testReadingEmptyStreamingMultipart 0.002 s
test_Request_getUrlEncoded_EdgeCase_ComplaintAfterGetBody 0.002 s
test_Request_Multipart_ExcessiveCountOfPartitions 0.002 s
testRequest_ExpectComplaintAfterBegunReading_10 0.002 s
testRequest_ExpectComplaintAfterBegunReading_11 0.002 s
testRequest_ExpectComplaintAfterBegunReading_12 0.002 s
testRequest_ExpectComplaintAfterBegunReading_13 0.002 s
test_Request_Multipart_ImproperlyFormed 0.002 s
testSimplerRequest2 0.003 s
testSimplerRequest3 0.002 s
testReadingAStreamingUrlEncoded 0.002 s
testEndOfStreamWhileReadingStreamingMultipartPartition 0.002 s
equalsTest 0.003 s
testReadingStreamingMultipart 0.002 s
test_Request_ToString 0.002 s
test_Request_getMultipartIterable_EdgeCase_Empty 0.003 s
test_Request_ImproperlyFormedUrlEncoded 0.002 s
test_Request_getMultipartForm_EdgeCase_ComplaintAfterGetBody 0.002 s
testRequest_ExpectComplaintAfterBegunReading_1 0.002 s
testRequest_ExpectComplaintAfterBegunReading_2 0.002 s
testRequest_ExpectComplaintAfterBegunReading_3 0.002 s
testRequest_ExpectComplaintAfterBegunReading_4 0.002 s
testRequest_ExpectComplaintAfterBegunReading_5 0.003 s
testRequest_ExpectComplaintAfterBegunReading_6 0.002 s
testRequest_ExpectComplaintAfterBegunReading_7 0.002 s
testRequest_ExpectComplaintAfterBegunReading_8 0.002 s
testRequest_ExpectComplaintAfterBegunReading_9 0.002 s
test_Request_Multipart_IOException_ReadingBody 0.002 s
test_Request_UrlEncoded_ExcessiveCountOfKeyValuePairs 0.002 s
test_Request_getUrlEncoded_EdgeCase_Empty 0.002 s
test_Request_getUrlEncoded_EdgeCase_MultipartData 0 s
test_Request_getMultipartIterable_EdgeCase_No_Valid_Boundary_2 0 s
test_Request_getMultipartIterable_EdgeCase_No_Valid_Boundary_3 0.004 s
test_Request_getUrlEncoded_EdgeCase_PlayingWithClose 0.002 s
test_Request_UrlEncoded_IOException 0.002 s
test_Request_Multipart_ImproperlyFormed_CorrectContentLength 0.002 s
test_Request_getMultipartIterable_EdgeCase_No_Valid_Boundary 0.002 s

ResponseTests

testToString 0 s
testBuildLargeFileResponse 0.003 s
test_sendByteArrayResponse_NegativeCase_ExceptionThrown 0.003 s
testUseResponseAsKey 0.002 s
testResponse_EdgeCase_BadPathRequested 0.002 s
testRedirect 0.002 s
test_buildLargeFileResponse_NegativeCase_ExceptionThrown_Overload1 0.002 s
testNullExtraHeaders 0.002 s
testCopyingResponse 0.002 s
testResponse_Streaming 0.003 s
test_buildLargeFileResponse_NegativeCase_ExceptionThrown 0.002 s
testNullStatusCode 0.002 s
testResponse_EdgeCase_SendBodyWithException 0.004 s

ServerTests

test_EdgeCase_ExceptionIn_doHttpWork 0.005 s
testServerExceptionHandling 0.005 s

SetOfSwsTests

test_SetOfSws 0.001 s

SocketWrapperTests

test_ConstructorException 0.001 s
testSendingSingleByte 0.002 s

UrlEncodedDataGetterTests

testRead_NegativeCase_ExceptionThrown 0 s

WebEngineTests

test_DisabledServer 0.004 s
test_isProvidedKeystoreProperties 0.003 s
test_NegativeCase 0.006 s
test_MalformedUrl 0.003 s
test_getKeyStoreResult 0.005 s
test_createSslSocketWithSpecificKeystore_EdgeCase 0.003 s

WebFrameworkTests

test_compressIfRequested 0.001 s
test_ExtraMimeMappings_BadSyntax 0.002 s
test_readStaticFile_CSS 0.003 s
test_readStaticFile_NegativeCase_ExceptionThrown 0.006 s
test_readStaticFile_IOException 0.002 s
testFinalExceptionHandler 0.006 s
test_finalExceptionHandler_ReadTimedOut 0.003 s
test_readStaticFile_Edge_invalidName 0.003 s
test_Edge_ApplicationOctetStream 0.002 s
test_readStaticFile_Edge_Directory 0.003 s
test_HandleForbiddenUse 0.001 s
test_ExtraMimeMappings_NoValues 0.003 s
test_readStaticFile_Edge_CurrentDirectory 0.003 s
test_ExtraMimeMappings 0.002 s
test_readStaticFile_AlternateCase_NotCached 0.003 s
test_compressBody_NegativeCase_ExceptionThrown 0.002 s
test_ExtraMimeMappings_Null 0.002 s
test_readStaticFile_JS 0.002 s
test_readStaticFile_HTML 0.002 s
test_readStaticFile_Edge_OutsideDirectory 0.003 s

WebPerformanceTests

webPerfTest 0.488 s

WebTests

test_RegisterPathFunction_DoesNotMatch 0.003 s
test_RegisterPathFunction_SimpleMatch 0.002 s
test_StartLine_MissingMethod 0.002 s
test_QueryString_NullPathdetails 0.002 s
testNoEndpointFound 0.003 s
test_dumpAttackerNullChecks_NullFullSystem 0.004 s
testDetermineIfKeepAlive_OneDotZero_ConnectionClose 0.004 s
test_ParseForm_UrlEncoded 0.002 s
test_QueryString_EmptyQueryString 0.002 s
test_MultiPartForm_NoContentDisposition 0.002 s
test_StartLine_HappyPath 0.002 s
test_EdgeCase_ResponseOfNull 0.051 s
test_StatusLine_HappyPath 0.003 s
test_ParseForm_EdgeCase_EmptyValue 0.004 s
test_StatusLine_HappyPath_1_0 0.002 s
test_MultiPartForm_HappyPath_MoreImages 0.037 s
test_MultiPartForm_HappyPath_MultipleImages 0.045 s
test_ThrowingExceptionInThread 0.062 s
test_EdgeCase_DuplicateConsideringBothRegularAndPartialPathRegistrations 0.003 s
test_StatusLine_nullStatusLine 0.003 s
test_PartialMatch_DifferentMethod 0.011 s
testCheckIfSuspiciousPath 0.002 s
test_ParseForm_EdgeCase_BlankKey 0.002 s
test_EdgeCase_DuplicatePartialPathRegistrations 0.003 s
testDetermineIfKeepAlive_OneDotZero_NoHeader 0.003 s
test_StartLine_EmptyPath 0.003 s
testDetermineIfKeepAlive_OneDotZero 0 s
test_StartingWithHandler_Realistic 0.043 s
test_StatusLine_InvalidHttpVersion 0.004 s
test_QueryString_NullQueryString 0.003 s
test_RegisterPathFunction_DifferentMethod 0.002 s
test_StartLine_Post 0.002 s
test_ParseForm_EdgeCase_DuplicateKey 0.002 s
test_PartialMatch_DoesNotMatch 0.002 s
test_StatusLine_MissingStatusCode 0.003 s
test_NotFoundPath 0.031 s
test_ExtractMapFromQueryString_WeirdKeys 0 s
test_StatusLine_emptyStatusLine 0 s
test_PartialMatch_MatchTooMuch 0.007 s
test_Path_InsaneWorld 0.003 s
test_PartialMatch_NothingRegistered 0.003 s
test_EdgeCase_DuplicateConsideringBothRegularAndPartialPathRegistrations_2 0.002 s
test_ExtractMapFromQueryString_ParsingFailure_IncompleteTrailingEscapePattern 0.002 s
testAsteriskForm 0.002 s
testAbsoluteForm 0.001 s
test_EdgeCase_DuplicateRegistrations 0.002 s
test_ExtractMapFromQueryString_NoEqualsSign 0.003 s
testDetermineIfKeepAlive_EdgeCase_HttpVersionNone 0 s
test_StatusLine_InvalidStatusCode 0 s
test_StatusLine_MissingHttpVersion 0.003 s
test_ExtractMapFromQueryString_TooManyPairs 0.002 s
test_PartialMatch_PerfectMatch 0.002 s
test_StartLine_Hashing 0.002 s
test_dumpAttackerNullChecks_NullBrig 0.003 s
testGettingProcessedStartLine_EdgeCase_EmptyStartLine 0.006 s
test_StartLine_DeeperPath2 0.011 s
test_RegisterPathFunction_PrefixMatch 0.002 s
test_MultiPartForm_HappyPath 0.004 s
test_InvalidPort 0.002 s
testDumpIfAttacker 0.005 s
test_ParseForm_Empty 0.004 s
test_ParseQueryString_EdgeCase_DuplicateKey 0.002 s
test_StatusLine_MissingStatusDescription 0.002 s
testCompression_EdgeCase_NoGzip 0 s
test_ParseForm_EdgeCase_NullValue 0 s
test_EdgeCase_slashPrefix 0.004 s
testDetermineIfKeepAlive_OneDotOne_ConnectionClose 0.002 s
test_MultiPartForm_GetHeadersPerPartition 0.004 s
test_StreamingResponse_KnownContentLength 0.012 s
test_StartingWithHandler_Realistic_HTTP_1_0 0.035 s
test_ExtractMapFromQueryString_ParsingFailure_IllegalHexCharacters 0.002 s
test_Headers_Multiple 0.001 s
test_RegisterPathFunction_MultipleRegistrations 0.001 s
testDetermineIfKeepAlive_OneDotOne 0.001 s
test_RegisterPathFunction_RegexPattern 0.003 s
test_ParseForm_MoreRealisticCase 0.034 s
test_StartLine_DeeperPath 0.002 s
test_KeepAlive_Http_1_0 0.090 s
test_TDD_ofHandler 0.005 s