<?php
/* Main test function. To add new tests include_once() */
/* your test file here */
/* TODO: test the rest of the classes we have */
error_reporting(E_ALL);
// disable emailing
if(!defined("DISABLE_EMAIL"))
define("DISABLE_EMAIL", true);
// default to the tests being successful
$bTestSuccess = true;
include_once("test_user.php");
echo "\n";
include_once("test_query.php");
include_once("test_image.php");
include_once("test_application.php");
include_once("test_error_log.php");
include_once("test_filter.php");
include_once("test_url.php");
include_once("test_om_objects.php");
include_once("test_appData.php");
if($bTestSuccess == true)
{
echo "\nAll tests were successful\n";
} else
echo "\nSome test(s) failed!\n";
}
?>