VerifyFileTrait
Table of Contents
Methods
- equals() : mixed
- equalsJsonFile() : mixed
- equalsXmlFile() : mixed
- exists() : mixed
- fileEqualsCanonicalizing() : mixed
- Verifies that the contents of one file is equal to the contents of another file (canonicalizing).
- fileEqualsIgnoringCase() : mixed
- Verifies that the contents of one file is equal to the contents of another file (ignoring case).
- fileIsNotReadable() : mixed
- Verifies that a file exists and is not readable.
- fileIsNotWritable() : mixed
- Verifies that a file exists and is not writable.
- fileIsReadable() : mixed
- Verifies that a file exists and is readable.
- fileIsWritable() : mixed
- Verifies that a file exists and is writable.
- fileNotEqualsCanonicalizing() : mixed
- Verifies that the contents of one file is not equal to the contents of another file (canonicalizing).
- fileNotEqualsIgnoringCase() : mixed
- Verifies that the contents of one file is not equal to the contents of another file (ignoring case).
- jsonFileNotEqualsJsonFile() : mixed
- Verifies that two JSON files are not equal.
- jsonStringNotEqualsJsonFile() : mixed
- Verifies that the generated JSON encoded object and the content of the given file are not equal.
- notEquals() : mixed
- notExists() : mixed
- setIsFileExpectation() : mixed
Methods
equals()
public
equals(mixed $expected[, mixed $delta = 0 ]) : mixed
Parameters
- $expected : mixed
- $delta : mixed = 0
equalsJsonFile()
public
equalsJsonFile(mixed $file) : mixed
Parameters
- $file : mixed
equalsXmlFile()
public
equalsXmlFile(mixed $file) : mixed
Parameters
- $file : mixed
exists()
public
exists() : mixed
fileEqualsCanonicalizing()
Verifies that the contents of one file is equal to the contents of another file (canonicalizing).
public
fileEqualsCanonicalizing(mixed $expected) : mixed
Parameters
- $expected : mixed
fileEqualsIgnoringCase()
Verifies that the contents of one file is equal to the contents of another file (ignoring case).
public
fileEqualsIgnoringCase(mixed $expected) : mixed
Parameters
- $expected : mixed
fileIsNotReadable()
Verifies that a file exists and is not readable.
public
fileIsNotReadable() : mixed
fileIsNotWritable()
Verifies that a file exists and is not writable.
public
fileIsNotWritable() : mixed
fileIsReadable()
Verifies that a file exists and is readable.
public
fileIsReadable() : mixed
fileIsWritable()
Verifies that a file exists and is writable.
public
fileIsWritable() : mixed
fileNotEqualsCanonicalizing()
Verifies that the contents of one file is not equal to the contents of another file (canonicalizing).
public
fileNotEqualsCanonicalizing(mixed $expected) : mixed
Parameters
- $expected : mixed
fileNotEqualsIgnoringCase()
Verifies that the contents of one file is not equal to the contents of another file (ignoring case).
public
fileNotEqualsIgnoringCase(mixed $expected) : mixed
Parameters
- $expected : mixed
jsonFileNotEqualsJsonFile()
Verifies that two JSON files are not equal.
public
jsonFileNotEqualsJsonFile(string $expectedFile) : mixed
Parameters
- $expectedFile : string
jsonStringNotEqualsJsonFile()
Verifies that the generated JSON encoded object and the content of the given file are not equal.
public
jsonStringNotEqualsJsonFile(string $expectedFile) : mixed
Parameters
- $expectedFile : string
notEquals()
public
notEquals(mixed $expected[, mixed $delta = 0 ]) : mixed
Parameters
- $expected : mixed
- $delta : mixed = 0
notExists()
public
notExists() : mixed
setIsFileExpectation()
public
setIsFileExpectation(bool $isFileExpectation) : mixed
Parameters
- $isFileExpectation : bool