PHP Class Phue\Test\LightTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: sqmk/phue

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
stubMockClientSendSetLightStateCommand ( ) Stub mock client's send command

Method Details

setUp() public méthode

Set up
public setUp ( )

stubMockClientSendSetLightStateCommand() protected méthode

Stub mock client's send command

testGetColormode() public méthode

Test: Get color mode
public testGetColormode ( )

testGetColormodeMissing() public méthode

Test: Get color mode (missing)

testGetId() public méthode

Test: Getting Id
public testGetId ( )

testGetModel() public méthode

Test: Get model
public testGetModel ( )

testGetModelId() public méthode

Test: Get model Id
public testGetModelId ( )

testGetName() public méthode

Test: Getting name
public testGetName ( )

testGetSetAlert() public méthode

Test: Get/Set alert
public testGetSetAlert ( )

testGetSetBrightness() public méthode

Test: Get/Set brightness

testGetSetColorTemp() public méthode

Test: Get/Set Color temp
public testGetSetColorTemp ( )

testGetSetEffect() public méthode

Test: Get/Set effect
public testGetSetEffect ( )

testGetSetHue() public méthode

Test: Get/Set hue
public testGetSetHue ( )

testGetSetRGB() public méthode

Test: Get/Set RGB
public testGetSetRGB ( )

testGetSetSaturation() public méthode

Test: Get/Set saturation

testGetSetXY() public méthode

Test: Get/Set XY
public testGetSetXY ( )

testGetSoftwareVersion() public méthode

Test: Get software version

testGetType() public méthode

Test: Get type
public testGetType ( )

testGetUniqueId() public méthode

Test: Get unique id
public testGetUniqueId ( )

testIsReachable() public méthode

Test: Is reachable
public testIsReachable ( )

testIsSetOn() public méthode

Test: Is/Set on
public testIsSetOn ( )

testSetName() public méthode

Test: Setting name
public testSetName ( )

testToString() public méthode

Test: toString
public testToString ( )