\JKeychainTest
Tests for the Joomla Platform Keychain Class
Synopsis
class JKeychainTest
extends PHPUnit_Framework_TestCase
{
- // methods
- public static void setUpBeforeClass()
- public static void tearDownAfterClass()
- public void testLoadCLIKeychain()
- public void testCreatePassphraseFile()
- public void testLoadKeychainNonexistant()
- public void testLoadKeychainInvalid()
- public void testSaveKeychain()
- public void testLoadKeychain()
- public void testDeleteValue()
Hierarchy
Extends
Methods
public
- setUpBeforeClass() — Set up the system by ensuring some files aren't there.
- tearDownAfterClass() — Clean up afterwards.
- testCreatePassphraseFile() — Test trying to create a new passphrase file
- testDeleteValue() — Delete a value from the keychain
- testLoadCLIKeychain() — Test loading a file created in the CLI client (Joomla! Platform)
- testLoadKeychain() — Load a keychain file we just created
- testLoadKeychainInvalid() — Try to load a keychain that isn't a keychain
- testLoadKeychainNonexistant() — Try to load a keychain that liaosn't exist (this shouldn't cause an error)
- testSaveKeychain() — Create a new keychain and persist it to a new file.