Differences Between: [Versions 39 and 311]
Database driver test case.
Copyright: | 2012 Petr Skoda {@link http://skodak.org} |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 227 lines (8 kb) |
Included or required: | 1 time |
Referenced: | 0 times |
Includes or requires: | 0 files |
database_driver_testcase:: (10 methods):
__construct()
setUpBeforeClass()
setUp()
tearDown()
tearDownAfterClass()
runBare()
getDebuggingMessages()
resetDebugging()
assertDebuggingCalled()
assertDebuggingNotCalled()
Class: database_driver_testcase - X-Ref
Special test case for testing of DML drivers and DDL layer.__construct($name = null, array $data = array() X-Ref |
Constructs a test case with the given name. param: string $name param: array $data param: string $dataName |
setUpBeforeClass() X-Ref |
No description |
setUp() X-Ref |
No description |
tearDown() X-Ref |
No description |
tearDownAfterClass() X-Ref |
No description |
runBare() X-Ref |
Runs the bare test sequence. return: void |
getDebuggingMessages() X-Ref |
Return debugging messages from the current test. return: array with instances having 'message', 'level' and 'stacktrace' property. |
resetDebugging() X-Ref |
Clear all previous debugging messages in current test. |
assertDebuggingCalled($debugmessage = null, $debuglevel = null, $message = '') X-Ref |
Assert that exactly debugging was just called once. Discards the debugging message if successful. param: null|string $debugmessage null means any param: null|string $debuglevel null means any param: string $message |
assertDebuggingNotCalled($message = '') X-Ref |
Call when no debugging() messages expected. param: string $message |