1 # SPDX-License-Identifier: GPL-2.0-only
3 # Copyright (C) 2019 EfficiOS Inc.
10 class PackageTestCase(unittest
.TestCase
):
11 def _assert_in_bt2(self
, name
):
12 self
.assertIn(name
, dir(bt2
))
19 '_ArrayFieldClassConst',
23 '_BitArrayFieldClass',
24 '_BitArrayFieldClassConst',
25 '_BitArrayFieldConst',
28 '_BoolFieldClassConst',
31 '_ClockSnapshotConst',
32 '_ComponentClassErrorCause',
33 '_ComponentErrorCause',
34 '_CurrentArrayElementFieldPathItem',
35 '_CurrentOptionContentFieldPathItem',
36 '_DiscardedEventsMessage',
37 '_DiscardedEventsMessageConst',
38 '_DiscardedPacketsMessage',
39 '_DiscardedPacketsMessageConst',
40 '_DoublePrecisionRealField',
41 '_DoublePrecisionRealFieldConst',
43 '_DynamicArrayFieldClass',
44 '_DynamicArrayFieldClassConst',
45 '_DynamicArrayFieldConst',
46 '_DynamicArrayWithLengthFieldFieldClass',
47 '_DynamicArrayWithLengthFieldFieldClassConst',
49 '_EnumerationFieldClass',
50 '_EnumerationFieldClassConst',
51 '_EnumerationFieldConst',
56 '_FilterComponentClassConst',
57 '_FilterComponentConst',
58 '_IndexFieldPathItem',
61 '_IntegerFieldClassConst',
66 '_MessageIteratorErrorCause',
67 '_MessageIteratorInactivityMessage',
68 '_MessageIteratorInactivityMessageConst',
70 '_OptionFieldClassConst',
71 '_OptionWithBoolSelectorFieldClass',
72 '_OptionWithBoolSelectorFieldClassConst',
73 '_OptionWithIntegerSelectorFieldClass',
74 '_OptionWithIntegerSelectorFieldClassConst',
75 '_OptionWithSelectorFieldClass',
76 '_OptionWithSelectorFieldClassConst',
77 '_OptionWithSignedIntegerSelectorFieldClass',
78 '_OptionWithSignedIntegerSelectorFieldClassConst',
79 '_OptionWithUnsignedIntegerSelectorFieldClass',
80 '_OptionWithUnsignedIntegerSelectorFieldClassConst',
81 '_PacketBeginningMessage',
82 '_PacketBeginningMessageConst',
84 '_PacketEndMessageConst',
87 '_RealFieldClassConst',
90 '_SignedEnumerationField',
91 '_SignedEnumerationFieldClass',
92 '_SignedEnumerationFieldClassConst',
93 '_SignedEnumerationFieldConst',
94 '_SignedIntegerField',
95 '_SignedIntegerFieldClass',
96 '_SignedIntegerFieldClassConst',
97 '_SignedIntegerFieldConst',
98 '_SignedIntegerRangeConst',
99 '_SignedIntegerRangeSetConst',
100 '_SignedIntegerValueConst',
101 '_SinglePrecisionRealField',
102 '_SinglePrecisionRealFieldConst',
103 '_SinkComponentClassConst',
104 '_SinkComponentConst',
105 '_SourceComponentClassConst',
106 '_SourceComponentConst',
108 '_StaticArrayFieldClass',
109 '_StaticArrayFieldClassConst',
110 '_StaticArrayFieldConst',
111 '_StreamBeginningMessage',
112 '_StreamBeginningMessageConst',
114 '_StreamEndMessageConst',
117 '_StringFieldClassConst',
121 '_StructureFieldClass',
122 '_StructureFieldClassConst',
123 '_StructureFieldConst',
124 '_UnknownClockSnapshot',
125 '_UnsignedEnumerationField',
126 '_UnsignedEnumerationFieldClass',
127 '_UnsignedEnumerationFieldClassConst',
128 '_UnsignedEnumerationFieldConst',
129 '_UnsignedIntegerField',
130 '_UnsignedIntegerFieldClass',
131 '_UnsignedIntegerFieldClassConst',
132 '_UnsignedIntegerFieldConst',
133 '_UnsignedIntegerRangeConst',
134 '_UnsignedIntegerRangeSetConst',
135 '_UnsignedIntegerValueConst',
136 '_UserFilterComponent',
137 '_UserMessageIterator',
138 '_UserSinkComponent',
139 '_UserSourceComponent',
142 '_VariantFieldClass',
143 '_VariantFieldClassConst',
144 '_VariantFieldClassWithIntegerSelector',
145 '_VariantFieldClassWithIntegerSelectorConst',
146 '_VariantFieldClassWithoutSelector',
147 '_VariantFieldClassWithoutSelectorConst',
148 '_VariantFieldClassWithSignedIntegerSelector',
149 '_VariantFieldClassWithSignedIntegerSelectorConst',
150 '_VariantFieldClassWithUnsignedIntegerSelector',
151 '_VariantFieldClassWithUnsignedIntegerSelectorConst',
152 '_VariantFieldConst',
153 '_VariantFieldConst',
155 'AutoSourceComponentSpec',
158 'ComponentClassType',
159 'ComponentDescriptor',
162 'EventClassLogLevel',
166 'find_plugins_in_path',
167 'get_global_logging_level',
168 'get_minimal_logging_level',
170 'IntegerDisplayBase',
174 'plugin_component_class',
178 'set_global_logging_level',
179 'SignedIntegerRange',
180 'SignedIntegerRangeSet',
181 'SignedIntegerValue',
183 'TraceCollectionMessageIterator',
184 'UnsignedIntegerRange',
185 'UnsignedIntegerRangeSet',
186 'UnsignedIntegerValue',
189 for name
in _public_names
:
192 self
._assert
_in
_bt
2(name
)
194 setattr(PackageTestCase
, 'test_has_' + name
, test_func
)
197 if __name__
== '__main__':
This page took 0.033673 seconds and 4 git commands to generate.