Documentation

NQuadsTest extends PHPUnit_Framework_TestCase
in package

Tests NQuads

Tags
author

Markus Lanthaler mail@markus-lanthaler.com

Table of Contents

Methods

testEscaping()  : mixed
Tests escaping
testInvalidParse()  : mixed
Tests that parsing an invalid NQuad file fails
testParseBlankNodeDashAtTheBeginning()  : mixed
Tests that parsing fails for blank node labels beginning with "-"
testParseBlankNodePeriodAtTheBeginning()  : mixed
Tests that parsing fails for blank node labels beginning with "."
testParseBlankNodePeriodAtTheEnd()  : mixed
Tests that parsing fails for blank node labels ending with "."
testParseBlankNodes()  : mixed
Tests blank node label parsing

Methods

testEscaping()

Tests escaping

public testEscaping() : mixed

testInvalidParse()

Tests that parsing an invalid NQuad file fails

public testInvalidParse() : mixed
Tags
expectedException

\ML\JsonLD\Exception\InvalidQuadException

testParseBlankNodeDashAtTheBeginning()

Tests that parsing fails for blank node labels beginning with "-"

public testParseBlankNodeDashAtTheBeginning() : mixed
Tags
expectedException

\ML\JsonLD\Exception\InvalidQuadException

testParseBlankNodePeriodAtTheBeginning()

Tests that parsing fails for blank node labels beginning with "."

public testParseBlankNodePeriodAtTheBeginning() : mixed
Tags
expectedException

\ML\JsonLD\Exception\InvalidQuadException

testParseBlankNodePeriodAtTheEnd()

Tests that parsing fails for blank node labels ending with "."

public testParseBlankNodePeriodAtTheEnd() : mixed
Tags
expectedException

\ML\JsonLD\Exception\InvalidQuadException

testParseBlankNodes()

Tests blank node label parsing

public testParseBlankNodes() : mixed

        
On this page

Search results