# -*- coding: utf-8 -*-
# $Id$
"""
Test Manager / Suite Self Test #3 - Bad XML input and other Failures.
"""
__copyright__ = \
"""
Copyright (C) 2010-2014 Oracle Corporation
This file is part of VirtualBox Open Source Edition (OSE), as
available from http://www.virtualbox.org. This file is free software;
General Public License (GPL) as published by the Free Software
Foundation, in version 2 as it comes in the "COPYING" file of the
VirtualBox OSE distribution. VirtualBox OSE is distributed in the
hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
The contents of this file may alternatively be used under the terms
of the Common Development and Distribution License Version 1.0
(CDDL) only, as it comes in the "COPYING.CDDL" file of the
VirtualBox OSE distribution, in which case the provisions of the
CDDL are applicable instead of those of the GPL.
You may elect to license modified versions of this file under the
terms and conditions of either the GPL or the CDDL or both.
"""
# Standard Python imports.
import os;
import sys;
# Only the main script needs to modify the path.
try: __file__
g_ksValidationKitDir = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))));
# Validation Kit imports.
"""
Test Manager / Suite Self Test #3 - Bad XML input and other Failures.
"""
oSubXmlFile.close();
# Missing end, like we had with IRPT at one time.
<?xml version="1.0" encoding="UTF-8" ?>
<Test timestamp="2013-05-29T08:59:05.930602000Z" name="tstRTGetOpt">
<Test timestamp="2013-05-29T08:59:05.930656000Z" name="Basics">
<Passed timestamp="2013-05-29T08:59:05.930756000Z"/>
</Test>
<Test timestamp="2013-05-29T08:59:05.930995000Z" name="RTGetOpt - IPv4">
<Passed timestamp="2013-05-29T08:59:05.931036000Z"/>
</Test>
<Test timestamp="2013-05-29T08:59:05.931161000Z" name="RTGetOpt - MAC Address">
<Passed timestamp="2013-05-29T08:59:05.931194000Z"/>
</Test>
<Test timestamp="2013-05-29T08:59:05.931313000Z" name="RTGetOpt - Option w/ Index">
<Passed timestamp="2013-05-29T08:59:05.931357000Z"/>
</Test>
<Test timestamp="2013-05-29T08:59:05.931475000Z" name="RTGetOptFetchValue">
<Passed timestamp="2013-05-29T08:59:05.931516000Z"/>
</Test>
<Passed timestamp="2013-05-29T08:59:05.931687000Z"/>
</Test>
<Test timestamp="2013-05-29T08:59:05.931807000Z" name="Standard options">
<Passed timestamp="2013-05-29T08:59:05.931843000Z"/>
</Test>
<Test timestamp="2013-05-29T08:59:05.931963000Z" name="Options first">
<Passed timestamp="2013-05-29T08:59:05.932035000Z"/>
</Test>
""");
oSubXmlFile.close();
oSubXmlFile = None;
# The use of testFailure.
return True;
if __name__ == '__main__':