From 834649eb48062724a1f66c0c7473fb93f743bf74 Mon Sep 17 00:00:00 2001 From: Richard Wall Date: Tue, 5 Oct 2010 00:06:12 +0100 Subject: use jarmon BASE OPTIONS for increased coverage --- jarmon/jarmon.test.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jarmon/jarmon.test.js b/jarmon/jarmon.test.js index 9ae7531..bab708d 100644 --- a/jarmon/jarmon.test.js +++ b/jarmon/jarmon.test.js @@ -53,7 +53,7 @@ YUI({ logInclude: { TestRunner: true } }).use('console', 'test', function(Y) { var RRD_ENDTIME = new Date('1 jan 1980 00:02:00').getTime(); Y.Test.Runner.add(new Y.Test.Case({ - name: "javascriptrrd.RRDFile", + name: "jarmon.RRDFile", setUp: function() { this.d = new jarmon.downloadBinary('build/test.rrd') @@ -296,9 +296,9 @@ YUI({ logInclude: { TestRunner: true } }).use('console', 'test', function(Y) { * **/ var $tpl = $('
').appendTo($('body')); - var c = new jarmon.Chart($tpl, {xaxis: {mode: "time"}}); - //jarmon.Chart.BASE_OPTIONS - //c.options.xaxis.tzoffset = 0; + var c = new jarmon.Chart($tpl, jarmon.Chart.BASE_OPTIONS); + // + c.options.xaxis.tzoffset = 0; c.addData('speed', new jarmon.RrdQueryRemote('build/test.rrd', 'm/s'), true); var d = c.setTimeRange(RRD_STARTTIME, RRD_ENDTIME); d.addCallback( -- cgit v1.2.3