summaryrefslogtreecommitdiff
path: root/tests/unit/Data/SqlMap/DataMapper/AllTests.php
diff options
context:
space:
mode:
authorgodzilla80@gmx.net <>2009-05-01 08:30:05 +0000
committergodzilla80@gmx.net <>2009-05-01 08:30:05 +0000
commitc6904380ac34536c0f3d65d3c92deaa9fa532f4a (patch)
tree7183cfc195539b55942abd77c3422025a880b865 /tests/unit/Data/SqlMap/DataMapper/AllTests.php
parentc5b32bfae9b60b59e81276abd8af2b451b92080a (diff)
Fixed Issue #55 - TPropertyAccess.get don't recognize magic getter __get
Diffstat (limited to 'tests/unit/Data/SqlMap/DataMapper/AllTests.php')
-rw-r--r--tests/unit/Data/SqlMap/DataMapper/AllTests.php28
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/unit/Data/SqlMap/DataMapper/AllTests.php b/tests/unit/Data/SqlMap/DataMapper/AllTests.php
new file mode 100644
index 00000000..9e80e7c8
--- /dev/null
+++ b/tests/unit/Data/SqlMap/DataMapper/AllTests.php
@@ -0,0 +1,28 @@
+<?php
+require_once dirname(__FILE__).'/../../../phpunit.php';
+
+if(!defined('PHPUnit_MAIN_METHOD')) {
+ define('PHPUnit_MAIN_METHOD', 'Data_SqlMap_DataMapper_AllTests::main');
+}
+
+require_once 'TPropertyAccessTest.php';
+
+class Data_SqlMap_DataMapper_AllTests {
+
+ public static function main() {
+ PHPUnit_TextUI_TestRunner::run(self::suite());
+ }
+
+ public static function suite() {
+ $suite = new PHPUnit_Framework_TestSuite('System.Data.SqlMap.DataMapper');
+
+ $suite->addTestSuite('TPropertyAccessTest');
+
+ return $suite;
+ }
+}
+
+if(PHPUnit_MAIN_METHOD == 'Data_SqlMap_DataMapper_AllTests::main') {
+ Data_SqlMap_DataMapper_AllTests::main();
+}
+?> \ No newline at end of file