Projet

Général

Profil

Révision 5d12d676

Ajouté par Assos Assos il y a environ 6 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/views/tests/views_module.test
45 45
      'khoảng cách từ đại lí đến',
46 46
      'của hãng bao gồm ba dòng',
47 47
      'сд асд асд ас',
48
      'асд асд асд ас'
48
      'асд асд асд ас',
49 49
    );
50 50
    // Just test maxlength without word boundry.
51 51
    $alter = array(
......
91 91
   */
92 92
  function testModuleTemplates() {
93 93
    $views_status = variable_get('views_defaults', array());
94
    $views_status['frontpage'] = FALSE; // false is enabled
94
    $views_status['frontpage'] = FALSE;
95
    // false is enabled.
95 96
    variable_set('views_defaults', $views_status);
96 97

  
97 98
    $existing = array();
......
127 128
    }
128 129

  
129 130
    // Test the automatic conversion feature.
130

  
131 131
    // Test the automatic table renaming.
132 132
    $handler = views_get_handler('views_test_previous', 'id', 'field');
133 133
    $this->assertInstanceHandler($handler, 'views_test', 'id', 'field');
......
194 194
    $this->assertEqual(variable_get('views_test_views_data_count', 0), 1, 'Views data rebuilt once');
195 195
    $this->assertFalse(drupal_static('_views_fetch_data_fully_loaded'), 'Views data is not fully loaded');
196 196

  
197

  
198 197
    // Test if the cache consistency is ensured. There was an issue where
199 198
    // calling _views_fetch_data() first with a table would prevent the function
200 199
    // from properly rebuilt a missing the general cache entry.
......
238 237
    drupal_static_reset('_views_fetch_data_recursion_protected');
239 238
    drupal_static_reset('_views_fetch_data_fully_loaded');
240 239
  }
240

  
241 241
}

Formats disponibles : Unified diff