Debian Codegraph @

tests/mitre/oval_existence_enumeration.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:834" version="1" class="miscellaneous">
10 <metadata>
11 <title>Evaluate to true if the oval:ExistenceEnumeration simple type is properly supported</title>
12 <description>This definition is intended to evalutate to true if the interpreter properly supports the oval:ExistenceEnumeration simple type.</description>
13 </metadata>
14 <criteria operator="AND">
15 <criterion negate="true" comment="Test that the ExistenceEnumeration value 'all_exist' is supported where no object defined by the description exists on the system." test_ref="oval:org.mitre.oval.test:tst:990"/>
16 <criterion comment="Test that the ExistenceEnumeration value 'all_exist' is supported where every object defined by the description exists on the system." test_ref="oval:org.mitre.oval.test:tst:778"/>
17 <criterion comment="Test that the ExistenceEnumeration value 'any_exist' is supported where no object defined by the description exists on the system." test_ref="oval:org.mitre.oval.test:tst:409"/>
18 <criterion comment="Test that the ExistenceEnumeration value 'any_exist' is supported where every object defined by the description exists on the system." test_ref="oval:org.mitre.oval.test:tst:257"/>
19 <criterion negate="true" comment="Test that the ExistenceEnumeration value 'at_least_one_exists' is supported where no object defined by the description exists on the system." test_ref="oval:org.mitre.oval.test:tst:226"/>
20 <criterion comment="Test that the ExistenceEnumeration value 'at_least_one_exists' is supported where one object defined by the description exists on the system." test_ref="oval:org.mitre.oval.test:tst:16"/>
21 <criterion comment="Test that the ExistenceEnumeration value 'at_least_one_exists' is supported where every object defined by the description exists on the system." test_ref="oval:org.mitre.oval.test:tst:861"/>
22 <criterion comment="Test that the ExistenceEnumeration value 'none_exist' is supported where no object defined by the description exists on the system." test_ref="oval:org.mitre.oval.test:tst:665"/>
23 <criterion negate="true" comment="Test that the ExistenceEnumeration value 'none_exist' is supported where every object defined by the description exists on the system." test_ref="oval:org.mitre.oval.test:tst:959"/>
24 <criterion negate="true" comment="Test that the ExistenceEnumeration value 'at_least_one_exists' is supported where no object defined by the description exists on the system." test_ref="oval:org.mitre.oval.test:tst:239"/>
25 <criterion comment="Test that the ExistenceEnumeration value 'at_least_one_exists' is supported where one object defined by the description exists on the system." test_ref="oval:org.mitre.oval.test:tst:958"/>
26 <criterion negate="true" comment="Test that the ExistenceEnumeration value 'at_least_one_exists' is supported where every object defined by the description exists on the system." test_ref="oval:org.mitre.oval.test:tst:109"/>
27 </criteria>
28 </definition>
29 </definitions>
30 <tests>
31 <variable_test id="oval:org.mitre.oval.test:tst:990" version="1" comment="Test that the ExistenceEnumeration value 'all_exist' is supported where no object defined by the description exists on the system." check_existence="all_exist" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
32 <object object_ref="oval:org.mitre.oval.test:obj:877"/>
33 </variable_test>
34 <variable_test id="oval:org.mitre.oval.test:tst:778" version="1" comment="Test that the ExistenceEnumeration value 'all_exist' is supported where every object defined by the description exists on the system." check_existence="all_exist" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
35 <object object_ref="oval:org.mitre.oval.test:obj:505"/>
36 </variable_test>
37 <variable_test id="oval:org.mitre.oval.test:tst:409" version="1" comment="Test that the ExistenceEnumeration value 'any_exist' is supported where no object defined by the description exists on the system." check_existence="any_exist" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
38 <object object_ref="oval:org.mitre.oval.test:obj:877"/>
39 </variable_test>
40 <variable_test id="oval:org.mitre.oval.test:tst:257" version="1" comment="Test that the ExistenceEnumeration value 'any_exist' is supported where every object defined by the description exists on the system." check_existence="any_exist" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
41 <object object_ref="oval:org.mitre.oval.test:obj:505"/>
42 </variable_test>
43 <variable_test id="oval:org.mitre.oval.test:tst:226" version="1" comment="Test that the ExistenceEnumeration value 'at_least_one_exists' is supported where no object defined by the description exists on the system." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
44 <object object_ref="oval:org.mitre.oval.test:obj:877"/>
45 </variable_test>
46 <variable_test id="oval:org.mitre.oval.test:tst:16" version="1" comment="Test that the ExistenceEnumeration value 'at_least_one_exists' is supported where one object defined by the description exists on the system." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
47 <object object_ref="oval:org.mitre.oval.test:obj:404"/>
48 </variable_test>
49 <variable_test id="oval:org.mitre.oval.test:tst:861" version="1" comment="Test that the ExistenceEnumeration value 'at_least_one_exists' is supported where every object defined by the description exists on the system." 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:505"/>
51 </variable_test>
52 <variable_test id="oval:org.mitre.oval.test:tst:665" version="1" comment="Test that the ExistenceEnumeration value 'none_exist' is supported where no object defined by the description exists on the system." check_existence="none_exist" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
53 <object object_ref="oval:org.mitre.oval.test:obj:877"/>
54 </variable_test>
55 <variable_test id="oval:org.mitre.oval.test:tst:959" version="1" comment="Test that the ExistenceEnumeration value 'none_exist' is supported where every object defined by the description exists on the system." check_existence="none_exist" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
56 <object object_ref="oval:org.mitre.oval.test:obj:505"/>
57 </variable_test>
58 <variable_test id="oval:org.mitre.oval.test:tst:239" version="1" comment="Test that the ExistenceEnumeration value 'at_least_one_exists' is supported where no object defined by the description exists on the system." check_existence="only_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
59 <object object_ref="oval:org.mitre.oval.test:obj:877"/>
60 </variable_test>
61 <variable_test id="oval:org.mitre.oval.test:tst:958" version="1" comment="Test that the ExistenceEnumeration value 'at_least_one_exists' is supported where one object defined by the description exists on the system." check_existence="only_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
62 <object object_ref="oval:org.mitre.oval.test:obj:404"/>
63 </variable_test>
64 <variable_test id="oval:org.mitre.oval.test:tst:109" version="1" comment="Test that the ExistenceEnumeration value 'at_least_one_exists' is supported where every object defined by the description exists on the system." check_existence="only_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
65 <object object_ref="oval:org.mitre.oval.test:obj:505"/>
66 </variable_test>
67 </tests>
68 <objects>
69 <variable_object id="oval:org.mitre.oval.test:obj:790" version="1" comment="This variable_object references the integer value '0'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
70 <var_ref>oval:org.mitre.oval.test:var:376</var_ref>
71 </variable_object>
72 <variable_object id="oval:org.mitre.oval.test:obj:315" version="1" comment="This variable_object references the integer values '1', '2', and '3'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
73 <var_ref>oval:org.mitre.oval.test:var:257</var_ref>
74 </variable_object>
75 <variable_object id="oval:org.mitre.oval.test:obj:877" version="1" comment="This variable_object represents a object that does not exist on the system." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
76 <set set_operator="INTERSECTION" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5">
77 <object_reference>oval:org.mitre.oval.test:obj:790</object_reference>
78 <object_reference>oval:org.mitre.oval.test:obj:315</object_reference>
79 </set>
80 </variable_object>
81 <variable_object id="oval:org.mitre.oval.test:obj:404" version="1" comment="This variable_object represents a object that exists on the system." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
82 <var_ref>oval:org.mitre.oval.test:var:376</var_ref>
83 </variable_object>
84 <variable_object id="oval:org.mitre.oval.test:obj:505" version="1" comment="This variable_object represents multiple objects that exist on a system." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
85 <set set_operator="UNION" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5">
86 <object_reference>oval:org.mitre.oval.test:obj:790</object_reference>
87 <object_reference>oval:org.mitre.oval.test:obj:315</object_reference>
88 </set>
89 </variable_object>
90 </objects>
91 <variables>
92 <constant_variable id="oval:org.mitre.oval.test:var:376" version="1" comment="This constant_variable represents the integer value '0'." datatype="int">
93 <value>0</value>
94 </constant_variable>
95 <constant_variable id="oval:org.mitre.oval.test:var:257" version="1" comment="This constant_variable represents the integer values '1', '2', and '3'." datatype="int">
96 <value>1</value>
97 <value>2</value>
98 <value>3</value>
99 </constant_variable>
100 </variables>
101 </oval_definitions>