<?php
// Copyright (c) 2006 Roman Neuhauser
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be included
// in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
// $HeadURL: https://svn.sigpipe.cz/r/trunk/testilence/tests/alltests.php $
// $Id: alltests.php 435 2007-06-15 11:06:52Z roman $
require_once dirname(__FILE__) . '/assertion.php';
require_once dirname(__FILE__) . '/sandbox.php';
require_once dirname(__FILE__) . '/result.php';
require_once dirname(__FILE__) . '/filegen.php';
require_once dirname(__FILE__) . '/tempfile.php';
require_once dirname(__FILE__) . '/tempdir.php';
require_once dirname(__FILE__) . '/case.php';
require_once dirname(__FILE__) . '/method.php';
require_once dirname(__FILE__) . '/reporter.php';
require_once dirname(__FILE__) . '/case/class.php';
require_once dirname(__FILE__) . '/filter.php';
require_once dirname(__FILE__) . '/loader.php';
require_once dirname(__FILE__) . '/runner.php';
require_once dirname(__FILE__) . '/cmdline/target.php';
require_once dirname(__FILE__) . '/cmdline/config.php';
require_once dirname(__FILE__) . '/cmdline.php';
class tencetest_SafeTests extends Tence_TestSuite # {{{
{
function __construct()
{
$this
->add(new tencetest_util_TargetTests)
->add(new tencetest_AssertionTests)
->add(new tencetest_TestResultTest)
->add(new tencetest_TestMethodTests)
->add(new tencetest_TestCaseSafeTests)
->add(new tencetest_TempFileSafeTests)
->add(new tencetest_SandboxSafeTests)
->add(new tencetest_SandboxDangerousTests)
->add(new tencetest_TestCaseClassTests)
->add(new tencetest_ReporterTests)
->add(new tencetest_cmdline_ConfigTests)
->add(new tencetest_TestFilterTests)
->add(new tencetest_BasicRunnerTests)
->add(new tencetest_cmdlineTests)
;
}
} # }}}
class tencetest_DangerousTests extends Tence_TestSuite # {{{
{
function __construct()
{
$this
->add(new tencetest_TempDirDangerousTests)
->add(new tencetest_util_rm_rThrowsOnPermissionProblemsTest)
->add(new tencetest_TestCaseDangerousTests)
->add(new tencetest_BasicLoaderTest)
->add(new tencetest_TempFileTests)
;
}
} # }}}
class tencetest_AllTests extends Tence_TestSuite # {{{
{
function __construct()
{
$this
->add(new tencetest_SafeTests)
->add(new tencetest_DangerousTests)
;
}
} # }}}
# vim: et ts=4 sts=4 sw=4 fdm=marker cms=\ #\ %s