Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding patches, and tests from tkykmw. Add support for plugin datasou…
…rce drivers. Fixes #297
- Loading branch information
Showing
5 changed files
with
102 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
cake/tests/test_app/models/datasources/test/test_local_driver.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?php | ||
|
||
class TestLocalDriver extends TestSource { | ||
} | ||
|
||
?> |
9 changes: 9 additions & 0 deletions
9
cake/tests/test_app/plugins/test_plugin/models/datasources/dbo/dbo_dummy.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php | ||
|
||
class DboDummy extends DboSource { | ||
function connect() { | ||
return true; | ||
} | ||
} | ||
|
||
?> |
6 changes: 6 additions & 0 deletions
6
cake/tests/test_app/plugins/test_plugin/models/datasources/test/test_driver.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?php | ||
|
||
class TestDriver extends TestSource { | ||
} | ||
|
||
?> |