ValidateICalTest
extends TestCase
in package
Table of Contents
- $calBackend : Mock
- $server : Server
- request() : ResponseMock
- setup() : void
- testCreateFile() : mixed
- testCreateFile2Components() : mixed
- testCreateFile2UIDS() : mixed
- testCreateFileInvalidComponent() : mixed
- testCreateFileModified() : mixed
- What we are testing here, is if we send in a latin1 character, the server should automatically transform this into UTF-8.
- testCreateFileNoComponents() : mixed
- testCreateFileNoUID() : mixed
- testCreateFileNoVersion() : mixed
- testCreateFileNoVersionFixed() : mixed
- testCreateFileValid() : mixed
- testCreateFileVCard() : mixed
- testCreateFileWrongComponent() : mixed
- testUpdateFile() : mixed
- testUpdateFileInvalidComponent() : mixed
- testUpdateFileParsableBody() : mixed
Properties
$calBackend
protected
Mock
$calBackend
$server
protected
Server
$server
Methods
request()
public
request(Request $request) : ResponseMock
Parameters
- $request : Request
Return values
ResponseMock —setup()
public
setup() : void
Return values
void —testCreateFile()
public
testCreateFile() : mixed
Return values
mixed —testCreateFile2Components()
public
testCreateFile2Components() : mixed
Return values
mixed —testCreateFile2UIDS()
public
testCreateFile2UIDS() : mixed
Return values
mixed —testCreateFileInvalidComponent()
public
testCreateFileInvalidComponent() : mixed
Return values
mixed —testCreateFileModified()
What we are testing here, is if we send in a latin1 character, the server should automatically transform this into UTF-8.
public
testCreateFileModified() : mixed
More importantly. If any transformation happens, the etag must no longer be returned by the server.
Return values
mixed —testCreateFileNoComponents()
public
testCreateFileNoComponents() : mixed
Return values
mixed —testCreateFileNoUID()
public
testCreateFileNoUID() : mixed
Return values
mixed —testCreateFileNoVersion()
public
testCreateFileNoVersion() : mixed
Return values
mixed —testCreateFileNoVersionFixed()
public
testCreateFileNoVersionFixed() : mixed
Return values
mixed —testCreateFileValid()
public
testCreateFileValid() : mixed
Return values
mixed —testCreateFileVCard()
public
testCreateFileVCard() : mixed
Return values
mixed —testCreateFileWrongComponent()
public
testCreateFileWrongComponent() : mixed
Return values
mixed —testUpdateFile()
public
testUpdateFile() : mixed
Return values
mixed —testUpdateFileInvalidComponent()
public
testUpdateFileInvalidComponent() : mixed
Return values
mixed —testUpdateFileParsableBody()
public
testUpdateFileParsableBody() : mixed