function contextCase::ConfigSearchPaths

6.x contextTest.php contextCase::ConfigSearchPaths()
4.x contextTest.php contextCase::ConfigSearchPaths()
5.x contextTest.php contextCase::ConfigSearchPaths()

Assure that all possible config files get loaded.

1 call to contextCase::ConfigSearchPaths()
contextCase::testContext in tests/contextTest.php
These should be different tests but I could not work out how to do that without calling setUp() twice. setUpBeforeClass() did not work out (for MW).

File

tests/contextTest.php, line 88
Assure that context API behaves as designed. Mostly implicitly tested, but we do have some edges that need explicit testing. *

Class

contextCase

Code

function ConfigSearchPaths() {
  $options = array(
    'pipe' => NULL,
    'config' => UNISH_SANDBOX,
    'root' => $this->webroot(),
    'uri' => $this->env,
  );
  $this->drush('core-status', array('Drush configuration'), $options);
  $loaded = $this->getOutputFromJSON('drush-conf');
  $loaded = array_map(array(&$this, 'convert_path'), $loaded);
  $this->assertSame($this->written, $loaded);
}