Gradle Test Run :test

OutputEmitterTest

summary

25

tests

0

failures

0

skipped

0.030s

duration

100%

successful

Child Name Tests Failures Skipped Duration Success rate
csvEscape returns empty string for empty input csvEscape_emptyString_returnsEmptyString() 1 0 0 0.001s 100%
csvEscape returns plain value unchanged when no special characters in multi-word string csvEscape_noSpecialChars_returnsUnchanged() 1 0 0 0.001s 100%
csvEscape returns empty string for null input csvEscape_null_returnsEmptyString() 1 0 0 0.001s 100%
csvEscape returns plain value unchanged when no special characters csvEscape_plainValue_returnsUnchanged() 1 0 0 0s 100%
csvEscape wraps value containing carriage return in double quotes csvEscape_withCarriageReturn_wrapsInQuotes() 1 0 0 0.001s 100%
csvEscape wraps value containing comma in double quotes csvEscape_withComma_wrapsInQuotes() 1 0 0 0.001s 100%
csvEscape handles value with both comma and embedded quote correctly csvEscape_withCommaAndQuote_handledCorrectly() 1 0 0 0.001s 100%
csvEscape wraps value containing newline in double quotes csvEscape_withNewline_wrapsInQuotes() 1 0 0 0s 100%
csvEscape wraps value containing double quote in double quotes and doubles the embedded quote csvEscape_withQuote_wrapsAndDoublesQuote() 1 0 0 0s 100%
emit CSV mode, AI suggestion present, no confidence → ai columns filled with suggestion values emit_csvMode_aiSuggestionNoConfidence_aiColumnsFilled() 1 0 0 0.001s 100%
emit CSV mode, AI suggestion present, with confidence → confidence appended as formatted decimal emit_csvMode_aiSuggestionWithConfidence_confidenceAppended() 1 0 0 0.001s 100%
emit CSV mode, null suggestion with AI enabled → all AI columns are empty strings emit_csvMode_nullSuggestionAiEnabled_allAiColumnsEmpty() 1 0 0 0.001s 100%
emit CSV mode, null suggestion, no AI, no hash, empty tags → basic CSV line with empty tags field emit_csvMode_nullSuggestionNoAiNoHashEmptyTags_correctLine() 1 0 0 0.001s 100%
emit CSV mode, with contentHash → hash column present after tags emit_csvMode_withContentHash_hashColumnPresent() 1 0 0 0.001s 100%
emit CSV mode, null suggestion, no AI, no hash, with tags → tags joined by semicolons emit_csvMode_withTags_tagsJoinedBySemicolon() 1 0 0 0s 100%
emit PLAIN mode, null suggestion, no AI, empty tags → correct plain line with '-' for tags emit_plainMode_nullSuggestionNoAiEmptyTags_tagsAsDash() 1 0 0 0.001s 100%
emit PLAIN mode, null suggestion, with contentHash, AI disabled → HASH field present emit_plainMode_nullSuggestionWithContentHash_hashFieldPresent() 1 0 0 0.001s 100%
emit PLAIN mode with tags, AI suggestion, with confidence → all fields present in output emit_plainMode_withTagsAiSuggestionAndConfidence_allFieldsPresent() 1 0 0 0s 100%
emitCsvHeader in CSV mode with AI and confidence includes ai_confidence column emitCsvHeader_csvMode_aiAndConfidence_includesConfidenceColumn() 1 0 0 0.001s 100%
emitCsvHeader in CSV mode with AI enabled (no confidence) includes ai columns emitCsvHeader_csvMode_aiEnabledNoConfidence_includesAiColumns() 1 0 0 0.001s 100%
emitCsvHeader in CSV mode with no AI and no hash emits minimal header emitCsvHeader_csvMode_noAiNoHash_emitsMinimalHeader() 1 0 0 0.001s 100%
emitCsvHeader in CSV mode with contentHash includes content_hash column after tags emitCsvHeader_csvMode_withContentHash_includesContentHashColumn() 1 0 0 0.001s 100%
emitCsvHeader in PLAIN mode emits nothing emitCsvHeader_plainMode_emitsNothing() 1 0 0 0.001s 100%
emitCsvHeader in SARIF mode emits nothing emitCsvHeader_sarifMode_emitsNothing() 1 0 0 0.001s 100%
emitMetadata emits exactly three lines in '# key: value' format emitMetadata_emitsThreeLinesInKeyValueFormat() 1 0 0 0.001s 100%