ddn.data.xml.testing.generators

Package-private: XML generators for randomized tests.

This module is intended for use by unittests within ddn.data.xml.

Types 1

Options controlling randomized XML generation.

Fields
uint maxDepthMaximum element nesting depth.
uint maxChildrenMaximum number of child elements per element.
uint maxAttributesMaximum number of attributes per element.
uint maxTextLengthMaximum text length for text nodes.

Functions 2

fnstring generateWellFormed(uint seed, XmlGenOptions options = XmlGenOptions.init) @safeGenerates a small well-formed XML document.
fnstring generateMalformed(uint seed) @safeGenerates a deterministic malformed XML document.