//>>built define("dojox/widget/DocTester",["dijit","dojo","dojox","dojo/require!dojo/string,dijit/_Widget,dijit/_Templated,dojox/form/BusyButton,dojox/testing/DocTest"],function(_1,_2,_3){ _2.provide("dojox.widget.DocTester"); _2.require("dojo.string"); _2.require("dijit._Widget"); _2.require("dijit._Templated"); _2.require("dojox.form.BusyButton"); _2.require("dojox.testing.DocTest"); _2.declare("dojox.widget.DocTester",[_1._Widget,_1._Templated],{templateString:_2.cache("dojox.widget","DocTester/DocTester.html","
"; for(var i=0;i<_7.length;i++){ var _a=_2.indexOf(_6,i); if(_a>0&&_a!=-1){ var _b=_a%2?"even":"odd"; _9+=_8; _9+="
"; } _9+=_7[i].replace(/^\s+/,"")+"\n"; } _9+=_8+""; this.containerNode.innerHTML=_9; },postCreate:function(){ this.inherited("postCreate",arguments); _2.connect(this.runButtonNode,"onClick",_2.hitch(this,"runTests")); _2.connect(this.resetButtonNode,"onClick",_2.hitch(this,"reset")); this.numTestsNode.innerHTML=this.tests.length; },runTests:function(){ var _c={ok:0,nok:0}; for(var i=0;i