aboutsummaryrefslogtreecommitdiffstats
path: root/selftest/schema_test/schema_case_06.conf
blob: ea7f45f4bd1c6eae7867fa79d511501f4bb29a20 (plain)
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
schema:
  handover:
    threshold: 'uint'
    myvar: 'test_type'
    anothervar: 'another_type'

tests:
   - foobar:
       prefix:
         handover:
           myvar: 'valid_value1'
           anothervar: 'unique_val_ok'
           threshold: 2
   - foobar:
       prefix:
         handover:
           myvar: 'valid_value2'
   - foobar:
       prefix:
         handover:
           threshold: 0
   - foobar:
       prefix:
         handover:
             myvar: 'invalid_val'
   - foobar:
       prefix:
         handover:
             anothervar: 'another_invalid_val'