You are here

public function FileCacheTest::getProviderFileName in Plug 7

File

lib/doctrine/cache/tests/Doctrine/Tests/Common/Cache/FileCacheTest.php, line 26

Class

FileCacheTest
@group DCOM-101

Namespace

Doctrine\Tests\Common\Cache

Code

public function getProviderFileName() {
  return array(
    //The characters :\/<>"*?| are not valid in Windows filenames.
    array(
      'key:1',
      'key-1',
    ),
    array(
      'key\\2',
      'key-2',
    ),
    array(
      'key/3',
      'key-3',
    ),
    array(
      'key<4',
      'key-4',
    ),
    array(
      'key>5',
      'key-5',
    ),
    array(
      'key"6',
      'key-6',
    ),
    array(
      'key*7',
      'key-7',
    ),
    array(
      'key?8',
      'key-8',
    ),
    array(
      'key|9',
      'key-9',
    ),
    array(
      'key[10]',
      'key[10]',
    ),
    array(
      'keyä11',
      'key--11',
    ),
    array(
      '../key12',
      '---key12',
    ),
    array(
      'key-13',
      'key__13',
    ),
  );
}