LintCommandTest
extends TestCase
in package
Tests the YamlLintCommand.
Tags
Table of Contents
Properties
- $files : mixed
Methods
- testConstantAsKey() : mixed
- testLintCorrectFile() : mixed
- testLintFileNotReadable() : mixed
- testLintIncorrectFile() : mixed
- createCommandTester() : CommandTester
- setUp() : mixed
- tearDown() : mixed
- createFile() : string
Properties
$files
private
mixed
$files
Methods
testConstantAsKey()
public
testConstantAsKey() : mixed
testLintCorrectFile()
public
testLintCorrectFile() : mixed
testLintFileNotReadable()
public
testLintFileNotReadable() : mixed
Tags
testLintIncorrectFile()
public
testLintIncorrectFile() : mixed
createCommandTester()
protected
createCommandTester() : CommandTester
Return values
CommandTestersetUp()
protected
setUp() : mixed
tearDown()
protected
tearDown() : mixed
createFile()
private
createFile(mixed $content) : string
Parameters
- $content : mixed
Return values
string —Path to the new file