protected function DrupalTestCase::assertFalse in SimpleTest 7
Same name and namespace in other branches
- 6.2 drupal_web_test_case.php \DrupalTestCase::assertFalse()
 - 7.2 drupal_web_test_case.php \DrupalTestCase::assertFalse()
 
Check to see if a value is false (an empty string, 0, NULL, or FALSE).
Parameters
$value: The value on which the assertion is to be done.
$message: The message to display along with the assertion.
$group: The type of assertion - examples are "Browser", "PHP".
Return value
TRUE if the assertion succeeded, FALSE otherwise.
64 calls to DrupalTestCase::assertFalse()
- ActionsConfigurationTestCase::testActionConfiguration in tests/
actions.test  - Test the configuration of advanced actions through the administration interface.
 - BootstrapIPAddressTestCase::testIPAddressHost in tests/
bootstrap.test  - test IP Address and hostname
 - BootstrapPageCacheTestCase::testConditionalRequests in tests/
bootstrap.test  - Test support for requests containing If-Modified-Since and If-None-Match headers.
 - BootstrapPageCacheTestCase::testPageCache in tests/
bootstrap.test  - Test cache headers.
 - CacheClearCase::testClearArray in tests/
cache.test  - Test clearing using an array.
 
File
- ./
drupal_web_test_case.php, line 230  
Class
- DrupalTestCase
 - Base class for Drupal tests.
 
Code
protected function assertFalse($value, $message = '', $group = 'Other') {
  return $this
    ->assert(!$value, $message ? $message : t('Value is FALSE'), $group);
}