Property | Type | Description | |
---|---|---|---|
$button | PeriscopeOnAir object initialized to 'twitter' screen_name before each test |
Method | Description | |
---|---|---|
setUp ( ) : void | Initialize a PeriscopeOnAir object before each test | |
sizeProvider ( ) : array | Test sizes | |
testGetUsername ( ) : void | Test getting username | |
testSetSize ( string $size, boolean $expected_valid, string $message = '' ) : void | Test setting button size | |
testsetSizeFromOptionsArray ( string $size, boolean $expected_valid, string $message = '' ) : void | Test setting size from an options array |
Method | Description | |
---|---|---|
optionsArraySetUp ( ) : array | Create a new array with the base required values expected by the ::fromArray constructor | |
setSizeResult ( string $size, boolean $expected_valid, string $message = '' ) : void | Test if hide screen name was successfully set |
protected static optionsArraySetUp ( ) : array | ||
return | array | options array { @type string key @type string screen_name } |
public static sizeProvider ( ) : array | ||
return | array | sizes to test { @type array size string, expected validity, message } |