PHP Class PhilippBaschke\ACFProInstaller\Test\PluginTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: philippbaschke/acf-pro-installer

Méthodes publiques

Méthode Description
testActivateMakesComposerAndIOAvailable ( )
testAddKeyCreatesCustomFilesystemWithOldValues ( )
testAddKeyFromDotEnv ( )
testAddKeyFromENV ( )
testAddVersionOnInstall ( )
testAddVersionOnUpdate ( )
testDontAddVersionOnOtherPackages ( )
testDontAddVersionTwice ( )
testExactVersionWith1DigitsFailsValidation ( )
testExactVersionWith2DigitsFailsValidation ( )
testExactVersionWith3DigitsPassesValidation ( )
testExactVersionWith4DigitsPassesValidation ( )
testExactVersionWithPatchDoubleDigitsPassesValidation ( )
testImplementsEventSubscriberInterface ( )
testImplementsPluginInterface ( )
testOnlyAddKeyOnAcfUrl ( )
testPreferKeyFromEnv ( )
testReplaceVersionInUrl ( )
testSubscribesToPreFileDownloadEvent ( )
testSubscribesToPrePackageInstallEvent ( )
testSubscribesToPreUpdateInstallEvent ( )
testThrowExceptionWhenKeyIsMissing ( )

Méthodes protégées

Méthode Description
tearDown ( )
versionFailsValidationHelper ( $version )
versionPassesValidationHelper ( $version )

Method Details

tearDown() protected méthode

protected tearDown ( )

testActivateMakesComposerAndIOAvailable() public méthode

testAddKeyCreatesCustomFilesystemWithOldValues() public méthode

testAddKeyFromDotEnv() public méthode

testAddKeyFromENV() public méthode

public testAddKeyFromENV ( )

testAddVersionOnInstall() public méthode

testAddVersionOnUpdate() public méthode

testDontAddVersionOnOtherPackages() public méthode

testDontAddVersionTwice() public méthode

testExactVersionWith1DigitsFailsValidation() public méthode

testExactVersionWith2DigitsFailsValidation() public méthode

testExactVersionWith3DigitsPassesValidation() public méthode

testExactVersionWith4DigitsPassesValidation() public méthode

testExactVersionWithPatchDoubleDigitsPassesValidation() public méthode

testImplementsEventSubscriberInterface() public méthode

testImplementsPluginInterface() public méthode

testOnlyAddKeyOnAcfUrl() public méthode

testPreferKeyFromEnv() public méthode

testReplaceVersionInUrl() public méthode

testSubscribesToPreFileDownloadEvent() public méthode

testSubscribesToPrePackageInstallEvent() public méthode

testSubscribesToPreUpdateInstallEvent() public méthode

testThrowExceptionWhenKeyIsMissing() public méthode

versionFailsValidationHelper() protected méthode

protected versionFailsValidationHelper ( $version )

versionPassesValidationHelper() protected méthode

protected versionPassesValidationHelper ( $version )