PHP Class SimpleSAML\Test\Web\IndexTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: simplesamlphp/simplesamlphp

Protected Properties

Property Type Description
$server SimpleSAML\Test\BuiltInServer
$server_addr string
$server_pid integer
$shared_file string

Public Methods

Method Description
testRedirection ( ) A simple test to make sure the index.php file redirects appropriately to the right URL.

Protected Methods

Method Description
setup ( ) The setup method that is run before any tests in this class.
tearDown ( ) The tear down method that is executed after all tests in this class.
updateConfig ( $config )

Method Details

setup() protected method

The setup method that is run before any tests in this class.
protected setup ( )

tearDown() protected method

The tear down method that is executed after all tests in this class.
protected tearDown ( )

testRedirection() public method

A simple test to make sure the index.php file redirects appropriately to the right URL.
public testRedirection ( )

updateConfig() protected method

protected updateConfig ( $config )

Property Details

$server protected property

protected BuiltInServer,SimpleSAML\Test $server
return SimpleSAML\Test\BuiltInServer

$server_addr protected property

protected string $server_addr
return string

$server_pid protected property

protected int $server_pid
return integer

$shared_file protected property

protected string $shared_file
return string