Debian Codegraph @

tests/mitre/oval_check_enumeration_entity.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-05-21T11:46:00-04: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:687" version="1" class="miscellaneous">
10 <metadata>
11 <title>Evaluate to true if the oval:CheckEnumeration simple type is properly supported for the relationship between the instances of an entity</title>
12 <description>This definition is intended to evalutate to true if the interpreter properly supports the oval:CheckEnumeration simple type for the relationship between the instances of an entity.</description>
13 </metadata>
14 <criteria operator="AND">
15 <criterion comment="Test that the CheckEnumeration value 'all' is supported where all of the individual results are true." test_ref="oval:org.mitre.oval.test:tst:855"/>
16 <criterion negate="true" comment="Test that the CheckEnumeration value 'all' is supported where none of the individual results are true." test_ref="oval:org.mitre.oval.test:tst:663"/>
17 <criterion comment="Test that the CheckEnumeration value 'at least one' is supported where more than one of the individual results are true." test_ref="oval:org.mitre.oval.test:tst:679"/>
18 <criterion comment="Test that the CheckEnumeration value 'at least one' is supported where one of the individual results are true." test_ref="oval:org.mitre.oval.test:tst:515"/>
19 <criterion negate="true" comment="Test that the CheckEnumeration value 'at least one' is supported where none of the individual results are true." test_ref="oval:org.mitre.oval.test:tst:591"/>
20 <criterion negate="true" comment="Test that the CheckEnumeration value 'none satisfy' is supported where all of the individual results are true." test_ref="oval:org.mitre.oval.test:tst:647"/>
21 <criterion comment="Test that the CheckEnumeration value 'none satisfy' is supported where none of the individual results are true." test_ref="oval:org.mitre.oval.test:tst:854"/>
22 <criterion negate="true" comment="Test that the CheckEnumeration value 'only one' is supported where more than one of the individual results are true." test_ref="oval:org.mitre.oval.test:tst:29"/>
23 <criterion comment="Test that the CheckEnumeration value 'only one' is supported where one of the individual results are true." test_ref="oval:org.mitre.oval.test:tst:287"/>
24 <criterion negate="true" comment="Test that the CheckEnumeration value 'only one' is supported where none of the individual results are true." test_ref="oval:org.mitre.oval.test:tst:818"/>
25 </criteria>
26 </definition>
27 </definitions>
28 <tests>
29 <variable_test id="oval:org.mitre.oval.test:tst:855" version="1" comment="Test that the CheckEnumeration value 'all' is supported where all of the individual results are true." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
30 <object object_ref="oval:org.mitre.oval.test:obj:33"/>
31 <state state_ref="oval:org.mitre.oval.test:ste:767"/>
32 </variable_test>
33 <variable_test id="oval:org.mitre.oval.test:tst:663" version="1" comment="Test that the CheckEnumeration value 'all' is supported where none of the individual results are true." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
34 <object object_ref="oval:org.mitre.oval.test:obj:33"/>
35 <state state_ref="oval:org.mitre.oval.test:ste:239"/>
36 </variable_test>
37 <variable_test id="oval:org.mitre.oval.test:tst:679" version="1" comment="Test that the CheckEnumeration value 'at least one' is supported where more than one of the individual results are true." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
38 <object object_ref="oval:org.mitre.oval.test:obj:33"/>
39 <state state_ref="oval:org.mitre.oval.test:ste:378"/>
40 </variable_test>
41 <variable_test id="oval:org.mitre.oval.test:tst:515" version="1" comment="Test that the CheckEnumeration value 'at least one' is supported where one of the individual results are true." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
42 <object object_ref="oval:org.mitre.oval.test:obj:33"/>
43 <state state_ref="oval:org.mitre.oval.test:ste:503"/>
44 </variable_test>
45 <variable_test id="oval:org.mitre.oval.test:tst:591" version="1" comment="Test that the CheckEnumeration value 'at least one' is supported where none of the individual results are true." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
46 <object object_ref="oval:org.mitre.oval.test:obj:33"/>
47 <state state_ref="oval:org.mitre.oval.test:ste:537"/>
48 </variable_test>
49 <variable_test id="oval:org.mitre.oval.test:tst:647" version="1" comment="Test that the CheckEnumeration value 'none satisfy' is supported where all of the individual results are true." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
50 <object object_ref="oval:org.mitre.oval.test:obj:33"/>
51 <state state_ref="oval:org.mitre.oval.test:ste:414"/>
52 </variable_test>
53 <variable_test id="oval:org.mitre.oval.test:tst:854" version="1" comment="Test that the CheckEnumeration value 'none satisfy' is supported where none of the individual results are true." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
54 <object object_ref="oval:org.mitre.oval.test:obj:33"/>
55 <state state_ref="oval:org.mitre.oval.test:ste:449"/>
56 </variable_test>
57 <variable_test id="oval:org.mitre.oval.test:tst:29" version="1" comment="Test that the CheckEnumeration value 'only one' is supported where more than one of the individual results are true." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
58 <object object_ref="oval:org.mitre.oval.test:obj:33"/>
59 <state state_ref="oval:org.mitre.oval.test:ste:973"/>
60 </variable_test>
61 <variable_test id="oval:org.mitre.oval.test:tst:287" version="1" comment="Test that the CheckEnumeration value 'only one' is supported where one of the individual results are true." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
62 <object object_ref="oval:org.mitre.oval.test:obj:33"/>
63 <state state_ref="oval:org.mitre.oval.test:ste:247"/>
64 </variable_test>
65 <variable_test id="oval:org.mitre.oval.test:tst:818" version="1" comment="Test that the CheckEnumeration value 'only one' is supported where none of the individual results are true." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
66 <object object_ref="oval:org.mitre.oval.test:obj:33"/>
67 <state state_ref="oval:org.mitre.oval.test:ste:905"/>
68 </variable_test>
69 </tests>
70 <objects>
71 <variable_object id="oval:org.mitre.oval.test:obj:33" version="1" comment="This variable_object references a constant_variable that contains the integer values '1', '2', and '3'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
72 <var_ref>oval:org.mitre.oval.test:var:10</var_ref>
73 </variable_object>
74 </objects>
75 <states>
76 <variable_state id="oval:org.mitre.oval.test:ste:767" version="1" comment="This variable_state represents a variable_object where all of the values are greater than the integer value '0'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
77 <value datatype="int" operation="greater than" entity_check="all">0</value>
78 </variable_state>
79 <variable_state id="oval:org.mitre.oval.test:ste:239" version="1" comment="This variable_state represents a variable_object where all of the values are less than the integer value '0'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
80 <value datatype="int" operation="less than" entity_check="all">0</value>
81 </variable_state>
82 <variable_state id="oval:org.mitre.oval.test:ste:378" version="1" comment="This variable_state represents a variable_object where at least one of the values are greater than the integer value '0'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
83 <value datatype="int" operation="greater than" entity_check="at least one">0</value>
84 </variable_state>
85 <variable_state id="oval:org.mitre.oval.test:ste:503" version="1" comment="This variable_state represents a variable_object where at least one of the values are greater than the integer value '2'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
86 <value datatype="int" operation="greater than" entity_check="at least one">2</value>
87 </variable_state>
88 <variable_state id="oval:org.mitre.oval.test:ste:537" version="1" comment="This variable_state represents a variable_object where at least one of the values are greater than the integer value '3'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
89 <value datatype="int" operation="greater than" entity_check="at least one">3</value>
90 </variable_state>
91 <variable_state id="oval:org.mitre.oval.test:ste:414" version="1" comment="This variable_state represents a variable_object where none of the values are greater than the integer value '0'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
92 <value datatype="int" operation="greater than" entity_check="none satisfy">0</value>
93 </variable_state>
94 <variable_state id="oval:org.mitre.oval.test:ste:449" version="1" comment="This variable_state represents a variable_object where none of the values are less than the integer value '0'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
95 <value datatype="int" operation="less than" entity_check="none satisfy">0</value>
96 </variable_state>
97 <variable_state id="oval:org.mitre.oval.test:ste:973" version="1" comment="This variable_state represents a variable_object where only one of the values are greater than the integer value '0'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
98 <value datatype="int" operation="greater than" entity_check="only one">0</value>
99 </variable_state>
100 <variable_state id="oval:org.mitre.oval.test:ste:247" version="1" comment="This variable_state represents a variable_object where only one of the values are greater than the integer value '2'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
101 <value datatype="int" operation="greater than" entity_check="only one">2</value>
102 </variable_state>
103 <variable_state id="oval:org.mitre.oval.test:ste:905" version="1" comment="This variable_state represents a variable_object where only one of the values are greater than the integer value '3'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
104 <value datatype="int" operation="greater than" entity_check="only one">3</value>
105 </variable_state>
106 </states>
107 <variables>
108 <constant_variable id="oval:org.mitre.oval.test:var:10" version="1" comment="This constant_variable represents the integer values '1', '2', and '3'." datatype="int">
109 <value>1</value>
110 <value>2</value>
111 <value>3</value>
112 </constant_variable>
113 </variables>
114 </oval_definitions>