Beispiel #1
0
<?php

if (!check_perms('users_mod')) {
    error(404);
}
$Class = $_GET['name'];
if (!empty($Class) && !Testing::has_class($Class)) {
    error("Missing class");
}
View::show_header("Tests", "testing");
?>
<div class="header">
	<h2><?php 
echo $Class;
?>
</h2>
	<?php 
echo TestingView::render_linkbox("class");
?>
</div>

<div class="thin">
	<?php 
echo TestingView::render_functions(Testing::get_testable_methods($Class));
?>
</div>

<?php 
View::show_footer();