protected function UpdateTestHelper::standardTests in Drupal 7
Runs a series of assertions that are applicable to all update statuses.
5 calls to UpdateTestHelper::standardTests()
- UpdateCoreTestCase::testNormalUpdateAvailable in modules/
update/ update.test - Tests the Update Manager module when one normal update is available.
- UpdateCoreTestCase::testNoUpdatesAvailable in modules/
update/ update.test - Tests the Update Manager module when no updates are available.
- UpdateCoreTestCase::testSecurityUpdateAvailable in modules/
update/ update.test - Tests the Update Manager module when a security update is available.
- UpdateTestContribCase::testUpdateContribBasic in modules/
update/ update.test - Tests the basic functionality of a contrib module on the status report.
- UpdateTestContribCase::testUpdateContribOrder in modules/
update/ update.test - Tests that contrib projects are ordered by project name.
File
- modules/
update/ update.test, line 52 - This file contains tests for the Update Manager module.
Class
- UpdateTestHelper
- Defines some shared functions used by all update tests.
Code
protected function standardTests() {
$this
->assertRaw('<h3>' . t('Drupal core') . '</h3>');
$this
->assertRaw(l(t('Drupal'), 'http://example.com/project/drupal'), 'Link to the Drupal project appears.');
$this
->assertNoText(t('No available releases found'));
}