dyaml.test.constructor

Members

Classes

TestClass
class TestClass

Testing custom YAML class type.

Functions

constructAliasesCDumperBug
Node[] constructAliasesCDumperBug()

Test cases:

constructClass
TestClass constructClass(ref Node node)

Constructor function for TestClass.

constructStruct
TestStruct constructStruct(ref Node node)

Constructor function for TestStruct.

pair
Node.Pair pair(A a, B b)

Construct a pair of nodes with specified values.

representStruct
Node representStruct(ref Node node, Representer representer)

Representer function for TestStruct.

testConstructor
void testConstructor(string dataFilename, string codeDummy)

Constructor unittest.

Structs

TestStruct
struct TestStruct

Testing custom YAML struct type.

Variables

expected
Node[][string] expected;

Expected results of loading test inputs.

Meta