PHP Class Phue\Test\ClientTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: sqmk/phue

Public Methods

Method Description
setUp ( ) Set up
testGetBridge ( ) Test: Get bridge
testGetGroups ( ) Test: Get groups
testGetHost ( ) Test: Get host
testGetLights ( ) Test: Get lights
testGetRules ( ) Test: Get rules
testGetScenes ( ) Test: Get scenes
testGetSchedules ( ) Test: Get schedules
testGetSensors ( ) Test: Get sensors
testGetSetUsername ( ) Test: Setting non-hashed username
testGetTimezones ( ) Test: Get timezones
testGetUsers ( ) Test: Get users
testInstantiateDefaultTransport ( ) Test: Not passing in Transport dependency will yield default
testPassingTransportDependency ( ) Test: Passing custom Transport to client
testSendCommand ( ) Test: Sending a command

Method Details

setUp() public method

Set up
public setUp ( )

testGetBridge() public method

Test: Get bridge
public testGetBridge ( )

testGetGroups() public method

Test: Get groups
public testGetGroups ( )

testGetHost() public method

Test: Get host
public testGetHost ( )

testGetLights() public method

Test: Get lights
public testGetLights ( )

testGetRules() public method

Test: Get rules
public testGetRules ( )

testGetScenes() public method

Test: Get scenes
public testGetScenes ( )

testGetSchedules() public method

Test: Get schedules
public testGetSchedules ( )

testGetSensors() public method

Test: Get sensors
public testGetSensors ( )

testGetSetUsername() public method

Test: Setting non-hashed username
public testGetSetUsername ( )

testGetTimezones() public method

Test: Get timezones
public testGetTimezones ( )

testGetUsers() public method

Test: Get users
public testGetUsers ( )

testInstantiateDefaultTransport() public method

Test: Not passing in Transport dependency will yield default

testPassingTransportDependency() public method

Test: Passing custom Transport to client

testSendCommand() public method

Test: Sending a command
public testSendCommand ( )