| This is some testing content. A link here. MOre text. |
| z |
| Another line of text. |
| |
| Jack and Jill went up the hill to fetch a pail of water. Jack fell down... |
| abcdefghijklmnopqrstuvwxyz0123456789 abcdefghijklmnopqrstuvwxyz0123456789 abcdefghijklmnopqrstuvwxyz0123456789-abcdefghijklmnopqrstuvwxyz0123456789-abcdefghijklmnopqrstuvwxyz0123456789 |
| |
| This tests that lineRectsAndText returns the correct values. |
| |
| On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
| |
| |
| text = "This is some testing content. {\n UIAccessibilityTokenFontFamily = \"Times New Roman\";\n UIAccessibilityTokenFontName = \"Times New Roman\";\n UIAccessibilityTokenFontSize = 16;\n}A link here.{\n UIAccessibilityTokenFontFamily = \"Times New Roman\";\n UIAccessibilityTokenFontName = \"Times New Roman\";\n UIAccessibilityTokenFontSize = 16;\n UIAccessibilityTokenUnderline = 1;\n} MOre text.{\n UIAccessibilityTokenFontFamily = \"Times New Roman\";\n UIAccessibilityTokenFontName = \"Times New Roman\";\n UIAccessibilityTokenFontSize = 16;\n}"; |
| width > 0: true |
| height > 0: true |
| text = "z{\n UIAccessibilityTokenFontFamily = \"Times New Roman\";\n UIAccessibilityTokenFontName = \"Times New Roman\";\n UIAccessibilityTokenFontSize = 16;\n}"; |
| width > 0: true |
| height > 0: true |
| text = "Another line of text.{\n UIAccessibilityTokenFontFamily = \"Times New Roman\";\n UIAccessibilityTokenFontName = \"Times New Roman\";\n UIAccessibilityTokenFontSize = 16;\n}"; |
| width > 0: true |
| height > 0: true |
| text = "cake{\n}"; |
| width > 0: true |
| height > 0: true |
| text = "Jack and Jill went up the hill to fetch a pail of water. Jack fell down...{\n UIAccessibilityTokenFontFamily = \"Times New Roman\";\n UIAccessibilityTokenFontName = \"Times New Roman\";\n UIAccessibilityTokenFontSize = 14;\n}"; |
| width > 0: true |
| height > 0: true |
| text = "abcdefghijklmnopqrstuvwxyz0123456789 abcdefghijklmnopqrstuvwxyz0123456789 {\n UIAccessibilityTokenFontFamily = \"Times New Roman\";\n UIAccessibilityTokenFontName = \"Times New Roman\";\n UIAccessibilityTokenFontSize = 16;\n}"; |
| width > 0: true |
| height > 0: true |
| text = "abcdefghijklmnopqrstuvwxyz0123456789-abcdefghijklmnopqrstuvwxyz0123456789-{\n UIAccessibilityTokenFontFamily = \"Times New Roman\";\n UIAccessibilityTokenFontName = \"Times New Roman\";\n UIAccessibilityTokenFontSize = 16;\n}"; |
| width > 0: true |
| height > 0: true |
| text = "abcdefghijklmnopqrstuvwxyz0123456789{\n UIAccessibilityTokenFontFamily = \"Times New Roman\";\n UIAccessibilityTokenFontName = \"Times New Roman\";\n UIAccessibilityTokenFontSize = 16;\n}"; |
| width > 0: true |
| height > 0: true |
| PASS successfullyParsed is true |
| |
| TEST COMPLETE |
| |