FOSSology
3.2.0rc1
Open Source License Compliance by Open Source Software
|
Public Attributes | |
const | COMMENTS_IN_DB = 7 |
Protected Member Functions | |
setUp () | |
tearDown () | |
Private Attributes | |
$testDb | |
$dbManager | |
$licenseStdCommentDao | |
$assertCountBefore | |
$authClass | |
Tests for LicenseStdCommentDao class disabled
Definition at line 33 of file LicenseStdCommentDaoTest.php.
Fossology\Lib\Dao\LicenseStdCommentDaoTest::testGetAllCommentsEverything | ( | ) |
Test for LicenseStdCommentDao::getAllComments() with no skips.
Definition at line 87 of file LicenseStdCommentDaoTest.php.
Fossology\Lib\Dao\LicenseStdCommentDaoTest::testGetAllCommentsWithSkips | ( | ) |
Test for LicenseStdCommentDao::getAllComments() with skips.
Definition at line 112 of file LicenseStdCommentDaoTest.php.
Fossology\Lib\Dao\LicenseStdCommentDaoTest::testGetCommentInvalid | ( | ) |
Test for LicenseStdCommentDao::getComment() with invalid id.
Definition at line 343 of file LicenseStdCommentDaoTest.php.
Fossology\Lib\Dao\LicenseStdCommentDaoTest::testGetCommentValid | ( | ) |
Test for LicenseStdCommentDao::getComment() with valid id.
Definition at line 326 of file LicenseStdCommentDaoTest.php.
Fossology\Lib\Dao\LicenseStdCommentDaoTest::testInsertCommentAsAdmin | ( | ) |
Test for LicenseStdCommentDao::insertComment() as an admin.
Definition at line 358 of file LicenseStdCommentDaoTest.php.
Fossology\Lib\Dao\LicenseStdCommentDaoTest::testInsertCommentAsNonAdmin | ( | ) |
Test for LicenseStdCommentDao::insertComment() as non admin.
Definition at line 381 of file LicenseStdCommentDaoTest.php.
Fossology\Lib\Dao\LicenseStdCommentDaoTest::testInsertCommentEmptyValues | ( | ) |
Test for LicenseStdCommentDao::insertComment() with empty values.
Definition at line 396 of file LicenseStdCommentDaoTest.php.
Fossology\Lib\Dao\LicenseStdCommentDaoTest::testToggleCommentAsAdmin | ( | ) |
Test for LicenseStdCommentDao::toggleComment() as admin.
Definition at line 412 of file LicenseStdCommentDaoTest.php.
Fossology\Lib\Dao\LicenseStdCommentDaoTest::testToggleCommentAsNonAdmin | ( | ) |
Test for LicenseStdCommentDao::toggleComment() as non admin.
Definition at line 429 of file LicenseStdCommentDaoTest.php.
Fossology\Lib\Dao\LicenseStdCommentDaoTest::testToggleCommentInvalidId | ( | ) |
Test for LicenseStdCommentDao::toggleComment() bad id.
Definition at line 443 of file LicenseStdCommentDaoTest.php.
Fossology\Lib\Dao\LicenseStdCommentDaoTest::testUpdateCommentAsAdmin | ( | ) |
Test for LicenseStdCommentDao::updateComment() as an admin.
Definition at line 137 of file LicenseStdCommentDaoTest.php.
Fossology\Lib\Dao\LicenseStdCommentDaoTest::testUpdateCommentAsAdminInvalidId | ( | ) |
Test for LicenseStdCommentDao::updateComment() with invalid id.
Definition at line 178 of file LicenseStdCommentDaoTest.php.
Fossology\Lib\Dao\LicenseStdCommentDaoTest::testUpdateCommentAsNonAdmin | ( | ) |
Test for LicenseStdCommentDao::updateComment() as non admin.
Definition at line 159 of file LicenseStdCommentDaoTest.php.
Fossology\Lib\Dao\LicenseStdCommentDaoTest::testUpdateCommentFromArrayAsAdmin | ( | ) |
Test for LicenseStdCommentDao::updateCommentFromArray() as admin.
Definition at line 195 of file LicenseStdCommentDaoTest.php.
Fossology\Lib\Dao\LicenseStdCommentDaoTest::testUpdateCommentFromArrayAsNonAdmin | ( | ) |
Test for LicenseStdCommentDao::updateCommentFromArray() as non admin.
Definition at line 227 of file LicenseStdCommentDaoTest.php.
Fossology\Lib\Dao\LicenseStdCommentDaoTest::testUpdateCommentFromArrayEmptyArray | ( | ) |
Test for LicenseStdCommentDao::updateCommentFromArray() with empty array.
Definition at line 290 of file LicenseStdCommentDaoTest.php.
Fossology\Lib\Dao\LicenseStdCommentDaoTest::testUpdateCommentFromArrayEmptyValues | ( | ) |
Test for LicenseStdCommentDao::updateCommentFromArray() with empty values.
Definition at line 308 of file LicenseStdCommentDaoTest.php.
Fossology\Lib\Dao\LicenseStdCommentDaoTest::testUpdateCommentFromArrayInvalidFields | ( | ) |
Test for LicenseStdCommentDao::updateCommentFromArray() with missing fields.
Definition at line 269 of file LicenseStdCommentDaoTest.php.
Fossology\Lib\Dao\LicenseStdCommentDaoTest::testUpdateCommentFromArrayInvalidId | ( | ) |
Test for LicenseStdCommentDao::updateCommentFromArray() with invalid id.
Definition at line 248 of file LicenseStdCommentDaoTest.php.
|
private |
DB manager to use
Definition at line 47 of file LicenseStdCommentDaoTest.php.
|
private |
LicenseStdCommentDao object for test
Definition at line 51 of file LicenseStdCommentDaoTest.php.
|
private |
Test DB
Definition at line 43 of file LicenseStdCommentDaoTest.php.
integer Fossology\Lib\Dao\LicenseStdCommentDaoTest::COMMENTS_IN_DB = 7 |
Number of rows in license standard comments table.
Definition at line 39 of file LicenseStdCommentDaoTest.php.