TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Rsaauth\Tests\Unit\KeypairTest Class Reference
Inheritance diagram for TYPO3\CMS\Rsaauth\Tests\Unit\KeypairTest:
TYPO3\CMS\Core\Tests\UnitTestCase TYPO3\CMS\Core\Tests\BaseTestCase

Public Member Functions

 setUp ()
 
 classIsSingleton ()
 
 getExponentInitiallyReturnsZero ()
 
 setExponentSetsExponent ()
 
 setExponentCalledTwoTimesThrowsException ()
 
 getPrivateKeyInitiallyReturnsEmptyString ()
 
 setPrivateKeySetsPrivateKey ()
 
 setPrivateKeyCalledTwoTimesThrowsException ()
 
 getPublicKeyModulusInitiallyReturnsZero ()
 
 setPublicKeySetsPublicKeyModulus ()
 
 setPublicKeyCalledTwoTimesThrowsException ()
 
 isReadyForExponentSetAndPrivateKeySetAndPublicKeyModulusSetReturnsTrue ()
 
 isReadyForNothingSetReturnsFalse ()
 
 isReadyForExponentSetAndPrivateKeySetAndPublicKeyModulusMissingReturnsFalse ()
 
 isReadyForExponentSetAndPrivateMissingSetAndPublicKeyModulusSetReturnsFalse ()
 
 isReadyForExponentMissingAndPrivateKeySetAndPublicKeyModulusSetReturnsFalse ()
 

Protected Attributes

 $subject = NULL
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\UnitTestCase
 $backupGlobalsBlacklist = array('TYPO3_LOADED_EXT')
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\BaseTestCase
 $backupGlobals = TRUE
 
 $backupStaticAttributes = FALSE
 

Additional Inherited Members

- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\UnitTestCase
 tearDown ()
 
- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\BaseTestCase
 getAccessibleMock ( $originalClassName, array $methods=array(), array $arguments=array(), $mockClassName='', $callOriginalConstructor=TRUE, $callOriginalClone=TRUE, $callAutoload=TRUE)
 
 getAccessibleMockForAbstractClass ( $originalClassName, array $arguments=array(), $mockClassName='', $callOriginalConstructor=TRUE, $callOriginalClone=TRUE, $callAutoload=TRUE)
 
 buildAccessibleProxy ($className)
 
 callInaccessibleMethod ($object, $name)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix='')
 

Detailed Description

Test case.

Author
Oliver Klee typo3.nosp@m.-cod.nosp@m.ing@o.nosp@m.live.nosp@m.rklee.nosp@m..de

Definition at line 24 of file KeypairTest.php.

Member Function Documentation

◆ classIsSingleton()

TYPO3\CMS\Rsaauth\Tests\Unit\KeypairTest::classIsSingleton ( )
Test:

Definition at line 37 of file KeypairTest.php.

◆ getExponentInitiallyReturnsZero()

TYPO3\CMS\Rsaauth\Tests\Unit\KeypairTest::getExponentInitiallyReturnsZero ( )
Test:

Definition at line 47 of file KeypairTest.php.

◆ getPrivateKeyInitiallyReturnsEmptyString()

TYPO3\CMS\Rsaauth\Tests\Unit\KeypairTest::getPrivateKeyInitiallyReturnsEmptyString ( )
Test:

Definition at line 79 of file KeypairTest.php.

◆ getPublicKeyModulusInitiallyReturnsZero()

TYPO3\CMS\Rsaauth\Tests\Unit\KeypairTest::getPublicKeyModulusInitiallyReturnsZero ( )
Test:

Definition at line 111 of file KeypairTest.php.

◆ isReadyForExponentMissingAndPrivateKeySetAndPublicKeyModulusSetReturnsFalse()

TYPO3\CMS\Rsaauth\Tests\Unit\KeypairTest::isReadyForExponentMissingAndPrivateKeySetAndPublicKeyModulusSetReturnsFalse ( )
Test:

Definition at line 189 of file KeypairTest.php.

◆ isReadyForExponentSetAndPrivateKeySetAndPublicKeyModulusMissingReturnsFalse()

TYPO3\CMS\Rsaauth\Tests\Unit\KeypairTest::isReadyForExponentSetAndPrivateKeySetAndPublicKeyModulusMissingReturnsFalse ( )
Test:

Definition at line 165 of file KeypairTest.php.

◆ isReadyForExponentSetAndPrivateKeySetAndPublicKeyModulusSetReturnsTrue()

TYPO3\CMS\Rsaauth\Tests\Unit\KeypairTest::isReadyForExponentSetAndPrivateKeySetAndPublicKeyModulusSetReturnsTrue ( )
Test:

Definition at line 143 of file KeypairTest.php.

◆ isReadyForExponentSetAndPrivateMissingSetAndPublicKeyModulusSetReturnsFalse()

TYPO3\CMS\Rsaauth\Tests\Unit\KeypairTest::isReadyForExponentSetAndPrivateMissingSetAndPublicKeyModulusSetReturnsFalse ( )
Test:

Definition at line 177 of file KeypairTest.php.

◆ isReadyForNothingSetReturnsFalse()

TYPO3\CMS\Rsaauth\Tests\Unit\KeypairTest::isReadyForNothingSetReturnsFalse ( )
Test:

Definition at line 156 of file KeypairTest.php.

◆ setExponentCalledTwoTimesThrowsException()

TYPO3\CMS\Rsaauth\Tests\Unit\KeypairTest::setExponentCalledTwoTimesThrowsException ( )
Test:

Definition at line 71 of file KeypairTest.php.

◆ setExponentSetsExponent()

TYPO3\CMS\Rsaauth\Tests\Unit\KeypairTest::setExponentSetsExponent ( )
Test:

Definition at line 57 of file KeypairTest.php.

◆ setPrivateKeyCalledTwoTimesThrowsException()

TYPO3\CMS\Rsaauth\Tests\Unit\KeypairTest::setPrivateKeyCalledTwoTimesThrowsException ( )
Test:

Definition at line 103 of file KeypairTest.php.

◆ setPrivateKeySetsPrivateKey()

TYPO3\CMS\Rsaauth\Tests\Unit\KeypairTest::setPrivateKeySetsPrivateKey ( )
Test:

Definition at line 89 of file KeypairTest.php.

◆ setPublicKeyCalledTwoTimesThrowsException()

TYPO3\CMS\Rsaauth\Tests\Unit\KeypairTest::setPublicKeyCalledTwoTimesThrowsException ( )
Test:

Definition at line 135 of file KeypairTest.php.

◆ setPublicKeySetsPublicKeyModulus()

TYPO3\CMS\Rsaauth\Tests\Unit\KeypairTest::setPublicKeySetsPublicKeyModulus ( )
Test:

Definition at line 121 of file KeypairTest.php.

◆ setUp()

TYPO3\CMS\Rsaauth\Tests\Unit\KeypairTest::setUp ( )

Definition at line 30 of file KeypairTest.php.

Member Data Documentation

◆ $subject

TYPO3\CMS\Rsaauth\Tests\Unit\KeypairTest::$subject = NULL
protected

Definition at line 28 of file KeypairTest.php.