Debian Codegraph @

util/buildscripts/tests/conditionalTest.txt

raw
1 //>>includeStart("foo", kwArgs.loader == "xdomain");
2 This content is included if kwArgs.loader == "xdomain"
3 //>>includeEnd("foo");
4
5 //This is an exclusion test
6 //>>excludeStart("test2", kwArgs.loader == "xdomain");
7 This content is excluded if kwArgs.loader == "xdomain"
8 //>>excludeEnd("test2");
9
10
11 //This is a nested test.
12 //>>includeStart("outerMatch", kwArgs.shouldInclude);
13 This content is included if kwArgs.shouldInclude evals to true.
14 //>>includeStart("innerMatch", kwArgs.nesting == 1);
15 This is a nested include if kwArgs.nesting == 1
16 //>>includeEnd("innerMatch");
17 //>>includeEnd("outerMatch");