Documentation

DocumentTest extends PHPUnit_Framework_TestCase
in package

Test the parsing of a JSON-LD document into a Document.

Tags
author

Markus Lanthaler mail@markus-lanthaler.com

Table of Contents

Properties

$document  : Document
The document instance being used throughout the tests.

Methods

testContainsGraph()  : mixed
Tests whether all nodes also have the correct reverse links.
testGetGraphNames()  : mixed
Tests whether all nodes are interlinked correctly.
testGetIri()  : mixed
Tests whether all nodes are returned and blank nodes are renamed accordingly.
testRemoveGraph()  : mixed
Tests isBlankNode()
setUp()  : mixed
Create the document to test.

Properties

Methods

testContainsGraph()

Tests whether all nodes also have the correct reverse links.

public testContainsGraph() : mixed

testGetGraphNames()

Tests whether all nodes are interlinked correctly.

public testGetGraphNames() : mixed

testGetIri()

Tests whether all nodes are returned and blank nodes are renamed accordingly.

public testGetIri() : mixed

testRemoveGraph()

Tests isBlankNode()

public testRemoveGraph() : mixed

setUp()

Create the document to test.

protected setUp() : mixed

        
On this page

Search results