Gradle Test Run :test

JsonTextTest

summary

10

tests

0

failures

0

skipped

0.007s

duration

100%

successful

Child Name Tests Failures Skipped Duration Success rate
extractFirstJsonObject throws AiSuggestionException for blank input extractFirstJsonObject_blankInput_throwsAiSuggestionException() 1 0 0 0s 100%
extractFirstJsonObject throws AiSuggestionException when closing brace appears before opening brace extractFirstJsonObject_closingBraceBeforeOpeningBrace_throwsAiSuggestionException() 1 0 0 0s 100%
extractFirstJsonObject extracts JSON object when wrapped in a markdown code fence extractFirstJsonObject_extractsJsonWrappedByMarkdownFence() 1 0 0 0s 100%
extractFirstJsonObject extracts JSON object when wrapped by plain text extractFirstJsonObject_extractsJsonWrappedByPlainText() 1 0 0 0.001s 100%
extractFirstJsonObject returns '{}' for minimal valid JSON object input extractFirstJsonObject_minimalValidObject_returnsItself() 1 0 0 0.001s 100%
extractFirstJsonObject throws AiSuggestionException when input has no closing brace extractFirstJsonObject_missingClosingBrace_throwsAiSuggestionException() 1 0 0 0s 100%
extractFirstJsonObject throws AiSuggestionException when input has no opening brace extractFirstJsonObject_missingOpeningBrace_throwsAiSuggestionException() 1 0 0 0s 100%
extractFirstJsonObject throws AiSuggestionException for null input extractFirstJsonObject_nullInput_throwsAiSuggestionException() 1 0 0 0s 100%
extractFirstJsonObject preserves nested objects and arrays in the extracted JSON extractFirstJsonObject_preservesNestedObjectsAndArrays() 1 0 0 0s 100%
extractFirstJsonObject returns the string unchanged when input is exactly a JSON object extractFirstJsonObject_returnsJsonWhenInputIsExactlyJson() 1 0 0 0s 100%