| Testing WI.CSSQueryController |
| |
| |
| == Running test suite: CSSQueryController |
| -- Running test case: FindSpecialCharacterIndices |
| PASS: Result for margin should match expected special indices. |
| PASS: Result for MARGIN should match expected special indices. |
| PASS: Result for margin-right should match expected special indices. |
| PASS: Result for -webkit-mask should match expected special indices. |
| PASS: Result for --var-kebab-case should match expected special indices. |
| PASS: Result for --varCamelCase should match expected special indices. |
| PASS: Result for --varlowercase should match expected special indices. |
| PASS: Result for --VARUPPERCASE should match expected special indices. |
| PASS: Result for --var_snake_case should match expected special indices. |
| PASS: Result for var(--name) should match expected special indices. |
| PASS: Result for rgb(0, 0, 0) should match expected special indices. |
| PASS: Result for rgb(0 0 0 / 100%) should match expected special indices. |
| PASS: Result for rgb(0 0 0 / 0.1) should match expected special indices. |
| |
| -- Running test case: ExecuteQueryAgainstNoValues |
| PASS: Should return no results. |
| |
| -- Running test case: ExecuteWhitespaceQueryOrEmptyQuery |
| PASS: Whitespace query should return no results. |
| PASS: Whitespace query should return no results. |
| PASS: Whitespace query should return no results. |
| PASS: Whitespace query should return no results. |
| PASS: Empty query should return no results. |
| |
| -- Running test case: ExecuteQueryMatchNone |
| PASS: Query "abcde" shouldn't match "abcd". |
| PASS: Query "abcd-" shouldn't match "abcde". |
| PASS: Query "abcde" shouldn't match "abced". |
| |
| -- Running test case: ExecuteQueryMatchesExpectedCharacters |
| PASS: Query "abcd" should match "abcd" in "abcde". |
| PASS: Query "a-bcde" should match "a - bcde" in "abcde-abcde". |
| PASS: Query "abcde" should match "A B C D E" in "AaBbCcDdEe". |
| PASS: Query "abcde" should match "A B C De" in "AbcdBcdCdDe". |
| PASS: Query "abcdex" should match "A B C d ex" in "AxBxCxdxexDxyxEF". |
| PASS: Query "bc" should match " bC" in "abCd". |
| PASS: Query "bb" should match " bB" in "abBc". |
| |
| -- Running test case: ExecuteQueryGeneralRankings |
| PASS: Results should be ranked by descending relevancy. |
| |
| -- Running test case: ExecuteQueryPositionRankings |
| PASS: Results should be ranked by descending relevancy. |
| |
| -- Running test case: GetMatchingTextRanges |
| PASS: Result TextRanges should match the expected ranges. |
| PASS: Result TextRanges should match the expected ranges. |
| PASS: Result TextRanges should match the expected ranges. |
| |