TYPO3 CMS
TYPO3_6-2
Main Page
Related Pages
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
+
Files
File List
+
File Members
+
All
$
(
_
a
c
d
e
f
h
i
l
o
p
r
s
t
u
x
+
Functions
_
a
c
d
e
f
i
l
o
p
r
s
u
x
+
Variables
$
(
_
a
d
e
h
i
p
r
s
t
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Pages
PhpBackendTest.php
Go to the documentation of this file.
1
<?php
2
namespace
TYPO3\CMS\Rsaauth\Tests\Unit\Backend
;
3
17
use
TYPO3\CMS\Rsaauth\Backend\PhpBackend
;
18
24
class
PhpBackendTest
extends
\TYPO3\CMS\Core\Tests\UnitTestCase
{
28
protected
$subject
= NULL;
29
30
public
function
setUp
() {
31
$this->subject =
new
PhpBackend
();
32
}
33
37
public
function
createNewKeyPairCreatesReadyKeyPair
() {
38
$keyPair = $this->subject->createNewKeyPair();
39
$this->assertNotNull($keyPair,
'Test fails because of broken environment: PHP OpenSSL extension is not working properly.'
);
40
$this->assertTrue($keyPair->isReady());
41
}
42
46
public
function
createNewKeyPairCalledTwoTimesReturnsSameKeyPairInstance
() {
47
$keyPair1 = $this->subject->createNewKeyPair();
48
$this->assertNotNull($keyPair1,
'Test fails because of broken environment: PHP OpenSSL extension is not working properly.'
);
49
$this->assertSame(
50
$keyPair1,
51
$this->subject->createNewKeyPair()
52
);
53
}
54
55
}
TYPO3\CMS\Rsaauth\Tests\Unit\Backend\PhpBackendTest\$subject
$subject
Definition:
PhpBackendTest.php:28
TYPO3\CMS\Rsaauth\Tests\Unit\Backend\PhpBackendTest\createNewKeyPairCalledTwoTimesReturnsSameKeyPairInstance
createNewKeyPairCalledTwoTimesReturnsSameKeyPairInstance()
Definition:
PhpBackendTest.php:46
PhpBackend
TYPO3\CMS\Rsaauth\Tests\Unit\Backend\PhpBackendTest\setUp
setUp()
Definition:
PhpBackendTest.php:30
TYPO3\CMS\Rsaauth\Backend\PhpBackend
Definition:
PhpBackend.php:24
TYPO3\CMS\Rsaauth\Tests\Unit\Backend
Definition:
CommandLineBackendTest.php:2
TYPO3\CMS\Rsaauth\Tests\Unit\Backend\PhpBackendTest\createNewKeyPairCreatesReadyKeyPair
createNewKeyPairCreatesReadyKeyPair()
Definition:
PhpBackendTest.php:37
TYPO3\CMS\Core\Tests\UnitTestCase
Definition:
UnitTestCase.php:26
TYPO3\CMS\Rsaauth\Tests\Unit\Backend\PhpBackendTest
Definition:
PhpBackendTest.php:24
typo3
sysext
rsaauth
Tests
Unit
Backend
PhpBackendTest.php
Generated on Wed Aug 7 2019 09:52:30 for TYPO3 CMS by
1.8.13