Documentation
¶
Overview ¶
Package domtest provides test helpers that parse HTML into spec types.
Index ¶
- func ParseReaderDocument(t TestingT, r io.Reader) spec.Document
- func ParseReaderDocumentFragment(t TestingT, r io.Reader, parent atom.Atom) spec.DocumentFragment
- func ParseResponseDocument(t TestingT, res *http.Response) spec.Document
- func ParseResponseDocumentFragment(t TestingT, res *http.Response, parent atom.Atom) spec.DocumentFragment
- func ParseStringDocument(t TestingT, s string) spec.Document
- func ParseStringDocumentFragment(t TestingT, in string, parent atom.Atom) spec.DocumentFragment
- type TestingT
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseResponseDocument ¶
func ParseStringDocumentFragment ¶ added in v0.7.0
Types ¶
Click to show internal directories.
Click to hide internal directories.