Documentation

ValueTest extends PHPUnit_Framework_TestCase
in package

Test LanguageTaggedString and TypedValue

Tags
author

Markus Lanthaler mail@markus-lanthaler.com

Table of Contents

Methods

testEquals()  : mixed
Tests TypedValue with an invalid type
testLanguageTaggedString()  : mixed
Tests LanguageTaggedString
testLanguageTaggedStringInvalidLanguage()  : mixed
Tests LanguageTaggedString with an invalid language
testLanguageTaggedStringInvalidValue()  : mixed
Tests LanguageTaggedString with an invalid value
testTypedValue()  : mixed
Tests TypedValue
testTypedValueInvalidLanguage()  : mixed
Tests TypedValue with an invalid type
testTypedValueInvalidValue()  : mixed
Tests TypedValue with an invalid value

Methods

testEquals()

Tests TypedValue with an invalid type

public testEquals() : mixed

testLanguageTaggedString()

Tests LanguageTaggedString

public testLanguageTaggedString() : mixed

testLanguageTaggedStringInvalidLanguage()

Tests LanguageTaggedString with an invalid language

public testLanguageTaggedStringInvalidLanguage() : mixed
Tags
expectedException

\InvalidArgumentException

testLanguageTaggedStringInvalidValue()

Tests LanguageTaggedString with an invalid value

public testLanguageTaggedStringInvalidValue() : mixed
Tags
expectedException

\InvalidArgumentException

testTypedValue()

Tests TypedValue

public testTypedValue() : mixed

testTypedValueInvalidLanguage()

Tests TypedValue with an invalid type

public testTypedValueInvalidLanguage() : mixed
Tags
expectedException

\InvalidArgumentException

testTypedValueInvalidValue()

Tests TypedValue with an invalid value

public testTypedValueInvalidValue() : mixed
Tags
expectedException

\InvalidArgumentException


        
On this page

Search results