module battery.testing.btj

Code Map

module battery.testing.btj;


//! Parse the battery.tests.json.
class BatteryTestsJson
{
public:
	patterns: string[];
	prefix: string;
	requiresAliases: string[string];
	macros: immutable(char)[][][string];
	//! How each command will start.
	runPrefix: string;
	retvalPrefix: string;
	requiresPrefix: string;
	hasPassedPrefix: string;
	macroPrefix: string;
	checkPrefix: string;


public:
	this() { }
	//! Get the commands associated with a macro, or an empty list.
	fn getMacro(name: string) string[] { }
	fn parse(jsonPath: string) { }
	fn calculatePrefixes() { }
}
class BatteryTestsJson

Parse the battery.tests.json.

runPrefix: string

How each command will start.

fn getMacro(name: string) string[]

Get the commands associated with a macro, or an empty list.