Lines Matching defs:Test
4 Y.Test = YUITest;
6 var name = name.replace('Test', '');
7 Y.Test[name] = item;
11 Y.Assert.Error = Y.Test.AssertionError;
12 Y.Assert.ComparisonFailure = Y.Test.ComparisonFailure;
13 Y.Assert.UnexpectedValue = Y.Test.UnexpectedValue;
14 Y.Mock = Y.Test.Mock;
15 Y.ObjectAssert = Y.Test.ObjectAssert;
16 Y.ArrayAssert = Y.Test.ArrayAssert;
17 Y.DateAssert = Y.Test.DateAssert;
18 Y.Test.ResultsFormat = Y.Test.TestFormat;
82 message = "Test suite \"" + event.testSuite.name + "\" started.";
87 message = Y.substitute("Test suite \"" +
96 message = "Test case \"" + event.testCase.name + "\" started.";
101 message = Y.substitute("Test case \"" +
113 if (Y.Test.Runner._log) {
120 for (i in Y.Test.Runner) {
121 name = Y.Test.Runner[i];
123 Y.Test.Runner.subscribe(name, logEvent);
127 Y.Test.Runner.once = Y.Test.Runner.subscribe;
129 Y.Test.Runner.disableLogging = function() {
130 Y.Test.Runner._log = false;
133 Y.Test.Runner.enableLogging = function() {
134 Y.Test.Runner._log = true;
137 Y.Test.Runner._ignoreEmpty = true;
138 Y.Test.Runner._log = true;
140 Y.Test.Runner.on = Y.Test.Runner.attach;