Projet

Général

Profil

Paste
Télécharger (744 octets) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / i18n / i18n_forum / i18n_forum.test @ 9faa5de0

1
<?php
2

    
3
/**
4
 * @file
5
 * Test case for multilingual forums.
6
 */
7
class i18nForumTestCase extends Drupali18nTestCase {
8
  public static function getInfo() {
9
    return array(
10
      'name' => 'Multilingual forum',
11
      'group' => 'Internationalization',
12
      'description' => 'Tests multilingual forum',
13
    );
14
  }
15

    
16
  public function setUp() {
17
    parent::setUp('translation', 'i18n_select', 'i18n_forum');
18
    parent::setUpLanguages();
19
    parent::setUpContentTranslation();
20
  }
21

    
22
  /**
23
   * Tests i18n_select integration.
24
   */
25
  public function testI18nSelectTest() {
26
    // @TODO: improve test. its just a quick test against the PDO exception
27
    // @see http://drupal.org/node/1437932
28
    $this->i18nGet($this->default_language, 'forum');
29
  }
30
}