Debian Codegraph @

util/buildscripts/tests/conditionalTest.js

raw symbols SCIP
1 //Test file for the conditional comment inclusion/exclusion code.
2 //Run this file from the util/buildscripts/tests directory.
3
4 load("../jslib/fileUtil.js");
5 load("../jslib/logger.js");
6 load("../jslib/buildUtil.js");
7
8
9
10
11 var result = buildUtil.processConditionals(
12 "conditionalTest.txt",
13 fileUtil.readFile("conditionalTest.txt"),
14 {
15 loader: "xdomain",
16 shouldInclude: true,
17 nesting: 1
18 }
19 );
20
21 print(result);