You are here

protected function XAutoloadWebTestCase::xautoloadCheckTestEnvironment in X Autoload 7.3

Same name and namespace in other branches
  1. 7.5 lib/Drupal/xautoload/Tests/XAutoloadWebTestCase.php \Drupal\xautoload\Tests\XAutoloadWebTestCase::xautoloadCheckTestEnvironment()
  2. 7.4 lib/Drupal/xautoload/Tests/XAutoloadWebTestCase.php \Drupal\xautoload\Tests\XAutoloadWebTestCase::xautoloadCheckTestEnvironment()
1 call to XAutoloadWebTestCase::xautoloadCheckTestEnvironment()
XAutoloadWebTestCase::xautoloadModuleCheckJson in lib/Drupal/xautoload/Tests/XAutoloadWebTestCase.php

File

lib/Drupal/xautoload/Tests/XAutoloadWebTestCase.php, line 115

Class

XAutoloadWebTestCase

Namespace

Drupal\xautoload\Tests

Code

protected function xautoloadCheckTestEnvironment($observations, $mode, $phase, $when) {

  // Check early-bootstrap variables.
  $this
    ->assertEqual($observations['xautoload_cache_mode'], $mode, "xautoload_cache_mode was '{$mode}' {$when}.");

  // Check registered class loaders.
  $this
    ->assertAutoloadStackOrder($observations['spl_autoload_functions'], $mode);
}