Alternc
3.2
Alternc logiel libre pour l'hébergement
|
This is a fake test for the purpose of showing how tests work and eventually validate the test environment works. More...
Public Member Functions | |
testDependance () | |
This function will be executed by methods. | |
testHasDependancy ($dependancyStatus) | |
testDependance | |
testPushAndPop () | |
Public Member Functions inherited from AlterncTest | |
getConnection () | |
loadDataSet ($file_name) |
Protected Member Functions | |
setUp () | |
The setup is automatically run before each test. | |
tearDown () | |
The tearDown is automatically run after each test. | |
notTested () | |
This function will NOT be executed as its name doesn't start with test*. |
This is a fake test for the purpose of showing how tests work and eventually validate the test environment works.
The following methods are available : assertArrayHasKey() assertClassHasAttribute() assertClassHasStaticAttribute() assertContains() assertContainsOnly() assertContainsOnlyInstancesOf() assertCount() assertEmpty() assertEqualXMLStructure() assertEquals() assertFalse() assertFileEquals() assertFileExists() assertGreaterThan() assertGreaterThanOrEqual() assertInstanceOf() assertInternalType() assertJsonFileEqualsJsonFile() assertJsonStringEqualsJsonFile() assertJsonStringEqualsJsonString() assertLessThan() assertLessThanOrEqual() assertNull() assertObjectHasAttribute() assertRegExp() assertStringMatchesFormat() assertStringMatchesFormatFile() assertSame() assertSelectCount() assertSelectEquals() assertSelectRegExp() assertStringEndsWith() assertStringEqualsFile() assertStringStartsWith() assertTag() assertThat() assertTrue() assertXmlFileEqualsXmlFile() assertXmlStringEqualsXmlFile() assertXmlStringEqualsXmlString()
Definition at line 48 of file DummyTest.php.
|
protected |
This function will NOT be executed as its name doesn't start with test*.
Definition at line 70 of file DummyTest.php.
|
protected |
|
protected |
The tearDown is automatically run after each test.
Definition at line 60 of file DummyTest.php.
testDependance | ( | ) |
This function will be executed by methods.
Definition at line 79 of file DummyTest.php.
testHasDependancy | ( | $dependancyStatus | ) |
testDependance
bool | $dependancyStatus | Received from dependance return |
Definition at line 89 of file DummyTest.php.
testPushAndPop | ( | ) |
Definition at line 95 of file DummyTest.php.