JFilesystemPatcherTest::testAdd
Test JFilesystemPatcher::add add a unified diff string to the patcher
Signature
public function testAdd(string
$udiff,
string
$root,
string
$strip,
array
$expected )
Parameters
-
$udiff
- Unified diff input string
-
$root
- The files root path
-
$strip
- The number of '/' to strip
-
$expected
- The expected array patches
Returns
- void