Alternc
latest
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. More... | |
testHasDependancy ( $dependancyStatus) | |
@depends testDependance More... | |
testPushAndPop () | |
getConnection () | |
loadDataSet ($fileList) | |
Protected Member Functions | |
setUp () | |
The setup is automatically run before each test. More... | |
tearDown () | |
The tearDown is automatically run after each test. More... | |
notTested () | |
This function will NOT be executed as its name doesn't start with test*. More... | |
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.
|
inherited |
Definition at line 18 of file AlterncTest.php.
References $database, $password, and $user.
Referenced by m_actionTest\testArchive(), m_actionTest\testCancel(), m_actionTest\testChmod(), m_actionTest\testCreate_dir(), m_actionTest\testCreate_file(), m_actionTest\testDel(), m_actionTest\testFinish(), m_actionTest\testFix_dir(), m_actionTest\testFix_file(), m_actionTest\testFix_user(), m_actionTest\testMove(), m_actionTest\testPurge(), m_actionTest\testReset_job(), and m_actionTest\testSet().
|
inherited |
string | $fileList |
Definition at line 31 of file AlterncTest.php.
References PHPUNIT_DATASETS_PATH.
Referenced by m_actionTest\testPurge().
|
protected |
This function will NOT be executed as its name doesn't start with test*.
Definition at line 70 of file DummyTest.php.
|
protected |
The setup is automatically run before each test.
Definition at line 53 of file DummyTest.php.
|
protected |
The tearDown is automatically run after each test.
Definition at line 60 of file DummyTest.php.
DummyTest::testDependance | ( | ) |
This function will be executed by methods.
Definition at line 79 of file DummyTest.php.
DummyTest::testHasDependancy | ( | $dependancyStatus | ) |
@depends testDependance
bool | $dependancyStatus | Received from dependance return |
Definition at line 89 of file DummyTest.php.
DummyTest::testPushAndPop | ( | ) |
Definition at line 95 of file DummyTest.php.