You are here

public function DirectoryIterationTestCase::provideSwitchWithExpectations in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/DirectoryIterationTestCase.php \org\bovigo\vfs\DirectoryIterationTestCase::provideSwitchWithExpectations()

Return value

array

File

vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/DirectoryIterationTestCase.php, line 31

Class

DirectoryIterationTestCase
Test for directory iteration.

Namespace

org\bovigo\vfs

Code

public function provideSwitchWithExpectations() {
  return array(
    array(
      function () {
        vfsStream::disableDotfiles();
      },
      array(
        'bar',
        'baz2',
      ),
    ),
    array(
      function () {
        vfsStream::enableDotfiles();
      },
      array(
        '.',
        '..',
        'bar',
        'baz2',
      ),
    ),
  );
}