dyaml.testemitter

Undocumented in source.

Members

Functions

compareEvents
bool compareEvents(Event[] events1, Event[] events2)

Determine if events in events1 are equivalent to events in events2.

testEmitterOnCanonical
void testEmitterOnCanonical(bool verbose, string canonicalFilename)

Test emitter by getting events from parsing a canonical YAML file, emitting them both in canonical and normal format, parsing the emitted results and comparing events from parsing the emitted result with originally parsed events.

testEmitterOnData
void testEmitterOnData(bool verbose, string dataFilename, string canonicalFilename)

Test emitter by getting events from parsing a file, emitting them, parsing the emitted result and comparing events from parsing the emitted result with originally parsed events.

testEmitterStyles
void testEmitterStyles(bool verbose, string dataFilename, string canonicalFilename)

Test emitter by getting events from parsing a file, emitting them with all possible scalar and collection styles, parsing the emitted results and comparing events from parsing the emitted result with originally parsed events.

Meta