case_name
case_name
The suffix that all TestCase methods need to have to be called by run()
Used to test functions related to scheduling websites to crawl for a web crawl (the responsibility of a QueueServer)
assertEqual(mixed $x, mixed $y, string $description = "")
Checks that $x and $y are the same, the result of the test is added to $this->test_case_results
mixed | $x | a first item to compare |
mixed | $y | a second item to compare |
string | $description | information about this test subcase |
assertNotEqual(mixed $x, mixed $y, string $description = "")
Checks that $x and $y are not the same, the result of the test is added to $this->test_case_results
mixed | $x | a first item to compare |
mixed | $y | a second item to compare |
string | $description | information about this test subcase |
disallowedToCrawlSiteTestCase()
disallowedToCrawlSite check if a url is matches a list of url and domains stored in a QueueServer's disallowed_sites. This function tests this properties (The test cases are similar to those of urlMemberSiteArrayTestCase, but are using the disallowed_sites array)