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/handlers/views_handler_sort_random.test
9 9
 * Tests for core views_handler_sort_random handler.
10 10
 */
11 11
class ViewsHandlerSortRandomTest extends ViewsSqlTest {
12

  
13
  /**
14
   *
15
   */
12 16
  public static function getInfo() {
13 17
    return array(
14 18
      'name' => 'Sort: random',
......
77 81
      'views_test_age' => 'views_test_name',
78 82
    ));
79 83

  
80
    // Execute a second random view, we expect the result set to be different again.
84
    // Execute a second random view, we expect the result set to be different
85
    // again.
81 86
    $view_random_2 = $this->getBasicRandomView();
82 87
    $this->executeView($view_random_2);
83 88
    $this->assertEqual(count($this->dataSet()), count($view_random_2->result), t('The number of returned rows match.'));
......
86 91
      'views_test_age' => 'views_test_name',
87 92
    ));
88 93
  }
94

  
89 95
}

Formats disponibles : Unified diff