DatabaseTestCase
Extends TestCaseBase test case for tests interacting with a database
abstract
| since |
2.0.0 |
|---|---|
| package |
Joomla Framework |
Methods
createDatabaseManager
Create the database manager for this test class.
createDatabaseManager() : \Joomla\Test\DatabaseManager
static
If necessary, this method can be extended to create your own subclass of the base DatabaseManager object to customise the behaviors in your application.
| since |
2.0.0 |
|---|
Response
getDatabaseManager
Fetch the database manager for this test case.
getDatabaseManager() : \Joomla\Test\DatabaseManager
static
This creates a singleton manager used for all tests in this class.
| since |
2.0.0 |
|---|
Response
setUpBeforeClass
This method is called before the first test of this test class is run.
setUpBeforeClass() :
static
| since |
2.0.0 |
|---|
Response
void
tearDownAfterClass
This method is called after the last test of this test class is run.
tearDownAfterClass() :
static
| since |
2.0.0 |
|---|
Response
void
Properties
connection
The database connection for the test case
static