ColorContrastCheckerTest

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,666 of 1,6660%0 of 0n/a50503933935050
testValidateAAAFailsButAADisabled()1050%n/a11232311
testValidateWithMultipleBackgrounds()880%n/a11202011
testValidateWithAACompliantButNotAAA()830%n/a11191911
testValidateAAFailsButAAADisabled()820%n/a11181811
testValidateBothAAAndAAAFail()760%n/a11161611
testValidateWithNonCompliantTextThrowsException()740%n/a11161611
testValidateWithTextOnColoredBackground()740%n/a11171711
testValidateWithLargeFontAndModerateContrast()740%n/a11171711
testValidateMessageIncludesParentText()710%n/a11151511
testValidateWithBothWcagChecksDisabled()680%n/a11161611
testValidateWithWcagAAOnlyEnabled()630%n/a11151511
testValidateWithWcagAAAOnlyEnabled()630%n/a11151511
testValidateWithSmallFontAndLowContrast()630%n/a11141411
testValidateWithNonCompliantTextLogsWarning()600%n/a11141411
testValidateWithMinimalCoverageFiltering()580%n/a11141411
testValidateWithZeroCoverageThreshold()580%n/a11141411
testValidateWithCompliantBlackTextOnWhiteBackground()560%n/a11131311
testValidateWithIndividualGlyphsEnabled()550%n/a11131311
testValidateWithLargeText()550%n/a11131311
testValidateWithTextWithoutParent()550%n/a11131311
testConstructorSetsDefaultValues()550%n/a11131311
testSetMinimalPercentualCoverageNegative()170%n/a114411
testSetMinimalPercentualCoverageGreaterThanOne()170%n/a114411
testValidateWithNonPdfPageContext()160%n/a114411
testMethodChaining()160%n/a116611
testSetCheckWcagAATrue()140%n/a114411
testSetCheckWcagAAFalse()140%n/a114411
testIsPdfObjectReadyToFlush()110%n/a113311
testSetMinimalPercentualCoverageValid()100%n/a113311
testSetMinimalPercentualCoverageZero()100%n/a113311
testSetMinimalPercentualCoverageOne()100%n/a113311
testSetCheckWcagAAFalseLogsWarningWhenBothDisabled()100%n/a113311
testSetCheckWcagAAAFalseLogsWarningWhenBothDisabled()100%n/a113311
lambda$testSetCheckWcagAAAFalseLogsWarningWhenBothDisabled$6(ColorContrastChecker)90%n/a113311
lambda$testSetCheckWcagAAFalseLogsWarningWhenBothDisabled$5(ColorContrastChecker)90%n/a113311
lambda$testValidateAAFailsButAAADisabled$13(ColorContrastChecker, PdfPageValidationContext)40%n/a111111
lambda$testValidateMessageIncludesParentText$12(ColorContrastChecker, PdfPageValidationContext)40%n/a111111
lambda$testValidateWithSmallFontAndLowContrast$11(ColorContrastChecker, PdfPageValidationContext)40%n/a111111
lambda$testValidateWithAACompliantButNotAAA$10(ColorContrastChecker, PdfPageValidationContext)40%n/a112211
lambda$testValidateWithNonCompliantTextThrowsException$9(ColorContrastChecker, PdfPageValidationContext)40%n/a111111
lambda$testValidateWithCompliantBlackTextOnWhiteBackground$8(ColorContrastChecker, PdfPageValidationContext)40%n/a112211
lambda$testValidateWithNonPdfPageContext$7(ColorContrastChecker, IValidationContext)40%n/a112211
lambda$testSetMinimalPercentualCoverageGreaterThanOne$4(ColorContrastChecker)40%n/a111111
lambda$testSetMinimalPercentualCoverageNegative$3(ColorContrastChecker)40%n/a111111
lambda$testSetMinimalPercentualCoverageOne$2(ColorContrastChecker)40%n/a112211
lambda$testSetMinimalPercentualCoverageZero$1(ColorContrastChecker)40%n/a112211
lambda$testSetMinimalPercentualCoverageValid$0(ColorContrastChecker)40%n/a112211
ColorContrastCheckerTest()30%n/a111111
lambda$testValidateBothAAAndAAAFail$15(PdfDocument)30%n/a111111
lambda$testValidateAAAFailsButAADisabled$14(PdfDocument)30%n/a111111