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