drupal_system_listing_compatible_test.test

File

drupal-7.x/profiles/testing/modules/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.test
View source
  1. <?php
  2. /**
  3. * Helper to verify tests in installation profile modules.
  4. */
  5. class DrupalSystemListingCompatibleTestCase extends DrupalWebTestCase {
  6. /**
  7. * Use the Minimal profile.
  8. *
  9. * This test needs to use a different installation profile than the test which
  10. * asserts that this test is found.
  11. *
  12. * @see SimpleTestInstallationProfileModuleTestsTestCase
  13. */
  14. protected $profile = 'minimal';
  15. public static function getInfo() {
  16. return array(
  17. 'name' => 'Installation profile module tests helper',
  18. 'description' => 'Verifies that tests in installation profile modules are found and may use another profile for running tests.',
  19. 'group' => 'Installation profile',
  20. );
  21. }
  22. function setUp() {
  23. // Attempt to install a module in Testing profile, while this test runs with
  24. // a different profile.
  25. parent::setUp(array('drupal_system_listing_compatible_test'));
  26. }
  27. /**
  28. * Non-empty test* method required to executed the test case class.
  29. */
  30. function testDrupalSystemListing() {
  31. $this->pass(__CLASS__ . ' test executed.');
  32. }
  33. }