DocumentTest
extends PHPUnit_Framework_TestCase
in package
Test the parsing of a JSON-LD document into a Document.
Tags
Table of Contents
Properties
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
$document
The document instance being used throughout the tests.
protected
Document
$document
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