mattbaker@apple.com | 7f71bd8 | 2016-04-17 01:26:07 +0000 | [diff] [blame] | 1 | |
| 2 | == Running test suite: StringUtilities |
| 3 | -- Running test case: String.format |
| 4 | PASS: float format specifier with no sub-specifier should show 6 decimal digits |
| 5 | PASS: float format specifier with precision 0 should show 0 decimal digits |
| 6 | PASS: float format specifier with precision 1 should show 1 decimal digit |
| 7 | PASS: float format specifier with precision 2 should show 2 decimal digits |
| 8 | PASS: float format specifier with precision 3 should show 3 decimal digits |
| 9 | PASS: float format specifier with precision 4 should show 4 decimal digits |
| 10 | PASS: float format specifier with precision 5 should show 5 decimal digits |
| 11 | PASS: float format specifier with precision 6 should show 6 decimal digits |
| 12 | PASS: float format specifier with precision 7 should show 7 decimal digits |
| 13 | PASS: float format specifier with precision 8 should show 8 decimal digits |
| 14 | PASS: float format specifier with precision 9 should show 9 decimal digits |
| 15 | PASS: float format specifier with string argument should attempt conversion to float |
| 16 | PASS: float format specifier with Infinity argument should show "∞" |
| 17 | PASS: float format specifier with NaN argument should show "NaN" |
| 18 | PASS: integer format specifier with float argument should convert to integer |
| 19 | PASS: integer format specifier with string argument should attempt conversion to integer |
| 20 | PASS: integer format specifier with Infinity argument should show "NaN" |
| 21 | PASS: integer format specifier with NaN argument should show "NaN" |
| 22 | |
drousso@apple.com | 2719818 | 2017-06-30 21:47:05 +0000 | [diff] [blame] | 23 | -- Running test case: String.prototype.extendedLocaleCompare |
| 24 | PASS: "1" < "2" |
| 25 | PASS: "2" > "1" |
| 26 | PASS: "2" < "10" |
| 27 | PASS: "10" > "2" |
| 28 | PASS: "1" < "10" |
| 29 | PASS: "10" > "1" |
| 30 | PASS: "a1" < "a2" |
| 31 | PASS: "a2" > "a1" |
| 32 | PASS: "a2" < "a10" |
| 33 | PASS: "a10" > "a2" |
| 34 | PASS: "a1" < "a10" |
| 35 | PASS: "a10" > "a1" |
| 36 | |
nvasilyev@apple.com | 2b9513d | 2017-09-17 20:11:37 +0000 | [diff] [blame] | 37 | -- Running test case: String.prototype.get lineCount |
| 38 | PASS: A string with two line breaks should have three lines. |
| 39 | PASS: A string with two consecutive line breaks should have three lines. |
| 40 | PASS: A string with a traling line breaks should have two lines. |
| 41 | PASS: An empty string is one line. |
| 42 | |
| 43 | -- Running test case: String.prototype.get lastLine |
| 44 | PASS: Last line of one line string is the same string. |
| 45 | PASS: Last line of a three line string should be the third line. |
| 46 | PASS: Last line of a string with a traling line break should be empty. |
| 47 | PASS: Last line of an empty string is the same empty string. |
| 48 | |
drousso@apple.com | 400408f | 2018-10-31 18:25:54 +0000 | [diff] [blame] | 49 | -- Running test case: String.prototype.truncateStart |
| 50 | PASS: String stays the same. |
| 51 | PASS: Ellipsis is inserted before the third character. |
| 52 | PASS: Ellipsis is inserted before the fourth character. |
| 53 | |
nvasilyev@apple.com | a9e56da | 2018-02-07 03:05:54 +0000 | [diff] [blame] | 54 | -- Running test case: String.prototype.truncateMiddle |
| 55 | PASS: String stays the same. |
| 56 | PASS: Ellipsis is inserted in the middle. |
| 57 | PASS: Ellipsis is inserted after the second character. |
| 58 | |
| 59 | -- Running test case: String.prototype.truncateEnd |
| 60 | PASS: String stays the same. |
drousso@apple.com | 400408f | 2018-10-31 18:25:54 +0000 | [diff] [blame] | 61 | PASS: Ellipsis is inserted after the fourth character. |
nvasilyev@apple.com | a9e56da | 2018-02-07 03:05:54 +0000 | [diff] [blame] | 62 | PASS: Ellipsis is inserted after the third character. |
| 63 | |
timothy@apple.com | e98b85b | 2018-03-28 02:51:18 +0000 | [diff] [blame] | 64 | -- Running test case: String.prototype.escapeCharacters |
| 65 | PASS: String stays the same with no escape characters. |
| 66 | PASS: String stays the same with empty escape characters. |
| 67 | PASS: String stays the same with no matching escape characters. |
| 68 | PASS: The letter 'c' is escaped. |
| 69 | PASS: The letter 'c' and 'e' are escaped. |
| 70 | PASS: The letter 'c' and 'e' are escaped. |
| 71 | PASS: The letter 'c', 'd', and 'e' are escaped. |
| 72 | |