r104694 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r104693‎ | r104694 | r104695 >
Date:15:33, 30 November 2011
Author:hashar
Status:deferred
Tags:
Comment:
add some console messages
Modified paths:
  • /trunk/extensions/VisualEditor/tests/parser/parserTests.js (modified) (history)

Diff [purge]

Index: trunk/extensions/VisualEditor/tests/parser/parserTests.js
@@ -12,6 +12,7 @@
1313
1414 (function() {
1515 //"use strict";
 16+console.log( "Starting up JS parser tests" );
1617
1718 var fs = require('fs'),
1819 path = require('path'),
@@ -97,8 +98,10 @@
9899 }
99100 }
100101
 102+console.log( "Parsing tests case from file, this takes a few seconds ..." );
101103 try {
102104 var cases = testParser.parse(testFile);
 105+ console.log( "Done parsing." );
103106 } catch (e) {
104107 console.log(e);
105108 }
@@ -297,6 +300,7 @@
298301
299302 var comments = [];
300303
 304+console.log( "Initialisation complete. Now launching tests." );
301305 cases.forEach(function(item) {
302306 if (typeof item == 'object') {
303307 switch(item.type) {

Status & tagging log