[Cs-content-commits] SF.net SVN: cs-content:[315] trunk/0.10/tests/example_test.php
PHP Templating & Includes System
Brought to you by:
crazedsanity
|
From: <cra...@us...> - 2009-01-14 03:13:07
|
Revision: 315
http://cs-content.svn.sourceforge.net/cs-content/?rev=315&view=rev
Author: crazedsanity
Date: 2009-01-14 03:12:57 +0000 (Wed, 14 Jan 2009)
Log Message:
-----------
Add a few things to ensure unit tests work.
Modified Paths:
--------------
trunk/0.10/tests/example_test.php
Modified: trunk/0.10/tests/example_test.php
===================================================================
--- trunk/0.10/tests/example_test.php 2009-01-14 03:04:15 UTC (rev 314)
+++ trunk/0.10/tests/example_test.php 2009-01-14 03:12:57 UTC (rev 315)
@@ -11,6 +11,12 @@
* $LastChangedRevision$
*/
+if (! defined('SIMPLE_TEST')) {
+ define('SIMPLE_TEST', 'simpletest/');
+}
+require_once(SIMPLE_TEST . 'unit_tester.php');
+require_once(SIMPLE_TEST . 'reporter.php');
+
require_once(dirname(__FILE__) .'/testOfCSContent.php');
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|