PHP Class Phue\Test\LightTest

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

Public Methods

Method Description
setUp ( ) Set up
testGetColormode ( ) Test: Get color mode
testGetColormodeMissing ( ) Test: Get color mode (missing)
testGetId ( ) Test: Getting Id
testGetModel ( ) Test: Get model
testGetModelId ( ) Test: Get model Id
testGetName ( ) Test: Getting name
testGetSetAlert ( ) Test: Get/Set alert
testGetSetBrightness ( ) Test: Get/Set brightness
testGetSetColorTemp ( ) Test: Get/Set Color temp
testGetSetEffect ( ) Test: Get/Set effect
testGetSetHue ( ) Test: Get/Set hue
testGetSetRGB ( ) Test: Get/Set RGB
testGetSetSaturation ( ) Test: Get/Set saturation
testGetSetXY ( ) Test: Get/Set XY
testGetSoftwareVersion ( ) Test: Get software version
testGetType ( ) Test: Get type
testGetUniqueId ( ) Test: Get unique id
testIsReachable ( ) Test: Is reachable
testIsSetOn ( ) Test: Is/Set on
testSetName ( ) Test: Setting name
testToString ( ) Test: toString

Protected Methods

Method Description
stubMockClientSendSetLightStateCommand ( ) Stub mock client's send command

Method Details

setUp() public method

Set up
public setUp ( )

stubMockClientSendSetLightStateCommand() protected method

Stub mock client's send command

testGetColormode() public method

Test: Get color mode
public testGetColormode ( )

testGetColormodeMissing() public method

Test: Get color mode (missing)

testGetId() public method

Test: Getting Id
public testGetId ( )

testGetModel() public method

Test: Get model
public testGetModel ( )

testGetModelId() public method

Test: Get model Id
public testGetModelId ( )

testGetName() public method

Test: Getting name
public testGetName ( )

testGetSetAlert() public method

Test: Get/Set alert
public testGetSetAlert ( )

testGetSetBrightness() public method

Test: Get/Set brightness

testGetSetColorTemp() public method

Test: Get/Set Color temp
public testGetSetColorTemp ( )

testGetSetEffect() public method

Test: Get/Set effect
public testGetSetEffect ( )

testGetSetHue() public method

Test: Get/Set hue
public testGetSetHue ( )

testGetSetRGB() public method

Test: Get/Set RGB
public testGetSetRGB ( )

testGetSetSaturation() public method

Test: Get/Set saturation

testGetSetXY() public method

Test: Get/Set XY
public testGetSetXY ( )

testGetSoftwareVersion() public method

Test: Get software version

testGetType() public method

Test: Get type
public testGetType ( )

testGetUniqueId() public method

Test: Get unique id
public testGetUniqueId ( )

testIsReachable() public method

Test: Is reachable
public testIsReachable ( )

testIsSetOn() public method

Test: Is/Set on
public testIsSetOn ( )

testSetName() public method

Test: Setting name
public testSetName ( )

testToString() public method

Test: toString
public testToString ( )