| Child |
Name |
Tests |
Failures |
Skipped |
Duration |
Success rate |
| checkMessage detects multiple prohibited words |
checkMessage detects multiple prohibited words |
1 |
0 |
0 |
0s |
100% |
| checkMessage detects prohibited word with surrounding special characters |
checkMessage detects prohibited word with surrounding special characters |
1 |
0 |
0 |
0.001s |
100% |
| checkMessage detects substring match |
checkMessage detects substring match |
1 |
0 |
0 |
0s |
100% |
| checkMessage handles prohibited words with special regex characters |
checkMessage handles prohibited words with special regex characters |
1 |
0 |
0 |
0s |
100% |
| checkMessage handles single character prohibited word |
checkMessage handles single character prohibited word |
1 |
0 |
0 |
0.001s |
100% |
| checkMessage handles unicode text without prohibited words |
checkMessage handles unicode text without prohibited words |
1 |
0 |
0 |
0.006s |
100% |
| checkMessage handles very long text |
checkMessage handles very long text |
1 |
0 |
0 |
0.023s |
100% |
| checkMessage is case-insensitive |
checkMessage is case-insensitive |
1 |
0 |
0 |
0.007s |
100% |
| checkMessage returns null for clean text |
checkMessage returns null for clean text |
1 |
0 |
0 |
0s |
100% |
| checkMessage returns null for empty string |
checkMessage returns null for empty string |
1 |
0 |
0 |
0.001s |
100% |
| checkMessage returns null for very long clean text |
checkMessage returns null for very long clean text |
1 |
0 |
0 |
0.008s |
100% |
| checkMessage returns null for whitespace only |
checkMessage returns null for whitespace only |
1 |
0 |
0 |
0s |
100% |
| checkMessage returns null when words are cleared |
checkMessage returns null when words are cleared |
1 |
0 |
0 |
0s |
100% |
| checkMessage returns null with empty prohibited list |
checkMessage returns null with empty prohibited list |
1 |
0 |
0 |
0.003s |
100% |
| checkMessage returns warning for prohibited word |
checkMessage returns warning for prohibited word |
1 |
0 |
0 |
0s |
100% |
| isSpam different messages are not spam |
isSpam different messages are not spam |
1 |
0 |
0 |
0s |
100% |
| isSpam empty string can still be spam |
isSpam empty string can still be spam |
1 |
0 |
0 |
0s |
100% |
| isSpam first message is not spam |
isSpam first message is not spam |
1 |
0 |
0 |
0s |
100% |
| isSpam fourth identical message is also spam |
isSpam fourth identical message is also spam |
1 |
0 |
0 |
0s |
100% |
| isSpam interleaved different messages do not trigger spam |
isSpam interleaved different messages do not trigger spam |
1 |
0 |
0 |
0s |
100% |
| isSpam reset clears state |
isSpam reset clears state |
1 |
0 |
0 |
0s |
100% |
| isSpam second identical message is not spam |
isSpam second identical message is not spam |
1 |
0 |
0 |
0s |
100% |
| isSpam third identical message triggers spam |
isSpam third identical message triggers spam |
1 |
0 |
0 |
0s |
100% |
| isSpam treats different case as different messages |
isSpam treats different case as different messages |
1 |
0 |
0 |
0.016s |
100% |
| updateProhibitedWords lowercases all entries |
updateProhibitedWords lowercases all entries |
1 |
0 |
0 |
0s |
100% |