source: Dev/trunk/src/client/util/buildscripts/tests/conditionalTest.js @ 483

Last change on this file since 483 was 483, checked in by hendrikvanantwerpen, 11 years ago

Added Dojo 1.9.3 release.

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