Example #1
0
 /**
  * Loads all the files that the environment requires
  */
 public static function load_imports()
 {
     require_once PATH_TO_ROOT . '/kernel/framework/helper/deprecated_helper.inc.php';
     include_once PATH_TO_ROOT . '/kernel/framework/core/ClassLoader.class.php';
     ClassLoader::init_autoload();
     AppContext::init_bench();
 }
Example #2
0
<?php

define('PATH_TO_ROOT', '..');
require_once PATH_TO_ROOT . '/kernel/framework/functions.inc.php';
require_once PATH_TO_ROOT . '/kernel/framework/core/ClassLoader.class.php';
ClassLoader::init_autoload();
include_once PATH_TO_ROOT . '/test/util/phpboost_unit_tests.inc.php';
?>
<html>
	<head>
		<title>PHPUnit</title>
        <style>
            table.run-options {
                width:100%;
            }
            td.options-set-name {
                width:150px;
            }
            td.options-set {
                /*width:100%;*/
            }
            td.run-options-set {
                width:125px;
            }
            input.run-button {
                width:125px;
            }
        </style>
	</head>
	<body>
		<?php