function GoogleMiniTest::testSomeResults in Google Search Appliance 5
Same name and namespace in other branches
- 6.2 tests/googlemini.test \GoogleMiniTest::testSomeResults()
File
- tests/
googlemini.test, line 50
Class
Code
function testSomeResults() {
$g = clone $this->stockMini;
try {
$query = "human";
$g
->setKeywords($query);
$result = $g
->query();
$this
->assertNotEqual($result->totalResults, 0, "The Query {$query} did not return 0 results");
} catch (GoogleMiniCriteriaException $e) {
} catch (GoogleMiniResultException $e) {
}
}