20c20 < index 7f934fe..4f98771 100644 --- > index 7f934fe..3f7261e 100644 23c23 < @@ -28,9 +28,56 @@ abstract class UpgradePathTestCase extends DrupalWebTestCase { --- > @@ -28,9 +28,60 @@ abstract class UpgradePathTestCase extends DrupalWebTestCase { 37a38,41 > + * > + * @param $test_id > + * (optional) The ID of the test. Tests with the same id are reported > + * together. 45c49 < + * Prepare the appropriate session for the release of Drupal being upgraded. --- > + * Prepares the appropriate session for the release of Drupal being upgraded. 80,96c84 < @@ -42,7 +89,8 @@ abstract class UpgradePathTestCase extends DrupalWebTestCase { < < $this->loadedModules = module_list(); < < - // Generate a temporary prefixed database to ensure that tests have a clean starting point. < + // Generate a temporary prefixed database to ensure that tests have a < + // clean starting point. < $this->databasePrefix = 'simpletest' . mt_rand(1000, 1000000); < db_update('simpletest_test_id') < ->fields(array('last_prefix' => $this->databasePrefix)) < @@ -88,11 +136,16 @@ abstract class UpgradePathTestCase extends DrupalWebTestCase { < ini_set('log_errors', 1); < ini_set('error_log', $public_files_directory . '/error.log'); < < - // Reset all statics and variables to perform tests in a clean environment. < + // Reset all statics and variables to perform tests in a clean < + // environment. --- > @@ -92,7 +143,11 @@ abstract class UpgradePathTestCase extends DrupalWebTestCase { 108c96 < @@ -109,20 +162,7 @@ abstract class UpgradePathTestCase extends DrupalWebTestCase { --- > @@ -109,20 +164,7 @@ abstract class UpgradePathTestCase extends DrupalWebTestCase { 130c118 < @@ -137,6 +177,11 @@ abstract class UpgradePathTestCase extends DrupalWebTestCase { --- > @@ -137,6 +179,11 @@ abstract class UpgradePathTestCase extends DrupalWebTestCase { 142,160c130 < @@ -184,13 +229,14 @@ abstract class UpgradePathTestCase extends DrupalWebTestCase { < } < < /** < - * Specialized variable_set() that works even if the child site is not upgraded. < + * Specialized variable_set() that works even if the child site is not < + * upgraded. < * < * @param $name < * The name of the variable to set. < * @param $value < - * The value to set. This can be any PHP data type; these functions take care < - * of serialization as necessary. < + * The value to set. This can be any PHP data type; these functions take < + * care of serialization as necessary. < */ < protected function variable_set($name, $value) { < db_delete('variable') < @@ -231,6 +277,11 @@ abstract class UpgradePathTestCase extends DrupalWebTestCase { --- > @@ -231,6 +278,11 @@ abstract class UpgradePathTestCase extends DrupalWebTestCase { 172c142 < @@ -245,6 +296,14 @@ abstract class UpgradePathTestCase extends DrupalWebTestCase { --- > @@ -245,6 +297,14 @@ abstract class UpgradePathTestCase extends DrupalWebTestCase { 187c157 < @@ -319,6 +378,26 @@ abstract class UpgradePathTestCase extends DrupalWebTestCase { --- > @@ -319,6 +379,26 @@ abstract class UpgradePathTestCase extends DrupalWebTestCase { 191c161 < + * Perform end-to-end point test of the release update path. --- > + * Performs end-to-end point test of the release update path. 214c184 < @@ -351,7 +430,7 @@ class BasicUpgradePath extends UpgradePathTestCase { --- > @@ -351,7 +431,7 @@ class BasicUpgradePath extends UpgradePathTestCase { 223c193 < @@ -408,3 +487,311 @@ class BasicUpgradePath extends UpgradePathTestCase { --- > @@ -408,3 +488,309 @@ class BasicUpgradePath extends UpgradePathTestCase { 229c199 < + * Perform point release update tests on a bare database. --- > + * Performs point release update tests on a bare database. 231c201 < + * Load an installation of Drupal 7.0 and run the update process on it. --- > + * Loads an installation of Drupal 7.0 and runs the update process on it. 233,235c203,205 < + * The install only contains dblog (although it's optional, it's only so that < + * another hook_watchdog module can take its place, the site is not functional < + * without watchdog) and update. --- > + * The install contains the standard profile (plus all optional) modules > + * without any content so that an update from any of the modules under this > + * profile installation can be wholly tested. 306c276 < + * Perform point release update tests on a bare database. --- > + * Performs point release update tests on a bare database. 308c278 < + * Load an installation of Drupal 7.0 and run the update process on it. --- > + * Loads an installation of Drupal 7.0 and runs the update process on it. 310,312c280,281 < + * The install only contains dblog (although it's optional, it's only so that < + * another hook_watchdog module can take its place, the site is not functional < + * without watchdog) and update. --- > + * The install contains the minimal profile modules (without any generated > + * content) so that an update from of a site under this profile may be tested. 383c352 < + * Perform point release update tests on a bare database. --- > + * Performs point release update tests on a 'filled' database. 385c354 < + * Load an installation of Drupal 7.0 and run the update process on it. --- > + * Loads an installation of Drupal 7.0 and runs the update process on it. 387,389c356,358 < + * The install only contains dblog (although it's optional, it's only so that < + * another hook_watchdog module can take its place, the site is not functional < + * without watchdog) and update. --- > + * The install contains the standard profile (plus all optional) modules > + * with generated content so that an update from any of the modules under this > + * profile installation can be wholly tested. 460c429 < + * Perform point release update tests on a populated database. --- > + * Performs point release update tests on a populated database. 462c431 < + * Load an installation of Drupal 7.0 and run the update process on it. --- > + * Loads an installation of Drupal 7.0 and runs the update process on it. 464,466c433,434 < + * The install only contains dblog (although it's optional, it's only so that < + * another hook_watchdog module can take its place, the site is not functional < + * without watchdog) and update. --- > + * The install contains the minimal profile modules (along with generated > + * content) so that an update from of a site under this profile may be tested.