Documentation

InstallerTest extends TestCase
in package

Table of Contents

$binDir  : mixed
$composer  : mixed
$config  : mixed
$dm  : mixed
$fs  : mixed
$io  : mixed
$parser  : mixed
$repository  : mixed
$vendorDir  : mixed
assertDirectoryDoesNotExist()  : void
assertDirectoryExists()  : void
assertDirectoryIsNotReadable()  : void
assertDirectoryIsNotWritable()  : void
assertDirectoryIsReadable()  : void
assertDirectoryIsWritable()  : void
assertDirectoryNotExists()  : void
assertDirectoryNotIsReadable()  : void
assertDirectoryNotIsWritable()  : void
assertDoesNotMatchRegularExpression()  : void
assertFileDoesNotExist()  : void
assertFileExists()  : void
assertFileIsNotReadable()  : void
assertFileIsNotWritable()  : void
assertFileIsReadable()  : void
assertFileIsWritable()  : void
assertFileNotExists()  : void
assertFileNotIsReadable()  : void
assertFileNotIsWritable()  : void
assertFinite()  : void
assertInfinite()  : void
assertIsCallable()  : void
assertIsInt()  : void
assertIsIterable()  : void
assertIsNotReadable()  : void
assertIsNotWritable()  : void
assertIsNumeric()  : void
assertIsObject()  : void
assertIsReadable()  : void
assertIsResource()  : void
assertIsScalar()  : void
assertIsString()  : void
assertIsWritable()  : void
assertMatchesRegularExpression()  : void
assertNan()  : void
assertNotIsReadable()  : void
assertNotIsWritable()  : void
assertStringContainsString()  : void
assertStringContainsStringIgnoringCase()  : void
assertStringNotContainsString()  : void
assertStringNotContainsStringIgnoringCase()  : void
dataForTestDisabledInstallers()  : array<string|int, mixed>
dataForTestDisabledInstallers
dataForTestInstallPath()  : mixed
dataFormTestInstallPath
dataForTestSupport()  : mixed
dataForTestSupport
setExpectedException()  : void
setUp()  : void
setUp
tearDown()  : void
tearDown
testCustomInstallerName()  : mixed
testCustomInstallerName
testCustomInstallPath()  : mixed
testCustomInstallPath
testCustomTypePath()  : mixed
testCustomTypePath
testDisabledInstallers()  : mixed
testDisabledInstallers
testGetCakePHPInstallPathException()  : void
testGetCakePHPInstallPathException
testInstallPath()  : mixed
testInstallPath
testNoVendorName()  : mixed
testNoVendorName
testStringPath()  : mixed
testStringPath
testSupports()  : void
testSupports
testTypo3Inflection()  : mixed
testTypo3Inflection
testUninstallAndDeletePackageFromLocalRepo()  : mixed
testVendorPath()  : mixed
testVendorPath
ensureDirectoryExistsAndClear()  : mixed
getAliasPackage()  : mixed
getPackage()  : mixed
getVersionConstraint()  : mixed
getVersionParser()  : mixed

Properties

Methods

assertDirectoryDoesNotExist()

public static assertDirectoryDoesNotExist(string $directory[, string $message = '' ]) : void
Parameters
$directory : string
$message : string = ''
Return values
void

assertDirectoryExists()

public static assertDirectoryExists(string $directory[, string $message = '' ]) : void
Parameters
$directory : string
$message : string = ''
Return values
void

assertDirectoryIsNotReadable()

public static assertDirectoryIsNotReadable(string $directory[, string $message = '' ]) : void
Parameters
$directory : string
$message : string = ''
Return values
void

assertDirectoryIsNotWritable()

public static assertDirectoryIsNotWritable(string $directory[, string $message = '' ]) : void
Parameters
$directory : string
$message : string = ''
Return values
void

assertDirectoryIsReadable()

public static assertDirectoryIsReadable(string $directory[, string $message = '' ]) : void
Parameters
$directory : string
$message : string = ''
Return values
void

assertDirectoryIsWritable()

public static assertDirectoryIsWritable(string $directory[, string $message = '' ]) : void
Parameters
$directory : string
$message : string = ''
Return values
void

assertDirectoryNotExists()

public static assertDirectoryNotExists(string $directory[, string $message = '' ]) : void
Parameters
$directory : string
$message : string = ''
Return values
void

assertDirectoryNotIsReadable()

public static assertDirectoryNotIsReadable(string $directory[, string $message = '' ]) : void
Parameters
$directory : string
$message : string = ''
Return values
void

assertDirectoryNotIsWritable()

public static assertDirectoryNotIsWritable(string $directory[, string $message = '' ]) : void
Parameters
$directory : string
$message : string = ''
Return values
void

assertDoesNotMatchRegularExpression()

public static assertDoesNotMatchRegularExpression(string $pattern, string $string[, string $message = '' ]) : void
Parameters
$pattern : string
$string : string
$message : string = ''
Return values
void

assertFileDoesNotExist()

public static assertFileDoesNotExist(string $filename[, string $message = '' ]) : void
Parameters
$filename : string
$message : string = ''
Return values
void

assertFileExists()

public static assertFileExists(string $filename[, string $message = '' ]) : void
Parameters
$filename : string
$message : string = ''
Return values
void

assertFileIsNotReadable()

public static assertFileIsNotReadable(string $filename[, string $message = '' ]) : void
Parameters
$filename : string
$message : string = ''
Return values
void

assertFileIsNotWritable()

public static assertFileIsNotWritable(string $filename[, string $message = '' ]) : void
Parameters
$filename : string
$message : string = ''
Return values
void

assertFileIsReadable()

public static assertFileIsReadable(string $filename[, string $message = '' ]) : void
Parameters
$filename : string
$message : string = ''
Return values
void

assertFileIsWritable()

public static assertFileIsWritable(string $filename[, string $message = '' ]) : void
Parameters
$filename : string
$message : string = ''
Return values
void

assertFileNotExists()

public static assertFileNotExists(string $filename[, string $message = '' ]) : void
Parameters
$filename : string
$message : string = ''
Return values
void

assertFileNotIsReadable()

public static assertFileNotIsReadable(string $filename[, string $message = '' ]) : void
Parameters
$filename : string
$message : string = ''
Return values
void

assertFileNotIsWritable()

public static assertFileNotIsWritable(string $filename[, string $message = '' ]) : void
Parameters
$filename : string
$message : string = ''
Return values
void

assertFinite()

public static assertFinite(mixed $actual[, string $message = '' ]) : void
Parameters
$actual : mixed
$message : string = ''
Return values
void

assertInfinite()

public static assertInfinite(mixed $actual[, string $message = '' ]) : void
Parameters
$actual : mixed
$message : string = ''
Return values
void

assertIsCallable()

public static assertIsCallable(mixed $actual[, string $message = '' ]) : void
Parameters
$actual : mixed
$message : string = ''
Return values
void

assertIsInt()

public static assertIsInt(mixed $actual[, string $message = '' ]) : void
Parameters
$actual : mixed
$message : string = ''
Return values
void

assertIsIterable()

public static assertIsIterable(mixed $actual[, string $message = '' ]) : void
Parameters
$actual : mixed
$message : string = ''
Return values
void

assertIsNotReadable()

public static assertIsNotReadable(string $filename[, string $message = '' ]) : void
Parameters
$filename : string
$message : string = ''
Return values
void

assertIsNotWritable()

public static assertIsNotWritable(string $filename[, string $message = '' ]) : void
Parameters
$filename : string
$message : string = ''
Return values
void

assertIsNumeric()

public static assertIsNumeric(mixed $actual[, string $message = '' ]) : void
Parameters
$actual : mixed
$message : string = ''
Return values
void

assertIsObject()

public static assertIsObject(mixed $actual[, string $message = '' ]) : void
Parameters
$actual : mixed
$message : string = ''
Return values
void

assertIsReadable()

public static assertIsReadable(string $filename[, string $message = '' ]) : void
Parameters
$filename : string
$message : string = ''
Return values
void

assertIsResource()

public static assertIsResource(mixed $actual[, string $message = '' ]) : void
Parameters
$actual : mixed
$message : string = ''
Return values
void

assertIsScalar()

public static assertIsScalar(mixed $actual[, string $message = '' ]) : void
Parameters
$actual : mixed
$message : string = ''
Return values
void

assertIsString()

public static assertIsString(mixed $actual[, string $message = '' ]) : void
Parameters
$actual : mixed
$message : string = ''
Return values
void

assertIsWritable()

public static assertIsWritable(string $filename[, string $message = '' ]) : void
Parameters
$filename : string
$message : string = ''
Return values
void

assertMatchesRegularExpression()

public static assertMatchesRegularExpression(string $pattern, string $string[, string $message = '' ]) : void
Parameters
$pattern : string
$string : string
$message : string = ''
Return values
void

assertNan()

public static assertNan(mixed $actual[, string $message = '' ]) : void
Parameters
$actual : mixed
$message : string = ''
Return values
void

assertNotIsReadable()

public static assertNotIsReadable(string $filename[, string $message = '' ]) : void
Parameters
$filename : string
$message : string = ''
Return values
void

assertNotIsWritable()

public static assertNotIsWritable(string $filename[, string $message = '' ]) : void
Parameters
$filename : string
$message : string = ''
Return values
void

assertStringContainsString()

public static assertStringContainsString(string $needle, string $haystack[, string $message = '' ]) : void
Parameters
$needle : string
$haystack : string
$message : string = ''
Return values
void

assertStringContainsStringIgnoringCase()

public static assertStringContainsStringIgnoringCase(string $needle, string $haystack[, string $message = '' ]) : void
Parameters
$needle : string
$haystack : string
$message : string = ''
Return values
void

assertStringNotContainsString()

public static assertStringNotContainsString(string $needle, string $haystack[, string $message = '' ]) : void
Parameters
$needle : string
$haystack : string
$message : string = ''
Return values
void

assertStringNotContainsStringIgnoringCase()

public static assertStringNotContainsStringIgnoringCase(string $needle, string $haystack[, string $message = '' ]) : void
Parameters
$needle : string
$haystack : string
$message : string = ''
Return values
void

dataForTestDisabledInstallers()

dataForTestDisabledInstallers

public dataForTestDisabledInstallers() : array<string|int, mixed>
Return values
array<string|int, mixed>

dataForTestInstallPath()

dataFormTestInstallPath

public dataForTestInstallPath() : mixed
Return values
mixed

dataForTestSupport()

dataForTestSupport

public dataForTestSupport() : mixed
Return values
mixed

setExpectedException()

public setExpectedException(string $exception[, string|null $message = null ][, int|null $code = null ]) : void
Parameters
$exception : string
$message : string|null = null
$code : int|null = null
Return values
void

tearDown()

tearDown

public tearDown() : void
Return values
void

testCustomInstallerName()

testCustomInstallerName

public testCustomInstallerName() : mixed
Return values
mixed

testCustomInstallPath()

testCustomInstallPath

public testCustomInstallPath() : mixed
Return values
mixed

testCustomTypePath()

testCustomTypePath

public testCustomTypePath() : mixed
Return values
mixed

testDisabledInstallers()

testDisabledInstallers

public testDisabledInstallers(mixed $disabled, mixed $type, mixed $expected) : mixed
Parameters
$disabled : mixed
$type : mixed
$expected : mixed
Tags
dataProvider

dataForTestDisabledInstallers

Return values
mixed

testGetCakePHPInstallPathException()

testGetCakePHPInstallPathException

public testGetCakePHPInstallPathException() : void
Return values
void

testInstallPath()

testInstallPath

public testInstallPath(mixed $type, mixed $path, mixed $name[, mixed $version = '1.0.0' ]) : mixed
Parameters
$type : mixed
$path : mixed
$name : mixed
$version : mixed = '1.0.0'
Tags
dataProvider

dataForTestInstallPath

Return values
mixed

testNoVendorName()

testNoVendorName

public testNoVendorName() : mixed
Return values
mixed

testStringPath()

testStringPath

public testStringPath() : mixed
Return values
mixed

testSupports()

testSupports

public testSupports(mixed $type, mixed $expected) : void
Parameters
$type : mixed
$expected : mixed
Tags
dataProvider

dataForTestSupport

Return values
void

testTypo3Inflection()

testTypo3Inflection

public testTypo3Inflection() : mixed
Return values
mixed

testUninstallAndDeletePackageFromLocalRepo()

public testUninstallAndDeletePackageFromLocalRepo() : mixed
Return values
mixed

testVendorPath()

testVendorPath

public testVendorPath() : mixed
Return values
mixed

ensureDirectoryExistsAndClear()

protected ensureDirectoryExistsAndClear(mixed $directory) : mixed
Parameters
$directory : mixed
Return values
mixed

getAliasPackage()

protected getAliasPackage(mixed $package, mixed $version) : mixed
Parameters
$package : mixed
$version : mixed
Return values
mixed

getPackage()

protected getPackage(mixed $name, mixed $version) : mixed
Parameters
$name : mixed
$version : mixed
Return values
mixed

getVersionConstraint()

protected getVersionConstraint(mixed $operator, mixed $version) : mixed
Parameters
$operator : mixed
$version : mixed
Return values
mixed

getVersionParser()

protected static getVersionParser() : mixed
Return values
mixed

Search results