Home Reference Source Test Repository

Test

Description Identifier Count

should export Builder class

Builder

should export Parser class

Parser

should export parse function

parse

should export build function

build

should fail without document

-

should fail with non-document passed

-

should fail without document element

-

should forward parser errors

-

should fail with second root element

-

should return document instance if everything worked

-

should return null

-

should result in a node

-

should not inherit parent

-

should return empty string for empty node

-

should return child nodes' text content

-

should return text content

-