Tests Process.
More...
Tests Process.
Definition at line 19 of file FilesystemTest.php.
◆ providerRecursiveGlob()
ComponentInstaller\Test\Process\FilesystemTest::providerRecursiveGlob |
( |
| ) |
|
Definition at line 119 of file FilesystemTest.php.
References array.
123 'tests/ComponentInstaller/Test/Resources/img.jpg',
124 'tests/ComponentInstaller/Test/Resources/img2.jpg',
125 'tests/ComponentInstaller/Test/Resources/test.css',
126 'tests/ComponentInstaller/Test/Resources/test.js',
127 'tests/ComponentInstaller/Test/Resources/test2.css',
128 'tests/ComponentInstaller/Test/Resources/test2.js',
129 'tests/ComponentInstaller/Test/Resources/subdir',
131 'tests/ComponentInstaller/Test/Resources/*',
136 'tests/ComponentInstaller/Test/Resources/test.css',
137 'tests/ComponentInstaller/Test/Resources/test2.css',
139 'tests/ComponentInstaller/Test/Resources/*.css',
144 'tests/ComponentInstaller/Test/Resources/img.jpg',
145 'tests/ComponentInstaller/Test/Resources/img2.jpg',
147 'tests/ComponentInstaller/Test/Resources/*.jpg',
152 'tests/ComponentInstaller/Test/Resources/img.jpg',
154 'tests/ComponentInstaller/Test/Resources/img.jpg',
159 'tests/ComponentInstaller/Test/Resources/subdir/img.jpg',
160 'tests/ComponentInstaller/Test/Resources/subdir/img3.jpg',
161 'tests/ComponentInstaller/Test/Resources/subdir/subdir2/img4.jpg',
162 'tests/ComponentInstaller/Test/Resources/subdir/subdir2',
164 'tests/ComponentInstaller/Test/Resources/subdir/**',
Create styles array
The data for the language used.
◆ providerRecursiveGlobFiles()
ComponentInstaller\Test\Process\FilesystemTest::providerRecursiveGlobFiles |
( |
| ) |
|
Definition at line 41 of file FilesystemTest.php.
References array.
45 'tests/ComponentInstaller/Test/Resources/img.jpg',
46 'tests/ComponentInstaller/Test/Resources/img2.jpg',
47 'tests/ComponentInstaller/Test/Resources/test.css',
48 'tests/ComponentInstaller/Test/Resources/test.js',
49 'tests/ComponentInstaller/Test/Resources/test2.css',
50 'tests/ComponentInstaller/Test/Resources/test2.js',
52 'tests/ComponentInstaller/Test/Resources/*',
57 'tests/ComponentInstaller/Test/Resources/test.css',
58 'tests/ComponentInstaller/Test/Resources/test2.css',
60 'tests/ComponentInstaller/Test/Resources/*.css',
65 'tests/ComponentInstaller/Test/Resources/img.jpg',
66 'tests/ComponentInstaller/Test/Resources/img2.jpg',
68 'tests/ComponentInstaller/Test/Resources/*.jpg',
73 'tests/ComponentInstaller/Test/Resources/img.jpg',
74 'tests/ComponentInstaller/Test/Resources/img2.jpg',
76 'tests/ComponentInstaller/Test/Resources/*img*',
81 'tests/ComponentInstaller/Test/Resources/img.jpg',
83 'tests/ComponentInstaller/Test/Resources/img.jpg',
88 'tests/ComponentInstaller/Test/Resources/img.jpg',
89 'tests/ComponentInstaller/Test/Resources/img2.jpg',
90 'tests/ComponentInstaller/Test/Resources/subdir/img.jpg',
91 'tests/ComponentInstaller/Test/Resources/subdir/img3.jpg',
92 'tests/ComponentInstaller/Test/Resources/subdir/subdir2/img4.jpg',
94 'tests/ComponentInstaller/Test/Resources/**img*.jpg',
Create styles array
The data for the language used.
◆ testRecursiveGlob()
ComponentInstaller\Test\Process\FilesystemTest::testRecursiveGlob |
( |
|
$expected, |
|
|
|
$pattern, |
|
|
|
$flags = 0 |
|
) |
| |
Tests the recursiveGlob function.
providerRecursiveGlob
- Parameters
-
array | $expected | |
string | $pattern | |
int | $flags | |
Definition at line 108 of file FilesystemTest.php.
References $result.
110 $fs =
new Filesystem();
111 $result = $fs->recursiveGlob($pattern, $flags);
116 $this->assertEquals($expected,
$result);
◆ testRecursiveGlobFiles()
ComponentInstaller\Test\Process\FilesystemTest::testRecursiveGlobFiles |
( |
|
$expected, |
|
|
|
$pattern, |
|
|
|
$flags = 0 |
|
) |
| |
Tests the recursiveGlob function.
providerRecursiveGlobFiles
- Parameters
-
array | $expected | |
string | $pattern | |
int | $flags | |
Definition at line 29 of file FilesystemTest.php.
References $result.
31 $fs =
new Filesystem();
32 $result = $fs->recursiveGlobFiles($pattern, $flags);
38 $this->assertEquals($expected,
$result);
The documentation for this class was generated from the following file:
- libs/composer/vendor/robloach/component-installer/tests/ComponentInstaller/Test/Util/FilesystemTest.php