en-GB-g2_harness_source.txt
1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
tables: en-GB-g2.ctb
comment: an example of a simple message being forward translated, and contractions expected.
the cat sat on the mat
comment: same as above example.
to the moon
comment: an example of where text should generally be contracted, accept at the point of the cursor.
comment: also specify where the computer cursor is at, and where we expect the braille cursor to be.
brlCursorPos: 2 cursorPos: 4 mode: compbrlAtCursor
you went to
comment: an example of testing simple backtranslation.
testmode: backtranslate
the cat sat on the mat
comment: same as above example.
testmode: backtranslate
to the moon
comment: an example where the text to be backtranslated is grade 2, but the word at the cursor is grade 1.
brlCursorPos: 2 cursorPos: 4 mode: compbrlAtCursor
testmode: backtranslate
you went to
comment: An example to reproduce:
comment: https://bugzilla.gnome.org/show_bug.cgi?id=651217
comment: note that the braille cursor is very squeued.
comment: computer cursor is at pos 13, expected braille cursor at 15, but actually at 17.
brlCursorPos: 15 cursorPos: 13 mode: compbrlAtCursor
Pappa Pappa help me.
comment: 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).
brlCursorPos: 1 cursorPos: 1
about