mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-15 03:46:25 +00:00
27 lines
425 B
PHP
27 lines
425 B
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><?=$Class?></h2>
|
|
<?=TestingView::render_linkbox("class"); ?>
|
|
</div>
|
|
|
|
<div class="thin">
|
|
<?=TestingView::render_functions(Testing::get_testable_methods($Class));?>
|
|
</div>
|
|
|
|
<?
|
|
View::show_footer();
|
|
|
|
|