Gradle Test Run :wiretap-core:jvmTest[jvm]

truncateBody[jvm]

summary

8

tests

0

failures

0

skipped

0.033s

duration

100%

successful

Child Name Tests Failures Skipped Duration Success rate
body equal to maxLength is returned unchanged[jvm] body equal to maxLength is returned unchanged 1 0 0 0s 100%
body longer than maxLength is truncated and gets a suffix[jvm] body longer than maxLength is truncated and gets a suffix 1 0 0 0.005s 100%
body shorter than maxLength is returned unchanged[jvm] body shorter than maxLength is returned unchanged 1 0 0 0.001s 100%
empty body and maxLength positive returns empty body[jvm] empty body and maxLength positive returns empty body 1 0 0 0.001s 100%
maxLength of zero returns null even for non-null body[jvm] maxLength of zero returns null even for non-null body 1 0 0 0.001s 100%
maxLength of zero returns null for null body[jvm] maxLength of zero returns null for null body 1 0 0 0.001s 100%
null body with positive maxLength returns null[jvm] null body with positive maxLength returns null 1 0 0 0s 100%
truncation suffix mentions the limit value[jvm] truncation suffix mentions the limit value 1 0 0 0.001s 100%