PHP Class Phue\Test\GroupTest

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

Public Methods

Method Description
setUp ( ) Set up
testDelete ( ) Test: Delete
testGetColormode ( ) Test: Get color mode
testGetId ( ) Test: Getting Id
testGetLightIds ( ) Test: Get light ids
testGetName ( ) Test: Getting name
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
testGetType ( ) Test: Get type
testIsSetOn ( ) Test: Is/Set on
testSetLights ( ) Test: Set lights
testSetName ( ) Test: Setting name
testSetScene ( ) Test: Set scene
testToString ( ) Test: toString

Protected Methods

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

Method Details

setUp() public method

Set up
public setUp ( )

stubMockClientSendSetGroupStateCommand() protected method

Stub mock client's send command

testDelete() public method

Test: Delete
public testDelete ( )

testGetColormode() public method

Test: Get color mode
public testGetColormode ( )

testGetId() public method

Test: Getting Id
public testGetId ( )

testGetLightIds() public method

Test: Get light ids
public testGetLightIds ( )

testGetName() public method

Test: Getting name
public testGetName ( )

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 ( )

testGetType() public method

Test: Get type
public testGetType ( )

testIsSetOn() public method

Test: Is/Set on
public testIsSetOn ( )

testSetLights() public method

Test: Set lights
public testSetLights ( )

testSetName() public method

Test: Setting name
public testSetName ( )

testSetScene() public method

Test: Set scene
public testSetScene ( )

testToString() public method

Test: toString
public testToString ( )