protected function UpdateTestHelper::standardTests

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

10 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::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::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.

... See full list

Archivo

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.

Código

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'));
}