Inheritance: extends TestSuite
Exemplo n.º 1
0
 public static function suite()
 {
     $suite = new \PHPUnit_Framework_TestSuite('All tests');
     $suite->addTestSuite(UnitTests::suite());
     $suite->addTestSuite(FunctionalTests::suite());
     return $suite;
 }
Exemplo n.º 2
0
<?php

// $Id$
if (!defined('TEST')) {
    define('TEST', __FILE__);
}
require_once dirname(__FILE__) . '/test_groups.php';
require_once dirname(__FILE__) . '/../reporter.php';
if (TEST == __FILE__) {
    $test = new UnitTests();
    if (SimpleReporter::inCli()) {
        exit($test->run(new TextReporter()) ? 0 : 1);
    }
    $test->run(new HtmlReporter());
}
Exemplo n.º 3
0
 static function test_appdata_authorization_header_multi_param()
 {
     return UnitTests::common_authorization_header_test(array('blah' => 'blah', 'kissa' => 'koira'), 'MQtaEwNV8gfz%2Fs%2F96wkwm5VknFA%3D');
 }