Debian Codegraph @

tests/mitre/oval_float_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:275" version="1" class="miscellaneous">
10 <metadata>
11 <title>Evaluate to true if the float datatype is properly supported</title>
12 <description>This definition is intended to evalutate to true if the interpreter properly supports the float 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 an equal float value." test_ref="oval:org.mitre.oval.test:tst:319"/>
17 <criterion negate="true" comment="Test that the equals operation is supported with a unequal float value." test_ref="oval:org.mitre.oval.test:tst:322"/>
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 an equal float value." test_ref="oval:org.mitre.oval.test:tst:145"/>
21 <criterion comment="Test that the not equal operation is supported with a unequal float value." test_ref="oval:org.mitre.oval.test:tst:707"/>
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 float value." test_ref="oval:org.mitre.oval.test:tst:264"/>
25 <criterion negate="true" comment="Test that the greater than operation is supported with an equal float value." test_ref="oval:org.mitre.oval.test:tst:668"/>
26 <criterion negate="true" comment="Test that the greater than operation is supported with a less than float value." test_ref="oval:org.mitre.oval.test:tst:408"/>
27 </criteria>
28 <criteria operator="AND" comment="True if the greater than or equal operation is supported is supported.">
29 <criterion comment="Test that the greater than or equal operation is supported with a greater than float value." test_ref="oval:org.mitre.oval.test:tst:352"/>
30 <criterion comment="Test that the greater than or equal operation is supported with an equal float value." test_ref="oval:org.mitre.oval.test:tst:289"/>
31 <criterion negate="true" comment="Test that the greater than or equal operation is supported with a less than float value." test_ref="oval:org.mitre.oval.test:tst:615"/>
32 </criteria>
33 <criteria operator="AND" comment="True if the less than operation is supported is supported.">
34 <criterion comment="Test that the less than operation is supported with a less than float value." test_ref="oval:org.mitre.oval.test:tst:50"/>
35 <criterion negate="true" comment="Test that the less than operation is supported with an equal float value." test_ref="oval:org.mitre.oval.test:tst:841"/>
36 <criterion negate="true" comment="Test that the less than operation is supported with a greater than float value." test_ref="oval:org.mitre.oval.test:tst:62"/>
37 </criteria>
38 <criteria operator="AND" comment="True if the less than or equal operation is supported is supported.">
39 <criterion comment="Test that the less than or equal operation is supported with a less than float value." test_ref="oval:org.mitre.oval.test:tst:128"/>
40 <criterion comment="Test that the less than or equal operation is supported with an equal float value." test_ref="oval:org.mitre.oval.test:tst:730"/>
41 <criterion negate="true" comment="Test that the less than or equal operation is supported with a greater than float value." test_ref="oval:org.mitre.oval.test:tst:811"/>
42 </criteria>
43 </criteria>
44 </definition>
45 </definitions>
46 <tests>
47 <variable_test id="oval:org.mitre.oval.test:tst:319" version="1" comment="Test that the equals operation is supported with an equal float value." check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
48 <object object_ref="oval:org.mitre.oval.test:obj:871"/>
49 <state state_ref="oval:org.mitre.oval.test:ste:624"/>
50 </variable_test>
51 <variable_test id="oval:org.mitre.oval.test:tst:322" version="1" comment="Test that the equals operation is supported with a unequal float value." check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
52 <object object_ref="oval:org.mitre.oval.test:obj:242"/>
53 <state state_ref="oval:org.mitre.oval.test:ste:594"/>
54 </variable_test>
55 <variable_test id="oval:org.mitre.oval.test:tst:145" version="1" comment="Test that the not equal operation is supported with an equal float value." 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:871"/>
57 <state state_ref="oval:org.mitre.oval.test:ste:591"/>
58 </variable_test>
59 <variable_test id="oval:org.mitre.oval.test:tst:707" version="1" comment="Test that the not equal operation is supported with a unequal float value." 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:242"/>
61 <state state_ref="oval:org.mitre.oval.test:ste:895"/>
62 </variable_test>
63 <variable_test id="oval:org.mitre.oval.test:tst:264" version="1" comment="Test that the greater than operation is supported with a greater than float value." 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:242"/>
65 <state state_ref="oval:org.mitre.oval.test:ste:612"/>
66 </variable_test>
67 <variable_test id="oval:org.mitre.oval.test:tst:668" version="1" comment="Test that the greater than operation is supported with an equal float value." 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:871"/>
69 <state state_ref="oval:org.mitre.oval.test:ste:844"/>
70 </variable_test>
71 <variable_test id="oval:org.mitre.oval.test:tst:408" version="1" comment="Test that the greater than operation is supported with a less than float 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:519"/>
73 <state state_ref="oval:org.mitre.oval.test:ste:14"/>
74 </variable_test>
75 <variable_test id="oval:org.mitre.oval.test:tst:352" version="1" comment="Test that the greater than or equal operation is supported with a greater than float value." 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:242"/>
77 <state state_ref="oval:org.mitre.oval.test:ste:293"/>
78 </variable_test>
79 <variable_test id="oval:org.mitre.oval.test:tst:289" version="1" comment="Test that the greater than or equal operation is supported with an equal float 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:871"/>
81 <state state_ref="oval:org.mitre.oval.test:ste:805"/>
82 </variable_test>
83 <variable_test id="oval:org.mitre.oval.test:tst:615" version="1" comment="Test that the greater than or equal operation is supported with a less than float 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:519"/>
85 <state state_ref="oval:org.mitre.oval.test:ste:917"/>
86 </variable_test>
87 <variable_test id="oval:org.mitre.oval.test:tst:50" version="1" comment="Test that the less than operation is supported with a less than float value." 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:519"/>
89 <state state_ref="oval:org.mitre.oval.test:ste:345"/>
90 </variable_test>
91 <variable_test id="oval:org.mitre.oval.test:tst:841" version="1" comment="Test that the less than operation is supported with an equal float 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:871"/>
93 <state state_ref="oval:org.mitre.oval.test:ste:726"/>
94 </variable_test>
95 <variable_test id="oval:org.mitre.oval.test:tst:62" version="1" comment="Test that the less than operation is supported with a greater than float 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:242"/>
97 <state state_ref="oval:org.mitre.oval.test:ste:645"/>
98 </variable_test>
99 <variable_test id="oval:org.mitre.oval.test:tst:128" version="1" comment="Test that the less than or equal operation is supported with a less than float value." 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:519"/>
101 <state state_ref="oval:org.mitre.oval.test:ste:540"/>
102 </variable_test>
103 <variable_test id="oval:org.mitre.oval.test:tst:730" version="1" comment="Test that the less than or equal operation is supported with an equal float 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:871"/>
105 <state state_ref="oval:org.mitre.oval.test:ste:324"/>
106 </variable_test>
107 <variable_test id="oval:org.mitre.oval.test:tst:811" version="1" comment="Test that the less than or equal operation is supported with a greater than float 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:242"/>
109 <state state_ref="oval:org.mitre.oval.test:ste:82"/>
110 </variable_test>
111 </tests>
112 <objects>
113 <variable_object id="oval:org.mitre.oval.test:obj:871" version="1" comment="This variable_object references the float value '1.234'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
114 <var_ref>oval:org.mitre.oval.test:var:567</var_ref>
115 </variable_object>
116 <variable_object id="oval:org.mitre.oval.test:obj:242" version="1" comment="This variable_object references the float value '1.234e2'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
117 <var_ref>oval:org.mitre.oval.test:var:850</var_ref>
118 </variable_object>
119 <variable_object id="oval:org.mitre.oval.test:obj:519" version="1" comment="This variable_object references the float value '1.05254'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
120 <var_ref>oval:org.mitre.oval.test:var:876</var_ref>
121 </variable_object>
122 </objects>
123 <states>
124 <variable_state id="oval:org.mitre.oval.test:ste:624" version="1" comment="This variable_state represents the float value '1.234'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
125 <value datatype="float">1.234</value>
126 </variable_state>
127 <variable_state id="oval:org.mitre.oval.test:ste:594" version="1" comment="This variable_state represents the float value '1.234'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
128 <value datatype="float">1.234</value>
129 </variable_state>
130 <variable_state id="oval:org.mitre.oval.test:ste:591" version="1" comment="This variable_state represents the float value '1.234'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
131 <value datatype="float" operation="not equal">1.234</value>
132 </variable_state>
133 <variable_state id="oval:org.mitre.oval.test:ste:895" version="1" comment="This variable_state represents the float value '1.234'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
134 <value datatype="float" operation="not equal">1.234</value>
135 </variable_state>
136 <variable_state id="oval:org.mitre.oval.test:ste:612" version="1" comment="This variable_state represents the float value '1.234'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
137 <value datatype="float" operation="greater than">1.234</value>
138 </variable_state>
139 <variable_state id="oval:org.mitre.oval.test:ste:844" version="1" comment="This variable_state represents the float value '1.234'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
140 <value datatype="float" operation="greater than">1.234</value>
141 </variable_state>
142 <variable_state id="oval:org.mitre.oval.test:ste:14" version="1" comment="This variable_state represents the float value '1.234'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
143 <value datatype="float" operation="greater than">1.234</value>
144 </variable_state>
145 <variable_state id="oval:org.mitre.oval.test:ste:293" version="1" comment="This variable_state represents the float value '1.234'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
146 <value datatype="float" operation="greater than or equal">1.234</value>
147 </variable_state>
148 <variable_state id="oval:org.mitre.oval.test:ste:805" version="1" comment="This variable_state represents the float value '1.234'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
149 <value datatype="float" operation="greater than or equal">1.234</value>
150 </variable_state>
151 <variable_state id="oval:org.mitre.oval.test:ste:917" version="1" comment="This variable_state represents the float value '1.234'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
152 <value datatype="float" operation="greater than or equal">1.234</value>
153 </variable_state>
154 <variable_state id="oval:org.mitre.oval.test:ste:345" version="1" comment="This variable_state represents the float value '1.234'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
155 <value datatype="float" operation="less than">1.234</value>
156 </variable_state>
157 <variable_state id="oval:org.mitre.oval.test:ste:726" version="1" comment="This variable_state represents the float value '1.234'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
158 <value datatype="float" operation="less than">1.234</value>
159 </variable_state>
160 <variable_state id="oval:org.mitre.oval.test:ste:645" version="1" comment="This variable_state represents the float value '1.234'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
161 <value datatype="float" operation="less than">1.234</value>
162 </variable_state>
163 <variable_state id="oval:org.mitre.oval.test:ste:540" version="1" comment="This variable_state represents the float value '1.234'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
164 <value datatype="float" operation="less than or equal">1.234</value>
165 </variable_state>
166 <variable_state id="oval:org.mitre.oval.test:ste:324" version="1" comment="This variable_state represents the float value '1.234'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
167 <value datatype="float" operation="less than or equal">1.234</value>
168 </variable_state>
169 <variable_state id="oval:org.mitre.oval.test:ste:82" version="1" comment="This variable_state represents the float value '1.234'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
170 <value datatype="float" operation="less than or equal">1.234</value>
171 </variable_state>
172 </states>
173 <variables>
174 <constant_variable id="oval:org.mitre.oval.test:var:567" version="1" comment="This constant_variable represents the float value '1.234'." datatype="float">
175 <value>1.234</value>
176 </constant_variable>
177 <constant_variable id="oval:org.mitre.oval.test:var:850" version="1" comment="This constant_variable represents the float value '1.234e2'." datatype="float">
178 <value>1.234e2</value>
179 </constant_variable>
180 <constant_variable id="oval:org.mitre.oval.test:var:876" version="1" comment="This constant_variable represents the float value '1.05254'." datatype="float">
181 <value>1.05254</value>
182 </constant_variable>
183 </variables>
184 </oval_definitions>