TestClassInputVariableReaderParser
extends WP_UnitTest_Localized
in package
Table of Contents
- $_localeSwitched : bool
- $_pInstance : InputVariableReaderParser
- prepare() : mixed
- set_up() : mixed
- set_up_before_class() : mixed
- tear_down() : mixed
- tear_down_after_class() : mixed
- testInstance() : mixed
- testParseBool() : mixed
- testParseDate() : mixed
- covers \onOffice\WPlugin\Controller\InputVariableReaderParser::parseValue covers \onOffice\WPlugin\Controller\InputVariableReaderParser::parseDate
- testParseFloat() : mixed
- covers \onOffice\WPlugin\Controller\InputVariableReaderParser::parseFloat covers \onOffice\WPlugin\Controller\InputVariableReaderParser::parseValue
- testParseValueArray() : mixed
- switchLocale() : mixed
Properties
$_localeSwitched
private
bool
$_localeSwitched
= false
$_pInstance
private
InputVariableReaderParser
$_pInstance
Methods
prepare()
public
prepare() : mixed
Tags
Return values
mixed —set_up()
public
set_up() : mixed
Return values
mixed —set_up_before_class()
public
static set_up_before_class() : mixed
Return values
mixed —tear_down()
public
tear_down() : mixed
Return values
mixed —tear_down_after_class()
public
static tear_down_after_class() : mixed
Return values
mixed —testInstance()
public
testInstance() : mixed
Return values
mixed —testParseBool()
public
testParseBool() : mixed
Tags
Return values
mixed —testParseDate()
covers \onOffice\WPlugin\Controller\InputVariableReaderParser::parseValue covers \onOffice\WPlugin\Controller\InputVariableReaderParser::parseDate
public
testParseDate() : mixed
Return values
mixed —testParseFloat()
covers \onOffice\WPlugin\Controller\InputVariableReaderParser::parseFloat covers \onOffice\WPlugin\Controller\InputVariableReaderParser::parseValue
public
testParseFloat() : mixed
Return values
mixed —testParseValueArray()
public
testParseValueArray() : mixed
Tags
Return values
mixed —switchLocale()
protected
switchLocale(string $newLocale) : mixed
Parameters
- $newLocale : string