Lines Matching refs:testFailed
53 function testFailed(msg)
114 testFailed(_a + " should be " + _bv + ". Threw exception " + exception);
118 testFailed(_a + " should be " + _bv + ". Was " + stringify(_av) + ".");
120 testFailed(_a + " should be " + _bv + " (of type " + typeof _bv + "). Was " + stringify(_av) + " (of type " + typeof _av + ").");
147 testFailed(_a + " should be undefined. Threw exception " + exception);
151 testFailed(_a + " should be undefined. Was " + _av);
173 testFailed(_a + " should throw " + (typeof _e == "undefined" ? "an exception" : _ev) + ". Threw exception " + exception + ".");
175 testFailed(_a + " should throw " + (typeof _e == "undefined" ? "an exception" : _ev) + ". Was undefined.");
177 testFailed(_a + " should throw " + (typeof _e == "undefined" ? "an exception" : _ev) + ". Was " + stringify(_av) + ".");
187 testFailed(_a + " should not throw exception. Threw exception " + e + ".");