TYPO3 CMS  TYPO3_7-6
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

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

Protected Member Functions

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

Protected Attributes

 $subject = null
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\UnitTestCase
 $backupGlobalsBlacklist = ['TYPO3_LOADED_EXT']
 
 $testFilesToDelete = []
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Test case.

Definition at line 22 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 48 of file KeypairTest.php.

◆ getPrivateKeyInitiallyReturnsEmptyString()

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

Definition at line 83 of file KeypairTest.php.

◆ getPublicKeyModulusInitiallyReturnsZero()

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

Definition at line 118 of file KeypairTest.php.

◆ isReadyForExponentMissingAndPrivateKeySetAndPublicKeyModulusSetReturnsFalse()

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

Definition at line 203 of file KeypairTest.php.

◆ isReadyForExponentSetAndPrivateKeySetAndPublicKeyModulusMissingReturnsFalse()

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

Definition at line 177 of file KeypairTest.php.

◆ isReadyForExponentSetAndPrivateKeySetAndPublicKeyModulusSetReturnsTrue()

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

Definition at line 153 of file KeypairTest.php.

◆ isReadyForExponentSetAndPrivateMissingSetAndPublicKeyModulusSetReturnsFalse()

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

Definition at line 190 of file KeypairTest.php.

◆ isReadyForNothingSetReturnsFalse()

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

Definition at line 167 of file KeypairTest.php.

◆ setExponentCalledTwoTimesThrowsException()

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

Definition at line 74 of file KeypairTest.php.

◆ setExponentSetsExponent()

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

Definition at line 59 of file KeypairTest.php.

◆ setPrivateKeyCalledTwoTimesThrowsException()

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

Definition at line 109 of file KeypairTest.php.

◆ setPrivateKeySetsPrivateKey()

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

Definition at line 94 of file KeypairTest.php.

◆ setPublicKeyCalledTwoTimesThrowsException()

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

Definition at line 144 of file KeypairTest.php.

◆ setPublicKeySetsPublicKeyModulus()

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

Definition at line 129 of file KeypairTest.php.

◆ setUp()

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

Definition at line 29 of file KeypairTest.php.

Member Data Documentation

◆ $subject

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

Definition at line 27 of file KeypairTest.php.