| 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:707" version="1" class="miscellaneous"> |
| 10 | <metadata> |
| 11 | <title>Evaluate to true if the binary datatype is properly supported</title> |
| 12 | <description>This definition is intended to evalutate to true if the interpreter properly supports the binary 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 two equal binary values." test_ref="oval:org.mitre.oval.test:tst:306"/> |
| 17 | <criterion negate="true" comment="Test that the equals operation is supported with two unequal binary values." test_ref="oval:org.mitre.oval.test:tst:531"/> |
| 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 two equal binary values." test_ref="oval:org.mitre.oval.test:tst:924"/> |
| 21 | <criterion comment="Test that the not equal operation is supported with two unequal binary values." test_ref="oval:org.mitre.oval.test:tst:791"/> |
| 22 | </criteria> |
| 23 | </criteria> |
| 24 | </definition> |
| 25 | </definitions> |
| 26 | <tests> |
| 27 | <variable_test id="oval:org.mitre.oval.test:tst:306" version="1" comment="Test that the equals operation is supported with two equal binary values." 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:532"/> |
| 29 | <state state_ref="oval:org.mitre.oval.test:ste:334"/> |
| 30 | </variable_test> |
| 31 | <variable_test id="oval:org.mitre.oval.test:tst:531" version="1" comment="Test that the equals operation is supported with two unequal binary values." 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:8"/> |
| 33 | <state state_ref="oval:org.mitre.oval.test:ste:758"/> |
| 34 | </variable_test> |
| 35 | <variable_test id="oval:org.mitre.oval.test:tst:924" version="1" comment="Test that the not equal operation is supported with two equal binary values." 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:532"/> |
| 37 | <state state_ref="oval:org.mitre.oval.test:ste:446"/> |
| 38 | </variable_test> |
| 39 | <variable_test id="oval:org.mitre.oval.test:tst:791" version="1" comment="Test that the not equal operation is supported with two unequal binary values." check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 40 | <object object_ref="oval:org.mitre.oval.test:obj:8"/> |
| 41 | <state state_ref="oval:org.mitre.oval.test:ste:143"/> |
| 42 | </variable_test> |
| 43 | </tests> |
| 44 | <objects> |
| 45 | <variable_object id="oval:org.mitre.oval.test:obj:532" version="1" comment="This variable_object represents the binary value '9F'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 46 | <var_ref>oval:org.mitre.oval.test:var:541</var_ref> |
| 47 | </variable_object> |
| 48 | <variable_object id="oval:org.mitre.oval.test:obj:8" version="1" comment="This variable_object represents the binary value '3A'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 49 | <var_ref>oval:org.mitre.oval.test:var:649</var_ref> |
| 50 | </variable_object> |
| 51 | </objects> |
| 52 | <states> |
| 53 | <variable_state id="oval:org.mitre.oval.test:ste:334" version="1" comment="This variable_state represents a binary value that is equal to '9F'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 54 | <value datatype="binary">9F</value> |
| 55 | </variable_state> |
| 56 | <variable_state id="oval:org.mitre.oval.test:ste:758" version="1" comment="This variable_state represents a binary value that is equal to '9F'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 57 | <value datatype="binary">9F</value> |
| 58 | </variable_state> |
| 59 | <variable_state id="oval:org.mitre.oval.test:ste:446" version="1" comment="This variable_state represents a binary value that is not equal to '9F'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 60 | <value datatype="binary" operation="not equal">9F</value> |
| 61 | </variable_state> |
| 62 | <variable_state id="oval:org.mitre.oval.test:ste:143" version="1" comment="This variable_state represents a binary value that is not equal to '9F'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 63 | <value datatype="binary" operation="not equal">9F</value> |
| 64 | </variable_state> |
| 65 | </states> |
| 66 | <variables> |
| 67 | <constant_variable id="oval:org.mitre.oval.test:var:541" version="1" comment="This variable represents the binary value '9F'." datatype="binary"> |
| 68 | <value>9F</value> |
| 69 | </constant_variable> |
| 70 | <constant_variable id="oval:org.mitre.oval.test:var:649" version="1" comment="This variable represents the binary value '3A'." datatype="binary"> |
| 71 | <value>3A</value> |
| 72 | </constant_variable> |
| 73 | </variables> |
| 74 | </oval_definitions> |