FOSSology
4.4.0
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 @runTestsInSeparateProcesses @preserveGlobalState disabled
Definition at line 25 of file LicenseStdCommentDaoTest.php.
Fossology\Lib\Dao\LicenseStdCommentDaoTest::testGetAllCommentsEverything | ( | ) |
Test for LicenseStdCommentDao::getAllComments() with no skips.
Definition at line 79 of file LicenseStdCommentDaoTest.php.
Fossology\Lib\Dao\LicenseStdCommentDaoTest::testGetAllCommentsWithSkips | ( | ) |
Test for LicenseStdCommentDao::getAllComments() with skips.
Definition at line 108 of file LicenseStdCommentDaoTest.php.
Fossology\Lib\Dao\LicenseStdCommentDaoTest::testGetCommentInvalid | ( | ) |
Test for LicenseStdCommentDao::getComment() with invalid id.
Definition at line 354 of file LicenseStdCommentDaoTest.php.
Fossology\Lib\Dao\LicenseStdCommentDaoTest::testGetCommentValid | ( | ) |
Test for LicenseStdCommentDao::getComment() with valid id.
Definition at line 337 of file LicenseStdCommentDaoTest.php.
Fossology\Lib\Dao\LicenseStdCommentDaoTest::testInsertCommentAsAdmin | ( | ) |
Test for LicenseStdCommentDao::insertComment() as an admin.
Definition at line 369 of file LicenseStdCommentDaoTest.php.
Fossology\Lib\Dao\LicenseStdCommentDaoTest::testInsertCommentAsNonAdmin | ( | ) |
Test for LicenseStdCommentDao::insertComment() as non admin.
Definition at line 397 of file LicenseStdCommentDaoTest.php.
Fossology\Lib\Dao\LicenseStdCommentDaoTest::testInsertCommentEmptyValues | ( | ) |
Test for LicenseStdCommentDao::insertComment() with empty values.
Definition at line 412 of file LicenseStdCommentDaoTest.php.
Fossology\Lib\Dao\LicenseStdCommentDaoTest::testToggleCommentAsAdmin | ( | ) |
Test for LicenseStdCommentDao::toggleComment() as admin.
Definition at line 428 of file LicenseStdCommentDaoTest.php.
Fossology\Lib\Dao\LicenseStdCommentDaoTest::testToggleCommentAsNonAdmin | ( | ) |
Test for LicenseStdCommentDao::toggleComment() as non admin.
Definition at line 445 of file LicenseStdCommentDaoTest.php.
Fossology\Lib\Dao\LicenseStdCommentDaoTest::testToggleCommentInvalidId | ( | ) |
Test for LicenseStdCommentDao::toggleComment() bad id.
Definition at line 459 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 184 of file LicenseStdCommentDaoTest.php.
Fossology\Lib\Dao\LicenseStdCommentDaoTest::testUpdateCommentAsNonAdmin | ( | ) |
Test for LicenseStdCommentDao::updateComment() as non admin.
Definition at line 165 of file LicenseStdCommentDaoTest.php.
Fossology\Lib\Dao\LicenseStdCommentDaoTest::testUpdateCommentFromArrayAsAdmin | ( | ) |
Test for LicenseStdCommentDao::updateCommentFromArray() as admin.
Definition at line 201 of file LicenseStdCommentDaoTest.php.
Fossology\Lib\Dao\LicenseStdCommentDaoTest::testUpdateCommentFromArrayAsNonAdmin | ( | ) |
Test for LicenseStdCommentDao::updateCommentFromArray() as non admin.
Definition at line 238 of file LicenseStdCommentDaoTest.php.
Fossology\Lib\Dao\LicenseStdCommentDaoTest::testUpdateCommentFromArrayEmptyArray | ( | ) |
Test for LicenseStdCommentDao::updateCommentFromArray() with empty array.
Definition at line 301 of file LicenseStdCommentDaoTest.php.
Fossology\Lib\Dao\LicenseStdCommentDaoTest::testUpdateCommentFromArrayEmptyValues | ( | ) |
Test for LicenseStdCommentDao::updateCommentFromArray() with empty values.
Definition at line 319 of file LicenseStdCommentDaoTest.php.
Fossology\Lib\Dao\LicenseStdCommentDaoTest::testUpdateCommentFromArrayInvalidFields | ( | ) |
Test for LicenseStdCommentDao::updateCommentFromArray() with missing fields.
Definition at line 280 of file LicenseStdCommentDaoTest.php.
Fossology\Lib\Dao\LicenseStdCommentDaoTest::testUpdateCommentFromArrayInvalidId | ( | ) |
Test for LicenseStdCommentDao::updateCommentFromArray() with invalid id.
Definition at line 259 of file LicenseStdCommentDaoTest.php.
|
private |
DB manager to use
Definition at line 39 of file LicenseStdCommentDaoTest.php.
|
private |
LicenseStdCommentDao object for test
Definition at line 43 of file LicenseStdCommentDaoTest.php.
|
private |
Test DB
Definition at line 35 of file LicenseStdCommentDaoTest.php.
integer Fossology\Lib\Dao\LicenseStdCommentDaoTest::COMMENTS_IN_DB = 7 |
Number of rows in license standard comments table.
Definition at line 31 of file LicenseStdCommentDaoTest.php.