Projet

Général

Profil

Paste
Télécharger (1,07 ko) Statistiques
| Branche: | Révision:

root / drupal7 / profiles / testing / modules / drupal_system_listing_compatible_test / drupal_system_listing_compatible_test.test @ db2d93dd

1
<?php
2

    
3
/**
4
 * Helper to verify tests in installation profile modules.
5
 */
6
class DrupalSystemListingCompatibleTestCase extends DrupalWebTestCase {
7
  /**
8
   * Use the Minimal profile.
9
   *
10
   * This test needs to use a different installation profile than the test which
11
   * asserts that this test is found.
12
   *
13
   * @see SimpleTestInstallationProfileModuleTestsTestCase
14
   */
15
  protected $profile = 'minimal';
16

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

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

    
31
  /**
32
   * Non-empty test* method required to executed the test case class.
33
   */
34
  function testDrupalSystemListing() {
35
    $this->pass(__CLASS__ . ' test executed.');
36
  }
37
}