LintCommandTest
extends TestCase
in package
Tests the YamlLintCommand.
Tags
Table of Contents
- $files : mixed
- testConstantAsKey() : mixed
- testCustomTags() : mixed
- testCustomTagsError() : 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
Return values
mixed —testCustomTags()
public
testCustomTags() : mixed
Return values
mixed —testCustomTagsError()
public
testCustomTagsError() : mixed
Return values
mixed —testLintCorrectFile()
public
testLintCorrectFile() : mixed
Return values
mixed —testLintFileNotReadable()
public
testLintFileNotReadable() : mixed
Return values
mixed —testLintIncorrectFile()
public
testLintIncorrectFile() : mixed
Return values
mixed —createCommandTester()
protected
createCommandTester() : CommandTester
Return values
CommandTester —setUp()
protected
setUp() : mixed
Return values
mixed —tearDown()
protected
tearDown() : mixed
Return values
mixed —createFile()
private
createFile(mixed $content) : string
Parameters
- $content : mixed
Return values
string —Path to the new file