File: example_test.yaml

package info (click to toggle)
liblouis 3.37.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 86,484 kB
  • sloc: ansic: 37,425; makefile: 1,308; python: 772; lisp: 390; sh: 353; perl: 221; cpp: 21
file content (38 lines) | stat: -rw-r--r-- 1,286 bytes parent folder | download | duplicates (5)
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
38
# lines starting with '#' are comments
# first define which tables will be used for your tests
display: tables/unicode-without-blank.dis
table: tables/en-ueb-g1.ctb

# then optionally define flags such as testmode. If no flags are
# defined forward translation is assumed

# now define the tests
tests:
  - # each test is a list.
    # The first item is the string to translate. Quoting of strings is
    # optional
    - hello
    # The second item is the expected translation
    - ⠓⠑⠇⠇⠕
  - # optionally you can define additional parameters in a third
    # item such as typeform or expected failure, etc
    - Hello
    - ⠨⠶⠠⠓⠑⠇⠇⠕⠨⠄
    - {typeform: {italic: '++++ '}, xfail: true}
  - # a simple, no-frills test
    - Good bye
    - ⠠⠛⠕⠕⠙ ⠃⠽⠑
  # same as above using "flow style" notation
  - [Good bye,  ⠠⠛⠕⠕⠙ ⠃⠽⠑]
  - # and finally a test with an optional test description. Here the
    # first item is the description, the second is the string to
    # translate and the third is the expected outcome
    - a test with an optional test description
    - hello
    - ⠓⠑⠇⠇⠕
  -
    - Number-text-transitions with italic
    - 123abc
    - ⠼⠁⠃⠉⠨⠂⠰⠁⠃⠉
    - {typeform: {italic: '   +++'}}