protected function DrupalTestCase::pass
Fire an assertion that is always positive.
Parameters
$message: The message to display along with the assertion.
$group: The type of assertion - examples are "Browser", "PHP".
Return value
TRUE.
74 calls to DrupalTestCase::pass()
- BatchPercentagesUnitTestCase::testBatchPercentages in drupal-7.x/
modules/ simpletest/ tests/ batch.test - Test the _batch_api_percentage() function.
- BatchPercentagesUnitTestCase::testBatchPercentages in drupal-7.x/
modules/ simpletest/ tests/ batch.test - Test the _batch_api_percentage() function.
- BookTestCase::checkBookNode in drupal-7.x/
modules/ book/ book.test - Checks the outline of sub-pages; previous, up, and next.
- BookTestCase::checkBookNode in drupal-7.x/
modules/ book/ book.test - Checks the outline of sub-pages; previous, up, and next.
- ConnectionUnitTest::setUp in drupal-7.x/
modules/ simpletest/ tests/ database_test.test - Sets up unit test environment.
Archivo
- drupal-7.x/
modules/ simpletest/ drupal_web_test_case.php, line 397
Class
- DrupalTestCase
- Base class for Drupal tests.
Código
protected function pass($message = NULL, $group = 'Other') {
return $this->assert(TRUE, $message, $group);
}