Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / liblouis / src / tests / harness / en-GB-g2_harness.txt
1 {
2   "tables": [
3     "unicode.dis", 
4     "en-GB-g2.ctb"
5   ], 
6   "tests": [
7     {
8       "data": [
9         {
10           "comment": [
11             "an example of testing simple backtranslation."
12           ], 
13           "input": "⠮ ⠉⠁⠞ ⠎⠁⠞ ⠕⠝ ⠮ ⠍⠁⠞", 
14           "output": "the cat sat on the mat"
15         }, 
16         {
17           "comment": [
18             "same as above example."
19           ], 
20           "input": "⠖⠮ ⠍⠕⠕⠝", 
21           "output": "to the moon"
22         }, 
23         {
24           "brlCursorPos": 2, 
25           "comment": [
26             "an example where the text to be backtranslated is grade 2, but the word at the cursor is grade 1."
27           ], 
28           "cursorPos": 4, 
29           "input": "⠽ ⠺⠑⠝⠞ ⠞⠕", 
30           "mode": "compbrlAtCursor", 
31           "output": "you went to"
32         }
33       ], 
34       "flags": {
35         "outputUniBrl": true, 
36         "testmode": "backtranslate"
37       }
38     }, 
39     {
40       "data": [
41         {
42           "comment": [
43             "an example of a simple message being forward translated, and contractions expected."
44           ], 
45           "input": "the cat sat on the mat", 
46           "output": "⠮ ⠉⠁⠞ ⠎⠁⠞ ⠕⠝ ⠮ ⠍⠁⠞"
47         }, 
48         {
49           "comment": [
50             "same as above example."
51           ], 
52           "input": "to the moon", 
53           "output": "⠖⠮ ⠍⠕⠕⠝"
54         }, 
55         {
56           "brlCursorPos": 2, 
57           "comment": [
58             "an example of where text should generally be contracted, accept at the point of the cursor.", 
59             "also specify where the computer cursor is at, and where we expect the braille cursor to be."
60           ], 
61           "cursorPos": 4, 
62           "input": "you went to", 
63           "mode": "compbrlAtCursor", 
64           "output": "⠽ ⠺⠑⠝⠞ ⠞⠕"
65         }, 
66         {
67           "brlCursorPos": 15, 
68           "comment": [
69             "An example to reproduce:", 
70             "https://bugzilla.gnome.org/show_bug.cgi?id=651217", 
71             "note that the braille cursor is very squeued.", 
72             "computer cursor is at pos 13, expected braille cursor at 15, but actually at 17."
73           ], 
74           "cursorPos": 13, 
75           "input": "Pappa Pappa help me.", 
76           "mode": "compbrlAtCursor", 
77           "output": "⠠⠏⠁⠏⠏⠁ ⠠⠏⠁⠏⠏⠁ ⠓⠑⠇⠏ ⠍⠑⠲"
78         }, 
79         {
80           "brlCursorPos": 1, 
81           "comment": [
82             "this testcase tests cursor position when mode is 0. The word about is contracted to ab. The user presses cursor routing 1 on their display, which should land on letter b, but instead it lands on letter a (index 0)."
83           ], 
84           "cursorPos": 1, 
85           "input": "about", 
86           "output": "⠁⠃"
87         }
88       ], 
89       "flags": {
90         "outputUniBrl": true
91       }
92     }
93   ]
94 }