39        $request = 
new HTTP\Request(
'DELETE', 
'/file1');
 
   46            "Incorrect status code. Response body:  " . 
$response->getBodyAsString()
 
   52                'Content-Length'  => [
'0'],
 
   64        $request = 
new HTTP\Request(
'DELETE', 
'/dir');
 
   71            "Incorrect status code. Response body:  " . 
$response->getBodyAsString()
 
   77                'Content-Length'  => [
'0'],
 
   89        $request = 
new HTTP\Request(
'DELETE', 
'/file2');
 
   95            "Incorrect status code. Response body:  " . 
$response->getBodyAsString()
 
  105        $request = 
new HTTP\Request(
'DELETE', 
'/file1', [
 
  106            'If-Match' => 
'"' . md5(
'foo') . 
'"',
 
  114            "Incorrect status code. Response body:  " . 
$response->getBodyAsString()
 
  124        $request = 
new HTTP\Request(
'DELETE', 
'/file1', [
 
  125            'If-Match' => 
'"' . md5(
'bar') . 
'"',
 
  133            "Incorrect status code. Response body:  " . 
$response->getBodyAsString()
 
foreach($paths as $path) $request
An exception for terminatinating execution or to throw for unit testing.
This class may be used as a basis for other webdav-related unittests.
request($request, $expectedStatus=null)
Makes a request, and returns a response object.
Tests related to the PUT request.
testDeleteDirectory()
Deleting a Directory.
testDeletePreconditionsFailed()
DELETE with incorrect preconditions.
testDeleteNotFound()
DELETE on a node that does not exist.
testDelete()
A successful DELETE.
setUpTree()
Sets up the DAV tree.
testDeletePreconditions()
DELETE with preconditions.
const VERSION
Full version number.