Documentation

LintCommandTest extends TestCase
in package

Tests the YamlLintCommand.

Tags
author

Robin Chalas robin.chalas@gmail.com

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

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 —

createFile()

private createFile(mixed $content) : string
Parameters
$content : mixed
Return values
string —

Path to the new file

Search results