1 layout.test private LayoutSelectionTest::assertIsDefaultLayout($message = '')

File

core/modules/layout/tests/layout.test, line 2648
Tests for the Layout module.

Class

LayoutSelectionTest
Tests that the correct layout is used in various situations.

Code

private function assertIsDefaultLayout($message = '') {
  $result = $this->xpath('//div[contains(@class, "layout--moscone-flipped")]');
  $this->assertEqual(count($result), 1, $message ? $message : format_string('Admin layout used at @path', array('@path' => $this->getUrl())));
}