summaryrefslogtreecommitdiff
path: root/tests/unit/Data/SqlMap/AllTests.php
diff options
context:
space:
mode:
authorgodzilla80@gmx.net <>2009-03-22 08:02:35 +0000
committergodzilla80@gmx.net <>2009-03-22 08:02:35 +0000
commit466c414ebc9dde38e80f20fd96fd891431404fca (patch)
tree9934bdefe395804dc334b4d12637db345f97c8b5 /tests/unit/Data/SqlMap/AllTests.php
parent1624bf7d560af5789416af904e45975618adef8c (diff)
Fixed Issue #88 - SQLMap $Param$ re-evaluation bug
Diffstat (limited to 'tests/unit/Data/SqlMap/AllTests.php')
-rw-r--r--tests/unit/Data/SqlMap/AllTests.php28
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/unit/Data/SqlMap/AllTests.php b/tests/unit/Data/SqlMap/AllTests.php
new file mode 100644
index 00000000..187be17f
--- /dev/null
+++ b/tests/unit/Data/SqlMap/AllTests.php
@@ -0,0 +1,28 @@
+<?php
+require_once dirname(__FILE__).'/../../phpunit.php';
+
+if(!defined('PHPUnit_MAIN_METHOD')) {
+ define('PHPUnit_MAIN_METHOD', 'Data_SqlMap_AllTests::main');
+}
+
+require_once 'DynamicParameterTest.php';
+
+class Data_SqlMap_AllTests {
+
+ public static function main() {
+ PHPUnit_TextUI_TestRunner::run(self::suite());
+ }
+
+ public static function suite() {
+ $suite = new PHPUnit_Framework_TestSuite('System.Data.SqlMap');
+
+ $suite->addTestSuite('DynamicParameterTest');
+
+ return $suite;
+ }
+}
+
+if(PHPUnit_MAIN_METHOD == 'Data_SqlMap_AllTests::main') {
+ Data_SqlMap_AllTests::main();
+}
+?> \ No newline at end of file