summaryrefslogtreecommitdiff
path: root/kolab.org/www/drupal-7.26/profiles/testing/modules/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.test
blob: 198c1d8a03e5d0fb0bedd855b699489123b104d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php

/**
 * Helper to verify tests in installation profile modules.
 */
class DrupalSystemListingCompatibleTestCase extends DrupalWebTestCase {
  /**
   * Use the Minimal profile.
   *
   * This test needs to use a different installation profile than the test which
   * asserts that this test is found.
   *
   * @see SimpleTestInstallationProfileModuleTestsTestCase
   */
  protected $profile = 'minimal';

  public static function getInfo() {
    return array(
      'name' => 'Installation profile module tests helper',
      'description' => 'Verifies that tests in installation profile modules are found and may use another profile for running tests.',
      'group' => 'Installation profile',
    );
  }

  function setUp() {
    // Attempt to install a module in Testing profile, while this test runs with
    // a different profile.
    parent::setUp(array('drupal_system_listing_compatible_test'));
  }

  /**
   * Non-empty test* method required to executed the test case class.
   */
  function testDrupalSystemListing() {
    $this->pass(__CLASS__ . ' test executed.');
  }
}