PHP Classes

File: public/assets/bower_components/bootstrap-datepicker/tests/assets/qunit-logging.js

Recommend this page to a friend!
  Classes of Abed Nego Ragil Putra   PHP Inventory Management System with Scanner   public/assets/bower_components/bootstrap-datepicker/tests/assets/qunit-logging.js   Download  
File: public/assets/bower_components/bootstrap-datepicker/tests/assets/qunit-logging.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Inventory Management System with Scanner
Manage inventory stock using scanner application
Author: By
Last change:
Date: 1 year ago
Size: 1,079 bytes
 

Contents

Class file image Download
// Dummy logging calls (ie, if tests are run in IE) window.console = window.console || {}; window.console.log = window.console.log || function(){}; window.console.debug = window.console.debug || function(){}; window.console.info = window.console.info || function(){}; window.console.warn = window.console.warn || function(){}; window.console.error = window.console.error || function(){}; (function() { var modName, testName; //arg: { name } QUnit.testStart = function(t) { modName = t.module; testName = t.name; }; //arg: { name, failed, passed, total } QUnit.testDone = function(t) { if (t.failed) console.log('Test "' + t.module + ': ' + t.name + '" completed: ' + (0 === t.failed ? 'pass' : 'FAIL') + '\n') }; //{ result, actual, expected, message } QUnit.log = function(t) { if (!t.result) console.log('Test "' + modName + ': ' + testName + '" assertion failed. Expected <' + t.expected + '> Actual <' + t.actual + '>' + (t.message ? ': \'' + t.message + '\'' : '')); }; }());