PHP Class Trianglman\Sqrl\Tests\SqrlStoreStatelessAbstractTest

Author: johnj
Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: trianglman/sqrl

Protected Properties

Property Type Description
$testStub

Public Methods

Method Description
setup ( )
testGeneratesAndReadsNewNut ( )
testGeneratesAndReadsNewNutDoesntCreateNewIfOneExists ( $nut )
testGeneratesAndReadsSecondLoopNut ( $nut )
testGeneratesAndReadsSecondLoopNutBadOldNut ( $nut )
testLogsSessionIn ( $nut )
testRejectsBadNut ( )
testRejectsNutNotFromSession ( $nut )
testRejectsNutNotNewestInSession ( $nut )
testRejectsUnknownNut ( $nut )

Method Details

setup() public method

public setup ( )

testGeneratesAndReadsNewNut() public method

testGeneratesAndReadsNewNutDoesntCreateNewIfOneExists() public method

testGeneratesAndReadsSecondLoopNut() public method

testGeneratesAndReadsSecondLoopNutBadOldNut() public method

testLogsSessionIn() public method

public testLogsSessionIn ( $nut )

testRejectsBadNut() public method

public testRejectsBadNut ( )

testRejectsNutNotFromSession() public method

testRejectsNutNotNewestInSession() public method

testRejectsUnknownNut() public method

public testRejectsUnknownNut ( $nut )

Property Details

$testStub protected property

protected $testStub