Loading modules/simpletest/tests/upgrade/upgrade.comment.test +3 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,9 @@ class CommentUpgradePathTestCase extends UpgradePathTestCase { * Test a successful upgrade. */ public function testCommentUpgrade() { if ($this->skipUpgradeTest) { return; } $this->assertTrue($this->performUpgrade(), 'The upgrade was completed successfully.'); } } modules/simpletest/tests/upgrade/upgrade.filter.test +3 −0 Original line number Diff line number Diff line Loading @@ -28,6 +28,9 @@ class FilterFormatUpgradePathTestCase extends UpgradePathTestCase { * Test a successful upgrade. */ function testFilterFormatUpgrade() { if ($this->skipUpgradeTest) { return; } $this->assertTrue($this->performUpgrade(), 'The upgrade was completed successfully.'); $format = filter_format_load('1'); Loading modules/simpletest/tests/upgrade/upgrade.forum.test +3 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,9 @@ class ForumUpgradePathTestCase extends UpgradePathTestCase { * Test a successful upgrade (no negotiation). */ public function testForumUpgrade() { if ($this->skipUpgradeTest) { return; } $this->assertTrue($this->performUpgrade(), 'The upgrade was completed successfully.'); // Work around http://drupal.org/node/931512 Loading modules/simpletest/tests/upgrade/upgrade.locale.test +12 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,9 @@ class LocaleUpgradePathTestCase extends UpgradePathTestCase { * Test a successful upgrade (no negotiation). */ public function testLocaleUpgrade() { if ($this->skipUpgradeTest) { return; } $this->assertTrue($this->performUpgrade(), 'The upgrade was completed successfully.'); // The home page should be in French. Loading @@ -43,6 +46,9 @@ class LocaleUpgradePathTestCase extends UpgradePathTestCase { * Test an upgrade with path-based negotiation. */ public function testLocaleUpgradePathDefault() { if ($this->skipUpgradeTest) { return; } // LANGUAGE_NEGOTIATION_PATH_DEFAULT. $this->variable_set('language_negotiation', 1); Loading @@ -66,6 +72,9 @@ class LocaleUpgradePathTestCase extends UpgradePathTestCase { * Test an upgrade with path-based (with fallback) negotiation. */ public function testLocaleUpgradePathFallback() { if ($this->skipUpgradeTest) { return; } // LANGUAGE_NEGOTIATION_PATH. $this->variable_set('language_negotiation', 2); Loading @@ -92,6 +101,9 @@ class LocaleUpgradePathTestCase extends UpgradePathTestCase { * Test an upgrade with domain-based negotiation. */ public function testLocaleUpgradeDomain() { if ($this->skipUpgradeTest) { return; } // LANGUAGE_NEGOTIATION_DOMAIN. $this->variable_set('language_negotiation', 3); Loading modules/simpletest/tests/upgrade/upgrade.menu.test +3 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,9 @@ class MenuUpgradePathTestCase extends UpgradePathTestCase { * Test a successful upgrade. */ public function testMenuUpgrade() { if ($this->skipUpgradeTest) { return; } $this->assertTrue($this->performUpgrade(), 'The upgrade was completed successfully.'); // Test the migration of "Default menu for content" setting to individual Loading Loading
modules/simpletest/tests/upgrade/upgrade.comment.test +3 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,9 @@ class CommentUpgradePathTestCase extends UpgradePathTestCase { * Test a successful upgrade. */ public function testCommentUpgrade() { if ($this->skipUpgradeTest) { return; } $this->assertTrue($this->performUpgrade(), 'The upgrade was completed successfully.'); } }
modules/simpletest/tests/upgrade/upgrade.filter.test +3 −0 Original line number Diff line number Diff line Loading @@ -28,6 +28,9 @@ class FilterFormatUpgradePathTestCase extends UpgradePathTestCase { * Test a successful upgrade. */ function testFilterFormatUpgrade() { if ($this->skipUpgradeTest) { return; } $this->assertTrue($this->performUpgrade(), 'The upgrade was completed successfully.'); $format = filter_format_load('1'); Loading
modules/simpletest/tests/upgrade/upgrade.forum.test +3 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,9 @@ class ForumUpgradePathTestCase extends UpgradePathTestCase { * Test a successful upgrade (no negotiation). */ public function testForumUpgrade() { if ($this->skipUpgradeTest) { return; } $this->assertTrue($this->performUpgrade(), 'The upgrade was completed successfully.'); // Work around http://drupal.org/node/931512 Loading
modules/simpletest/tests/upgrade/upgrade.locale.test +12 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,9 @@ class LocaleUpgradePathTestCase extends UpgradePathTestCase { * Test a successful upgrade (no negotiation). */ public function testLocaleUpgrade() { if ($this->skipUpgradeTest) { return; } $this->assertTrue($this->performUpgrade(), 'The upgrade was completed successfully.'); // The home page should be in French. Loading @@ -43,6 +46,9 @@ class LocaleUpgradePathTestCase extends UpgradePathTestCase { * Test an upgrade with path-based negotiation. */ public function testLocaleUpgradePathDefault() { if ($this->skipUpgradeTest) { return; } // LANGUAGE_NEGOTIATION_PATH_DEFAULT. $this->variable_set('language_negotiation', 1); Loading @@ -66,6 +72,9 @@ class LocaleUpgradePathTestCase extends UpgradePathTestCase { * Test an upgrade with path-based (with fallback) negotiation. */ public function testLocaleUpgradePathFallback() { if ($this->skipUpgradeTest) { return; } // LANGUAGE_NEGOTIATION_PATH. $this->variable_set('language_negotiation', 2); Loading @@ -92,6 +101,9 @@ class LocaleUpgradePathTestCase extends UpgradePathTestCase { * Test an upgrade with domain-based negotiation. */ public function testLocaleUpgradeDomain() { if ($this->skipUpgradeTest) { return; } // LANGUAGE_NEGOTIATION_DOMAIN. $this->variable_set('language_negotiation', 3); Loading
modules/simpletest/tests/upgrade/upgrade.menu.test +3 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,9 @@ class MenuUpgradePathTestCase extends UpgradePathTestCase { * Test a successful upgrade. */ public function testMenuUpgrade() { if ($this->skipUpgradeTest) { return; } $this->assertTrue($this->performUpgrade(), 'The upgrade was completed successfully.'); // Test the migration of "Default menu for content" setting to individual Loading