Projet

Général

Profil

Révision c304a780

Ajouté par Assos Assos il y a environ 6 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/ctools/tests/css.test
6 6
class CtoolsCssTestCase extends DrupalWebTestCase {
7 7

  
8 8
  /**
9
   * {@inheritDoc}
9
   * {@inheritdoc}
10 10
   */
11 11
  public static function getInfo() {
12 12
    return array(
......
18 18
  }
19 19

  
20 20
  /**
21
   * {@inheritDoc}
21
   * {@inheritdoc}
22 22
   */
23
  function setUp(array $modules = array()) {
23
  public function setUp(array $modules = array()) {
24 24
    $modules[] = 'ctools';
25 25
    parent::setUp($modules);
26 26
    ctools_include('css');
......
50 50
    $this->assertEqual($filtered_css, $file_contents, 'Filtered css file contents are correct');
51 51
  }
52 52

  
53
  /**
54
   * @todo Test  db-row-exist but file-not-exist case in ctools_css_retrieve().
55
   */
56

  
57 53
  /**
58 54
   * Test that Stored CSS snippets can be correctly overwritten.
59 55
   */
......
67 63
    ctools_css_store('filtered-css-test', $css1, TRUE);
68 64

  
69 65
    // Now overwrite the first css with the second version.
70

  
71 66
    $filename3 = ctools_css_store('unfiltered-css-test', $css2, FALSE);
72 67
    $filename4 = ctools_css_store('filtered-css-test', $css2, TRUE);
73 68

  

Formats disponibles : Unified diff