examples/barectf-tracepoint: fix comment
[deliverable/barectf.git] / tests / config / fail / type-int / fail.bats
CommitLineData
bed7233f
PP
1#!/usr/bin/env bats
2
3load ../../../common
4load ../../common
5
6@test 'unknown property in int type object makes barectf fail' {
7 barectf_assert_file_exists unknown-prop.yaml
8 barectf_config_check_fail
9}
10
11@test 'no "size" property in int type object makes barectf fail' {
12 barectf_assert_file_exists size-no.yaml
13 barectf_config_check_fail
14}
15
16@test 'wrong "size" property type in int type object makes barectf fail' {
17 barectf_assert_file_exists size-invalid-type.yaml
18 barectf_config_check_fail
19}
20
21@test 'invalid "size" property (0) in int type object makes barectf fail' {
22 barectf_assert_file_exists size-0.yaml
23 barectf_config_check_fail
24}
25
26@test 'invalid "size" property (65) in int type object makes barectf fail' {
27 barectf_assert_file_exists size-65.yaml
28 barectf_config_check_fail
29}
30
31@test 'wrong "signed" property type in int type object makes barectf fail' {
32 barectf_assert_file_exists signed-invalid-type.yaml
33 barectf_config_check_fail
34}
35
36@test 'wrong "align" property type in int type object makes barectf fail' {
37 barectf_assert_file_exists align-invalid-type.yaml
38 barectf_config_check_fail
39}
40
41@test 'invalid "align" property (0) in int type object makes barectf fail' {
42 barectf_assert_file_exists align-0.yaml
43 barectf_config_check_fail
44}
45
46@test 'invalid "align" property (3) in int type object makes barectf fail' {
47 barectf_assert_file_exists align-3.yaml
48 barectf_config_check_fail
49}
50
51@test 'wrong "base" property type in int type object makes barectf fail' {
52 barectf_assert_file_exists base-invalid-type.yaml
53 barectf_config_check_fail
54}
55
56@test 'invalid "base" property in int type object makes barectf fail' {
57 barectf_assert_file_exists base-invalid.yaml
58 barectf_config_check_fail
59}
60
61@test 'wrong "byte-order" property type in int type object makes barectf fail' {
62 barectf_assert_file_exists bo-invalid-type.yaml
63 barectf_config_check_fail
64}
65
66@test 'invalid "byte-order" property in int type object makes barectf fail' {
67 barectf_assert_file_exists bo-invalid.yaml
68 barectf_config_check_fail
69}
70
71@test 'wrong "property-mappings" property type in int type object makes barectf fail' {
72 barectf_assert_file_exists pm-invalid-type.yaml
73 barectf_config_check_fail
74}
75
76@test 'invalid "property-mappings" property in int type object makes barectf fail' {
77 barectf_assert_file_exists pm-unknown-clock.yaml
78 barectf_config_check_fail
79}
80
81@test 'invalid "property-mappings" property (invalid "type" property) in int type object makes barectf fail' {
82 barectf_assert_file_exists pm-type-invalid.yaml
83 barectf_config_check_fail
84}
85
86@test 'invalid "property-mappings" property (invalid "property" property) in int type object makes barectf fail' {
87 barectf_assert_file_exists pm-property-invalid.yaml
88 barectf_config_check_fail
89}
This page took 0.038249 seconds and 4 git commands to generate.