protected function UpdateTestHelper::standardTests

7.x update.test protected UpdateTestHelper::standardTests()

Runs a series of assertions that are applicable to all update statuses.

5 calls to UpdateTestHelper::standardTests()
UpdateCoreTestCase::testNormalUpdateAvailable in drupal-7.x/modules/update/update.test
Tests the Update Manager module when one normal update is available.
UpdateCoreTestCase::testNoUpdatesAvailable in drupal-7.x/modules/update/update.test
Tests the Update Manager module when no updates are available.
UpdateCoreTestCase::testSecurityUpdateAvailable in drupal-7.x/modules/update/update.test
Tests the Update Manager module when a security update is available.
UpdateTestContribCase::testUpdateContribBasic in drupal-7.x/modules/update/update.test
Tests the basic functionality of a contrib module on the status report.
UpdateTestContribCase::testUpdateContribOrder in drupal-7.x/modules/update/update.test
Tests that contrib projects are ordered by project name.

File

drupal-7.x/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'));
}