diff options
author | wei <> | 2006-07-16 06:19:36 +0000 |
---|---|---|
committer | wei <> | 2006-07-16 06:19:36 +0000 |
commit | c7d41e5bea4a5f96979a08da9cc9f79355edfe70 (patch) | |
tree | 8f21cba052c1eae7c7204ac272dd8c5e9d6fe110 /tests/unit/SQLMap | |
parent | af68030fcf0c266300feb2c100149ecadef7d364 (diff) |
Update Time Tracker demo.
Diffstat (limited to 'tests/unit/SQLMap')
-rw-r--r-- | tests/unit/SQLMap/BaseTest.php | 6 | ||||
-rw-r--r-- | tests/unit/SQLMap/InheritanceTest.php | 2 | ||||
-rw-r--r-- | tests/unit/SQLMap/sqlite/tests.db | bin | 32768 -> 32768 bytes |
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/unit/SQLMap/BaseTest.php b/tests/unit/SQLMap/BaseTest.php index ebff9c6d..0f3ce1e2 100644 --- a/tests/unit/SQLMap/BaseTest.php +++ b/tests/unit/SQLMap/BaseTest.php @@ -175,7 +175,7 @@ class HundredsBool implements ITypeHandlerCallback return 200;
}
- public function createNewInstance()
+ public function createNewInstance($data=null)
{
throw new TDataMapperException('can not create');
}
@@ -203,7 +203,7 @@ class OuiNonBool implements ITypeHandlerCallback return self::NO;
}
- public function createNewInstance()
+ public function createNewInstance($data=null)
{
throw new TDataMapperException('can not create');
}
@@ -225,7 +225,7 @@ class TDateTimeHandler implements ITypeHandlerCallback return $parameter;
}
- public function createNewInstance()
+ public function createNewInstance($data=null)
{
return new TDateTime;
}
diff --git a/tests/unit/SQLMap/InheritanceTest.php b/tests/unit/SQLMap/InheritanceTest.php index 24e9f987..9ace1c29 100644 --- a/tests/unit/SQLMap/InheritanceTest.php +++ b/tests/unit/SQLMap/InheritanceTest.php @@ -138,7 +138,7 @@ class CustomInheritance implements ITypeHandlerCallback throw new TDataMapperException('not implemented');
}
- public function createNewInstance()
+ public function createNewInstance($data=null)
{
throw new TDataMapperException('can not create');
}
diff --git a/tests/unit/SQLMap/sqlite/tests.db b/tests/unit/SQLMap/sqlite/tests.db Binary files differindex fa66b2cc..380ef8fa 100644 --- a/tests/unit/SQLMap/sqlite/tests.db +++ b/tests/unit/SQLMap/sqlite/tests.db |