Debian Codegraph @

tests/mitre/oval-def_end_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:427" version="1" class="miscellaneous">
10 <metadata>
11 <title>Evaluate to true if the end function is properly supported</title>
12 <description>This definition is intended to evaluate to true if the interpreter properly supports the end function.</description>
13 </metadata>
14 <criteria operator="AND">
15 <criterion comment="Test that the end function is supported with a character value for the character attribute and a single string component that does not end with the character value specified in the character attribute." test_ref="oval:org.mitre.oval.test:tst:138"/>
16 <criterion comment="Test that the end function is supported with a character value for the character attribute and a single string component that ends with the character value specified in the character attribute." test_ref="oval:org.mitre.oval.test:tst:625"/>
17 <criterion comment="Test that the end function is supported with a string value for the character attribute and a single string component that does not end with the string value specified in the character attribute." test_ref="oval:org.mitre.oval.test:tst:814"/>
18 <criterion comment="Test that the end function is supported with a string value for the character attribute and a single string component that ends with the string value specified in the character attribute." test_ref="oval:org.mitre.oval.test:tst:786"/>
19 </criteria>
20 </definition>
21 </definitions>
22 <tests>
23 <variable_test id="oval:org.mitre.oval.test:tst:138" version="1" comment="Test that the end function is supported with a character value for the character attribute and a single string component that does not end 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:967"/>
25 <state state_ref="oval:org.mitre.oval.test:ste:260"/>
26 </variable_test>
27 <variable_test id="oval:org.mitre.oval.test:tst:625" version="1" comment="Test that the end function is supported with a character value for the character attribute and a single string component that ends 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:182"/>
29 <state state_ref="oval:org.mitre.oval.test:ste:260"/>
30 </variable_test>
31 <variable_test id="oval:org.mitre.oval.test:tst:814" version="1" comment="Test that the end function is supported with a string value for the character attribute and a single string component that does not end 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:748"/>
33 <state state_ref="oval:org.mitre.oval.test:ste:260"/>
34 </variable_test>
35 <variable_test id="oval:org.mitre.oval.test:tst:786" version="1" comment="Test that the end function is supported with a string value for the character attribute and a single string component that ends 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:191"/>
37 <state state_ref="oval:org.mitre.oval.test:ste:260"/>
38 </variable_test>
39 </tests>
40 <objects>
41 <variable_object id="oval:org.mitre.oval.test:obj:967" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
42 <var_ref>oval:org.mitre.oval.test:var:944</var_ref>
43 </variable_object>
44 <variable_object id="oval:org.mitre.oval.test:obj:182" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
45 <var_ref>oval:org.mitre.oval.test:var:619</var_ref>
46 </variable_object>
47 <variable_object id="oval:org.mitre.oval.test:obj:748" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
48 <var_ref>oval:org.mitre.oval.test:var:600</var_ref>
49 </variable_object>
50 <variable_object id="oval:org.mitre.oval.test:obj:191" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
51 <var_ref>oval:org.mitre.oval.test:var:556</var_ref>
52 </variable_object>
53 </objects>
54 <states>
55 <variable_state id="oval:org.mitre.oval.test:ste:260" 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:944" version="1" comment="Applying the end function with a character argument 'e' to the string 'appl'." datatype="string">
61 <end character="e">
62 <literal_component datatype="string">appl</literal_component>
63 </end>
64 </local_variable>
65 <local_variable id="oval:org.mitre.oval.test:var:619" version="1" comment="Applying the end function with a character argument 'e' to the string 'apple'." datatype="string">
66 <end character="e">
67 <literal_component datatype="string">apple</literal_component>
68 </end>
69 </local_variable>
70 <local_variable id="oval:org.mitre.oval.test:var:600" version="1" comment="Applying the end function with a string argument 'pple' to the string 'a'." datatype="string">
71 <end character="pple">
72 <literal_component datatype="string">a</literal_component>
73 </end>
74 </local_variable>
75 <local_variable id="oval:org.mitre.oval.test:var:556" version="1" comment="Applying the end function with a string argument 'pple' to the string 'apple'." datatype="string">
76 <end character="pple">
77 <literal_component datatype="string">apple</literal_component>
78 </end>
79 </local_variable>
80 </variables>
81 </oval_definitions>