MvcLite\File::test
tests the existance of a given filename
Signature
public function test(string
$filename )
Parameters
$filename
—
string
Returns
- boolean
Test Coverage
Information
- Coverage: 3/3 Lines (100%)
- Tests: 7
- Passed: 7 (100%)
Tests
- [ PASSED ] — MvcLite\FileTest::testTest with data set "Bad path, should not exist"
- [ PASSED ] — MvcLite\FileTest::testTest with data set "Good path, should exist"
- [ PASSED ] — MvcLite\FileTest::testTest with data set "Good path, bad file, should not exist"
- [ PASSED ] — MvcLite\FileTest::testLoad with data set "Bad path, should not exist"
- [ PASSED ] — MvcLite\FileTest::testLoad with data set "Good path, should exist"
- [ PASSED ] — MvcLite\FileTest::testLoad with data set "Good path, bad file, should not exist"
- [ PASSED ] — MvcLite\FileTest::testDelete with data set "file exists"