Debian Codegraph @

tests/mitre/oval-def_begin_function.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 http://oval.mitre.org/XMLSchema/oval-definitions-5#windows windows-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" xmlns:win-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows">
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:826" version="1" class="miscellaneous">
10 <metadata>
11 <title>Evaluate to true if the begin function is properly supported</title>
12 <description>This definition is intended to evaluate to true if the interpreter properly supports the begin function.</description>
13 </metadata>
14 <criteria operator="AND">
15 <criterion comment="Test that the begin function is supported with a character value for the character attribute and a single string component that does not start with the character value specified in the character attribute." test_ref="oval:org.mitre.oval.test:tst:35"/>
16 <criterion comment="Test that the begin function is supported with a character value for the character attribute and a single string component that starts with the character value specified in the character attribute." test_ref="oval:org.mitre.oval.test:tst:209"/>
17 <criterion comment="Test that the begin function is supported with a string value for the character attribute and a single string component that does not start with the string value specified in the character attribute." test_ref="oval:org.mitre.oval.test:tst:446"/>
18 <criterion comment="Test that the begin function is supported with a string value for the character attribute and a single string component that starts with the string value specified in the character attribute." test_ref="oval:org.mitre.oval.test:tst:101"/>
19 </criteria>
20 </definition>
21 </definitions>
22 <tests>
23 <variable_test id="oval:org.mitre.oval.test:tst:35" version="1" comment="Test that the begin function is supported with a character value for the character attribute and a single string component that does not start with the character value specified in the character attribute." check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
24 <object object_ref="oval:org.mitre.oval.test:obj:852"/>
25 <state state_ref="oval:org.mitre.oval.test:ste:904"/>
26 </variable_test>
27 <variable_test id="oval:org.mitre.oval.test:tst:209" version="1" comment="Test that the begin function is supported with a character value for the character attribute and a single string component that starts with the character value specified in the character attribute." check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
28 <object object_ref="oval:org.mitre.oval.test:obj:606"/>
29 <state state_ref="oval:org.mitre.oval.test:ste:904"/>
30 </variable_test>
31 <variable_test id="oval:org.mitre.oval.test:tst:446" version="1" comment="Test that the begin function is supported with a string value for the character attribute and a single string component that does not start with the string value specified in the character attribute." check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
32 <object object_ref="oval:org.mitre.oval.test:obj:951"/>
33 <state state_ref="oval:org.mitre.oval.test:ste:904"/>
34 </variable_test>
35 <variable_test id="oval:org.mitre.oval.test:tst:101" version="1" comment="Test that the begin function is supported with a string value for the character attribute and a single string component that starts with the string value specified in the character attribute." check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
36 <object object_ref="oval:org.mitre.oval.test:obj:374"/>
37 <state state_ref="oval:org.mitre.oval.test:ste:904"/>
38 </variable_test>
39 </tests>
40 <objects>
41 <variable_object id="oval:org.mitre.oval.test:obj:852" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
42 <var_ref>oval:org.mitre.oval.test:var:826</var_ref>
43 </variable_object>
44 <variable_object id="oval:org.mitre.oval.test:obj:606" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
45 <var_ref>oval:org.mitre.oval.test:var:398</var_ref>
46 </variable_object>
47 <variable_object id="oval:org.mitre.oval.test:obj:951" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
48 <var_ref>oval:org.mitre.oval.test:var:916</var_ref>
49 </variable_object>
50 <variable_object id="oval:org.mitre.oval.test:obj:374" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
51 <var_ref>oval:org.mitre.oval.test:var:427</var_ref>
52 </variable_object>
53 </objects>
54 <states>
55 <variable_state id="oval:org.mitre.oval.test:ste:904" version="1" comment="The string 'apple'" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
56 <value>apple</value>
57 </variable_state>
58 </states>
59 <variables>
60 <local_variable id="oval:org.mitre.oval.test:var:826" version="1" comment="Applying the begin function with a character argument 'a' to the string 'pple'." datatype="string">
61 <begin character="a">
62 <literal_component datatype="string">pple</literal_component>
63 </begin>
64 </local_variable>
65 <local_variable id="oval:org.mitre.oval.test:var:398" version="1" comment="Applying the begin function with a character argument 'a' to the string 'apple'." datatype="string">
66 <begin character="a">
67 <literal_component datatype="string">apple</literal_component>
68 </begin>
69 </local_variable>
70 <local_variable id="oval:org.mitre.oval.test:var:916" version="1" comment="Applying the begin function with a string argument 'appl' to the string 'e'." datatype="string">
71 <begin character="appl">
72 <literal_component datatype="string">e</literal_component>
73 </begin>
74 </local_variable>
75 <local_variable id="oval:org.mitre.oval.test:var:427" version="1" comment="Applying the begin function with a string argument 'appl' to the string 'apple'." datatype="string">
76 <begin character="appl">
77 <literal_component datatype="string">apple</literal_component>
78 </begin>
79 </local_variable>
80 </variables>
81 </oval_definitions>