enable warnings for all tests.

This commit is contained in:
Christopher Jeffrey 2015-07-21 19:23:57 -07:00
parent f0556b500b
commit 96b917efe1
33 changed files with 66 additions and 33 deletions

View File

@ -4,7 +4,8 @@ var blessed = require('../')
screen = blessed.screen({
dump: __dirname + '/logs/autopad.log',
smartCSR: true,
autoPadding: true
autoPadding: true,
warnings: true
});
var box1 = blessed.box({

View File

@ -3,7 +3,8 @@ var blessed = require('../')
screen = blessed.screen({
dump: __dirname + '/logs/bigtext.log',
smartCSR: true
smartCSR: true,
warnings: true
});
var box = blessed.bigtext({

View File

@ -3,7 +3,8 @@ var blessed = require('../')
screen = blessed.screen({
dump: __dirname + '/logs/csr.log',
smartCSR: true
smartCSR: true,
warnings: true
});
var lorem = require('fs').readFileSync(__dirname + '/git.diff', 'utf8');

View File

@ -4,7 +4,8 @@ var blessed = require('../')
screen = blessed.screen({
dump: __dirname + '/logs/dock.log',
smartCSR: true,
dockBorders: true
dockBorders: true,
warnings: true
});
blessed.box({

View File

@ -4,7 +4,8 @@ var blessed = require('../')
screen = blessed.screen({
dump: __dirname + '/logs/dock.log',
smartCSR: true,
dockBorders: true
dockBorders: true,
warnings: true
});
var topleft = blessed.box({

View File

@ -3,7 +3,8 @@ var blessed = require('../');
var screen = blessed.screen({
tput: true,
smartCSR: true,
dump: __dirname + '/logs/file.log'
dump: __dirname + '/logs/file.log',
warnings: true
});
var fm = blessed.filemanager({

View File

@ -2,7 +2,8 @@ var blessed = require('../')
, screen;
screen = blessed.screen({
dump: __dirname + '/logs/form.log'
dump: __dirname + '/logs/form.log',
warnings: true
});
var form = blessed.form({

View File

@ -3,7 +3,8 @@ var blessed = require('../')
screen = blessed.screen({
dump: __dirname + '/logs/image.log',
smartCSR: true
smartCSR: true,
warnings: true
});
// To ensure our w3mimgdisplay search works:

View File

@ -1,7 +1,8 @@
var blessed = require('../');
var screen = blessed.screen({
dump: __dirname + '/logs/insert.log'
dump: __dirname + '/logs/insert.log',
warnings: true
});
var box = blessed.box({

View File

@ -4,7 +4,8 @@ var blessed = require('../')
screen = blessed.screen({
dump: __dirname + '/logs/layout.log',
smartCSR: true,
autoPadding: true
autoPadding: true,
warnings: true
});
var layout = blessed.layout({

View File

@ -5,7 +5,8 @@ var auto = true;
screen = blessed.screen({
dump: __dirname + '/logs/listbar.log',
autoPadding: auto
autoPadding: auto,
warnings: true
});
var box = blessed.box({

View File

@ -4,7 +4,8 @@ var blessed = require('../')
screen = blessed.screen({
dump: __dirname + '/logs/listtable.log',
autoPadding: false,
fullUnicode: true
fullUnicode: true,
warnings: true
});
var DU = '杜';

View File

@ -4,7 +4,8 @@ var blessed = require('../')
screen = blessed.screen({
dump: __dirname + '/logs/logger.log',
smartCSR: true,
autoPadding: false
autoPadding: false,
warnings: true
});
var logger = blessed.log({

View File

@ -2,7 +2,8 @@ var blessed = require('../')
, screen;
screen = blessed.screen({
dump: __dirname + '/logs/nested-attr.log'
dump: __dirname + '/logs/nested-attr.log',
warnings: true
});
blessed.box({

View File

@ -4,7 +4,8 @@ var blessed = require('../')
screen = blessed.screen({
dump: __dirname + '/logs/noalt.log',
title: 'widget-noalt test',
noAlt: true
noAlt: true,
warnings: true
});
var list = blessed.list({

View File

@ -6,7 +6,8 @@ var fs = require('fs')
// xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx {red-bg}xxxx xxxx xxxx{/red-bg}
screen = blessed.screen({
dump: __dirname + '/logs/nowrap.log'
dump: __dirname + '/logs/nowrap.log',
warnings: true
});
var box = blessed.box({

View File

@ -4,7 +4,8 @@ var screen = blessed.screen({
tput: true,
smartCSR: true,
dump: __dirname + '/logs/obscure-sides.log',
autoPadding: true
autoPadding: true,
warnings: true
});
var box = blessed.box({

View File

@ -2,7 +2,8 @@ var blessed = require('../')
, screen;
screen = blessed.screen({
dump: __dirname + '/logs/padding.log'
dump: __dirname + '/logs/padding.log',
warnings: true
});
blessed.box({

View File

@ -2,7 +2,8 @@ var blessed = require('../');
var screen = blessed.screen({
dump: __dirname + '/logs/play.log',
smartCSR: true
smartCSR: true,
warnings: true
});
var frames = require(__dirname + '/frames.json');

View File

@ -21,7 +21,8 @@ process.argv = process.argv.map(function(arg, i) {
var screen = blessed.screen({
tput: true,
smartCSR: true,
dump: __dirname + '/logs/png.log'
dump: __dirname + '/logs/png.log',
warnings: true
});
var box1 = blessed.box({

View File

@ -4,7 +4,8 @@ var screen = blessed.screen({
tput: true,
smartCSR: true,
dump: __dirname + '/logs/prompt.log',
autoPadding: true
autoPadding: true,
warnings: true
});
var prompt = blessed.prompt({

View File

@ -3,7 +3,8 @@ var blessed = require('../')
var screen = blessed.screen({
dump: __dirname + '/logs/record.log',
smartCSR: true
smartCSR: true,
warnings: true
});
var btext = blessed.box({

View File

@ -3,7 +3,8 @@ var blessed = require('../')
screen = blessed.screen({
dump: __dirname + '/logs/scrollable-boxes.log',
smartCSR: true
smartCSR: true,
warnings: true
});
var box = blessed.box({

View File

@ -4,7 +4,8 @@ var blessed = require('../')
screen = blessed.screen({
dump: __dirname + '/logs/shadow.log',
smartCSR: true,
dockBorders: true
dockBorders: true,
warnings: true
});
var bg = blessed.box({

View File

@ -1,6 +1,7 @@
var blessed = require('blessed');
var screen = blessed.screen({
autoPadding: true
autoPadding: true,
warnings: true
});
var tab = blessed.box({

View File

@ -1,6 +1,7 @@
var blessed = require('blessed');
var screen = blessed.screen({
autoPadding: true
autoPadding: true,
warnings: true
});
var tab = blessed.box({

View File

@ -2,7 +2,8 @@ var blessed = require('../')
, screen;
screen = blessed.screen({
dump: __dirname + '/logs/shrink-padding.log'
dump: __dirname + '/logs/shrink-padding.log',
warnings: true
});
var outer = blessed.box({

View File

@ -4,7 +4,8 @@ var blessed = require('../')
screen = blessed.screen({
dump: __dirname + '/logs/table.log',
autoPadding: false,
fullUnicode: true
fullUnicode: true,
warnings: true
});
var DU = '杜';

View File

@ -3,7 +3,8 @@ var blessed = require('../')
screen = blessed.screen({
dump: __dirname + '/logs/textarea.log',
fullUnicode: true
fullUnicode: true,
warnings: true
});
var box = blessed.textarea({

View File

@ -7,7 +7,8 @@ var screen = blessed.screen({
smartCSR: true,
dockBorders: true,
useBCE: true,
fullUnicode: ~process.argv.indexOf('-') ? false : true
fullUnicode: ~process.argv.indexOf('-') ? false : true,
warnings: true
});
/**

View File

@ -4,7 +4,8 @@ var blessed = require('../')
screen = blessed.screen({
dump: __dirname + '/logs/valign.log',
smartCSR: true,
autoPadding: false
autoPadding: false,
warnings: true
});
var box = blessed.box({

View File

@ -4,7 +4,8 @@ var fs = require('fs');
var screen = blessed.screen({
tput: true,
smartCSR: true,
dump: __dirname + '/logs/video.log'
dump: __dirname + '/logs/video.log',
warnings: true
});
var video = blessed.video({

View File

@ -12,7 +12,8 @@ screen = blessed.screen({
blink: true,
color: null
},
debug: true
debug: true,
warnings: true
});
screen.debugLog.parseTags = true;