![]() |
FOSSology
4.5.1
Open Source License Compliance by Open Source Software
|
Test for RepositoryApi. More...


Public Member Functions | |
| tearDown () | |
| Tear down mock objects. More... | |
| testGetLatestRelease () | |
| Test for RepositoryApi::getLatestRelease() More... | |
| testGetCommitsOfLastDays () | |
| Test for RepositoryApi::getCommitsOfLastDays() More... | |
Protected Member Functions | |
| setUp () | |
| One time setup for test. More... | |
Private Attributes | |
| $mockCurlRequest | |
Test for RepositoryApi.
Definition at line 17 of file RepositoryApiTest.php.
|
protected |
One time setup for test.
Mock the CurlRequest class and set mockCurlRequest variable
Definition at line 29 of file RepositoryApiTest.php.
| Fossology\Lib\Application\RepositoryApiTest::tearDown | ( | ) |
Tear down mock objects.
Definition at line 50 of file RepositoryApiTest.php.
| Fossology\Lib\Application\RepositoryApiTest::testGetCommitsOfLastDays | ( | ) |
Test for RepositoryApi::getCommitsOfLastDays()
(key => value) Definition at line 80 of file RepositoryApiTest.php.
| Fossology\Lib\Application\RepositoryApiTest::testGetLatestRelease | ( | ) |
Test for RepositoryApi::getLatestRelease()
(key => value) Definition at line 62 of file RepositoryApiTest.php.
|
private |
CurlRequest object for testing
Definition at line 21 of file RepositoryApiTest.php.