Debian Codegraph @

tests/mitre/oval_int_datatype.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8"?>
2 <oval_definitions xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-definitions-5 oval-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#independent independent-definitions-schema.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:ind-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5">
3 <generator>
4 <oval:schema_version>5.10.1</oval:schema_version>
5 <oval:timestamp>2009-01-12T10:41:00-05:00</oval:timestamp>
6 <terms_of_use>Copyright (c) 2002-2012, The MITRE Corporation. All rights reserved. The contents of this file are subject to the license described in terms.txt.</terms_of_use>
7 </generator>
8 <definitions>
9 <definition id="oval:org.mitre.oval.test:def:356" version="1" class="miscellaneous">
10 <metadata>
11 <title>Evaluate to true if the int datatype is properly supported</title>
12 <description>This definition is intended to evalutate to true if the interpreter properly supports the int datatype and all of its valid operations.</description>
13 </metadata>
14 <criteria operator="AND">
15 <criteria operator="AND" comment="True if the equals operation is supported">
16 <criterion comment="Test that the equals operation is supported with two equal integer values." test_ref="oval:org.mitre.oval.test:tst:157"/>
17 <criterion negate="true" comment="Test that the equals operation is supported with two unequal integer values." test_ref="oval:org.mitre.oval.test:tst:639"/>
18 </criteria>
19 <criteria operator="AND" comment="True if the not equal operation is supported">
20 <criterion negate="true" comment="Test that the not equal operation is supported with two equal integer values." test_ref="oval:org.mitre.oval.test:tst:147"/>
21 <criterion comment="Test that the not equal operation is supported with two unequal integer values." test_ref="oval:org.mitre.oval.test:tst:502"/>
22 </criteria>
23 <criteria operator="AND" comment="True if the greater than operation is supported">
24 <criterion comment="Test that the greater than operation is supported with a greater than integer value." test_ref="oval:org.mitre.oval.test:tst:842"/>
25 <criterion negate="true" comment="Test that the greater than operation is supported with two equal integer values." test_ref="oval:org.mitre.oval.test:tst:117"/>
26 <criterion negate="true" comment="Test that the greater than operation is supported with a less than integer value." test_ref="oval:org.mitre.oval.test:tst:232"/>
27 </criteria>
28 <criteria operator="AND" comment="True if the greater than or equal operation is supported">
29 <criterion comment="Test that the greater than or equal operation is supported with a greater than integer value." test_ref="oval:org.mitre.oval.test:tst:753"/>
30 <criterion comment="Test that the greater than or equal operation is supported with two equal integer values." test_ref="oval:org.mitre.oval.test:tst:534"/>
31 <criterion negate="true" comment="Test that the greater than or equal operation is supported with a less than integer value." test_ref="oval:org.mitre.oval.test:tst:530"/>
32 </criteria>
33 <criteria operator="AND" comment="True if the less than operation is supported">
34 <criterion comment="Test that the less than operation is supported with a less than integer value." test_ref="oval:org.mitre.oval.test:tst:576"/>
35 <criterion negate="true" comment="Test that the less than operation is supported with two equal integer values." test_ref="oval:org.mitre.oval.test:tst:856"/>
36 <criterion negate="true" comment="Test that the less than operation is supported with a greater than integer value." test_ref="oval:org.mitre.oval.test:tst:442"/>
37 </criteria>
38 <criteria operator="AND" comment="True if the less than or equal operation is supported">
39 <criterion comment="Test that the less than or equal operation is supported with a less than integer value." test_ref="oval:org.mitre.oval.test:tst:361"/>
40 <criterion comment="Test that the less than or equal operation is supported with two equal integer values." test_ref="oval:org.mitre.oval.test:tst:245"/>
41 <criterion negate="true" comment="Test that the less than or equal operation is supported with a greater than integer value." test_ref="oval:org.mitre.oval.test:tst:478"/>
42 </criteria>
43 <criteria operator="AND" comment="True if the bitwise and operation is supported">
44 <criterion comment="Test that the bitwise and operation is supported with a single integer where the result is the same as the state mask." test_ref="oval:org.mitre.oval.test:tst:677"/>
45 <criterion negate="true" comment="Test that the bitwise and operation is supported with a single integer where the result is not the same as the state mask." test_ref="oval:org.mitre.oval.test:tst:393"/>
46 </criteria>
47 <criteria operator="AND" comment="True if the bitwise or operation is supported">
48 <criterion comment="Test that the bitwise or operation is supported with a single integer where the result is the same as the state mask." test_ref="oval:org.mitre.oval.test:tst:599"/>
49 <criterion negate="true" comment="Test that the bitwise or operation is supported with a single integer where the result is not the same as the state mask." test_ref="oval:org.mitre.oval.test:tst:103"/>
50 </criteria>
51 </criteria>
52 </definition>
53 </definitions>
54 <tests>
55 <variable_test id="oval:org.mitre.oval.test:tst:157" version="1" comment="Test that the equals operation is supported with two equal integer values." check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
56 <object object_ref="oval:org.mitre.oval.test:obj:857"/>
57 <state state_ref="oval:org.mitre.oval.test:ste:753"/>
58 </variable_test>
59 <variable_test id="oval:org.mitre.oval.test:tst:639" version="1" comment="Test that the equals operation is supported with two unequal integer values." check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
60 <object object_ref="oval:org.mitre.oval.test:obj:775"/>
61 <state state_ref="oval:org.mitre.oval.test:ste:618"/>
62 </variable_test>
63 <variable_test id="oval:org.mitre.oval.test:tst:147" version="1" comment="Test that the not equal operation is supported with two equal integer values." check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
64 <object object_ref="oval:org.mitre.oval.test:obj:857"/>
65 <state state_ref="oval:org.mitre.oval.test:ste:51"/>
66 </variable_test>
67 <variable_test id="oval:org.mitre.oval.test:tst:502" version="1" comment="Test that the not equal operation is supported with two unequal integer values." check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
68 <object object_ref="oval:org.mitre.oval.test:obj:775"/>
69 <state state_ref="oval:org.mitre.oval.test:ste:166"/>
70 </variable_test>
71 <variable_test id="oval:org.mitre.oval.test:tst:842" version="1" comment="Test that the greater than operation is supported with a greater than integer value." check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
72 <object object_ref="oval:org.mitre.oval.test:obj:4"/>
73 <state state_ref="oval:org.mitre.oval.test:ste:670"/>
74 </variable_test>
75 <variable_test id="oval:org.mitre.oval.test:tst:117" version="1" comment="Test that the greater than operation is supported with two equal integer values." check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
76 <object object_ref="oval:org.mitre.oval.test:obj:857"/>
77 <state state_ref="oval:org.mitre.oval.test:ste:318"/>
78 </variable_test>
79 <variable_test id="oval:org.mitre.oval.test:tst:232" version="1" comment="Test that the greater than operation is supported with a less than integer value." check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
80 <object object_ref="oval:org.mitre.oval.test:obj:775"/>
81 <state state_ref="oval:org.mitre.oval.test:ste:71"/>
82 </variable_test>
83 <variable_test id="oval:org.mitre.oval.test:tst:753" version="1" comment="Test that the greater than or equal operation is supported with a greater than integer value." check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
84 <object object_ref="oval:org.mitre.oval.test:obj:4"/>
85 <state state_ref="oval:org.mitre.oval.test:ste:74"/>
86 </variable_test>
87 <variable_test id="oval:org.mitre.oval.test:tst:534" version="1" comment="Test that the greater than or equal operation is supported with two equal integer values." check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
88 <object object_ref="oval:org.mitre.oval.test:obj:857"/>
89 <state state_ref="oval:org.mitre.oval.test:ste:989"/>
90 </variable_test>
91 <variable_test id="oval:org.mitre.oval.test:tst:530" version="1" comment="Test that the greater than or equal operation is supported with a less than integer value." check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
92 <object object_ref="oval:org.mitre.oval.test:obj:775"/>
93 <state state_ref="oval:org.mitre.oval.test:ste:163"/>
94 </variable_test>
95 <variable_test id="oval:org.mitre.oval.test:tst:576" version="1" comment="Test that the less than operation is supported with a less than integer value." check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
96 <object object_ref="oval:org.mitre.oval.test:obj:775"/>
97 <state state_ref="oval:org.mitre.oval.test:ste:971"/>
98 </variable_test>
99 <variable_test id="oval:org.mitre.oval.test:tst:856" version="1" comment="Test that the less than operation is supported with two equal integer values." check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
100 <object object_ref="oval:org.mitre.oval.test:obj:857"/>
101 <state state_ref="oval:org.mitre.oval.test:ste:792"/>
102 </variable_test>
103 <variable_test id="oval:org.mitre.oval.test:tst:442" version="1" comment="Test that the less than operation is supported with a greater than integer value." check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
104 <object object_ref="oval:org.mitre.oval.test:obj:4"/>
105 <state state_ref="oval:org.mitre.oval.test:ste:698"/>
106 </variable_test>
107 <variable_test id="oval:org.mitre.oval.test:tst:361" version="1" comment="Test that the less than or equal operation is supported with a less than integer value." check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
108 <object object_ref="oval:org.mitre.oval.test:obj:775"/>
109 <state state_ref="oval:org.mitre.oval.test:ste:28"/>
110 </variable_test>
111 <variable_test id="oval:org.mitre.oval.test:tst:245" version="1" comment="Test that the less than or equal operation is supported with two equal integer values." check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
112 <object object_ref="oval:org.mitre.oval.test:obj:857"/>
113 <state state_ref="oval:org.mitre.oval.test:ste:779"/>
114 </variable_test>
115 <variable_test id="oval:org.mitre.oval.test:tst:478" version="1" comment="Test that the less than or equal operation is supported with a greater than integer value." check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
116 <object object_ref="oval:org.mitre.oval.test:obj:4"/>
117 <state state_ref="oval:org.mitre.oval.test:ste:879"/>
118 </variable_test>
119 <variable_test id="oval:org.mitre.oval.test:tst:677" version="1" comment="Test that the bitwise and operation is supported with a single integer where the result is the same as the state mask." check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
120 <object object_ref="oval:org.mitre.oval.test:obj:335"/>
121 <state state_ref="oval:org.mitre.oval.test:ste:650"/>
122 </variable_test>
123 <variable_test id="oval:org.mitre.oval.test:tst:393" version="1" comment="Test that the bitwise and operation is supported with a single integer where the result is not the same as the state mask." check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
124 <object object_ref="oval:org.mitre.oval.test:obj:527"/>
125 <state state_ref="oval:org.mitre.oval.test:ste:282"/>
126 </variable_test>
127 <variable_test id="oval:org.mitre.oval.test:tst:599" version="1" comment="Test that the bitwise or operation is supported with a single integer where the result is the same as the state mask." check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
128 <object object_ref="oval:org.mitre.oval.test:obj:335"/>
129 <state state_ref="oval:org.mitre.oval.test:ste:789"/>
130 </variable_test>
131 <variable_test id="oval:org.mitre.oval.test:tst:103" version="1" comment="Test that the bitwise or operation is supported with a single integer where the result is not the same as the state mask." check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
132 <object object_ref="oval:org.mitre.oval.test:obj:527"/>
133 <state state_ref="oval:org.mitre.oval.test:ste:526"/>
134 </variable_test>
135 </tests>
136 <objects>
137 <variable_object id="oval:org.mitre.oval.test:obj:857" version="1" comment="This variable_object references the integer value '1234'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
138 <var_ref>oval:org.mitre.oval.test:var:745</var_ref>
139 </variable_object>
140 <variable_object id="oval:org.mitre.oval.test:obj:775" version="1" comment="This variable_object references the integer value '942'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
141 <var_ref>oval:org.mitre.oval.test:var:808</var_ref>
142 </variable_object>
143 <variable_object id="oval:org.mitre.oval.test:obj:4" version="1" comment="This variable_object references the integer value '5890'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
144 <var_ref>oval:org.mitre.oval.test:var:920</var_ref>
145 </variable_object>
146 <variable_object id="oval:org.mitre.oval.test:obj:335" version="1" comment="This variable_object references the integer value '6'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
147 <var_ref>oval:org.mitre.oval.test:var:386</var_ref>
148 </variable_object>
149 <variable_object id="oval:org.mitre.oval.test:obj:527" version="1" comment="This variable_object references the integer value '1'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
150 <var_ref>oval:org.mitre.oval.test:var:784</var_ref>
151 </variable_object>
152 </objects>
153 <states>
154 <variable_state id="oval:org.mitre.oval.test:ste:753" version="1" comment="This variable_state represents the integer value '1234'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
155 <value datatype="int">1234</value>
156 </variable_state>
157 <variable_state id="oval:org.mitre.oval.test:ste:618" version="1" comment="This variable_state represents the integer value '1234'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
158 <value datatype="int">1234</value>
159 </variable_state>
160 <variable_state id="oval:org.mitre.oval.test:ste:51" version="1" comment="This variable_state represents the integer value '1234'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
161 <value datatype="int" operation="not equal">1234</value>
162 </variable_state>
163 <variable_state id="oval:org.mitre.oval.test:ste:166" version="1" comment="This variable_state represents the integer value '1234'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
164 <value datatype="int" operation="not equal">1234</value>
165 </variable_state>
166 <variable_state id="oval:org.mitre.oval.test:ste:670" version="1" comment="This variable_state represents the integer value '1234'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
167 <value datatype="int" operation="greater than">1234</value>
168 </variable_state>
169 <variable_state id="oval:org.mitre.oval.test:ste:318" version="1" comment="This variable_state represents the integer value '1234'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
170 <value datatype="int" operation="greater than">1234</value>
171 </variable_state>
172 <variable_state id="oval:org.mitre.oval.test:ste:71" version="1" comment="This variable_state represents the integer value '1234'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
173 <value datatype="int" operation="greater than">1234</value>
174 </variable_state>
175 <variable_state id="oval:org.mitre.oval.test:ste:74" version="1" comment="This variable_state represents the integer value '1234'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
176 <value datatype="int" operation="greater than or equal">1234</value>
177 </variable_state>
178 <variable_state id="oval:org.mitre.oval.test:ste:989" version="1" comment="This variable_state represents the integer value '1234'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
179 <value datatype="int" operation="greater than or equal">1234</value>
180 </variable_state>
181 <variable_state id="oval:org.mitre.oval.test:ste:163" version="1" comment="This variable_state represents the integer value '1234'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
182 <value datatype="int" operation="greater than or equal">1234</value>
183 </variable_state>
184 <variable_state id="oval:org.mitre.oval.test:ste:971" version="1" comment="This variable_state represents the integer value '1234'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
185 <value datatype="int" operation="less than">1234</value>
186 </variable_state>
187 <variable_state id="oval:org.mitre.oval.test:ste:792" version="1" comment="This variable_state represents the integer value '1234'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
188 <value datatype="int" operation="less than">1234</value>
189 </variable_state>
190 <variable_state id="oval:org.mitre.oval.test:ste:698" version="1" comment="This variable_state represents the integer value '1234'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
191 <value datatype="int" operation="less than">1234</value>
192 </variable_state>
193 <variable_state id="oval:org.mitre.oval.test:ste:28" version="1" comment="This variable_state represents the integer value '1234'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
194 <value datatype="int" operation="less than or equal">1234</value>
195 </variable_state>
196 <variable_state id="oval:org.mitre.oval.test:ste:779" version="1" comment="This variable_state represents the integer value '1234'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
197 <value datatype="int" operation="less than or equal">1234</value>
198 </variable_state>
199 <variable_state id="oval:org.mitre.oval.test:ste:879" version="1" comment="This variable_state represents the integer value '1234'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
200 <value datatype="int" operation="less than or equal">1234</value>
201 </variable_state>
202 <variable_state id="oval:org.mitre.oval.test:ste:650" version="1" comment="This variable_state represents the integer value '4'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
203 <value datatype="int" operation="bitwise and">4</value>
204 </variable_state>
205 <variable_state id="oval:org.mitre.oval.test:ste:282" version="1" comment="This variable_state represents the integer value '4'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
206 <value datatype="int" operation="bitwise and">4</value>
207 </variable_state>
208 <variable_state id="oval:org.mitre.oval.test:ste:789" version="1" comment="This variable_state represents the integer value '14'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
209 <value datatype="int" operation="bitwise or">14</value>
210 </variable_state>
211 <variable_state id="oval:org.mitre.oval.test:ste:526" version="1" comment="This variable_state represents the integer value '14'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
212 <value datatype="int" operation="bitwise or">14</value>
213 </variable_state>
214 </states>
215 <variables>
216 <constant_variable id="oval:org.mitre.oval.test:var:745" version="1" comment="This constant_variable represents the integer value '1234'." datatype="int">
217 <value>1234</value>
218 </constant_variable>
219 <constant_variable id="oval:org.mitre.oval.test:var:808" version="1" comment="This constant_variable represents the integer value '942'." datatype="int">
220 <value>942</value>
221 </constant_variable>
222 <constant_variable id="oval:org.mitre.oval.test:var:920" version="1" comment="This constant_variable represents the integer value '5890'." datatype="int">
223 <value>5890</value>
224 </constant_variable>
225 <constant_variable id="oval:org.mitre.oval.test:var:386" version="1" comment="This constant_variable represents the integer value '6'." datatype="int">
226 <value>6</value>
227 </constant_variable>
228 <constant_variable id="oval:org.mitre.oval.test:var:784" version="1" comment="This constant_variable represents the integer value '1'." datatype="int">
229 <value>1</value>
230 </constant_variable>
231 </variables>
232 </oval_definitions>