2009-08-28 05:15:50 +00:00
< html > < head > < meta http-equiv = "content-type" content = "text/html; charset=utf-8" > < style >
.KEYW {color: #933;}
.COMM {color: #bbb; font-style: italic;}
.NUMB {color: #393;}
.STRN {color: #393;}
.REGX {color: #339;}
.line {border-right: 1px dotted #666; color: #666; font-style: normal;}
< / style > < / head > < body > < pre > < span class = 'line' > 1< / span > < span class = "NAME" > jasmine.TrivialReporter< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > =< / span > < span class = "WHIT" > < / span > < span class = "KEYW" > function< / span > < span class = "PUNC" > (< / span > < span class = "NAME" > doc< / span > < span class = "PUNC" > )< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > {< / span > < span class = "WHIT" >
< span class = 'line' > 2< / span > < / span > < span class = "WHIT" > < / span > < span class = "NAME" > this.document< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > =< / span > < span class = "WHIT" > < / span > < span class = "NAME" > doc< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > ||< / span > < span class = "WHIT" > < / span > < span class = "NAME" > document< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 3< / span > < / span > < span class = "WHIT" > < / span > < span class = "NAME" > this.suiteDivs< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > =< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > {< / span > < span class = "PUNC" > }< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 4< / span > < / span > < span class = "PUNC" > }< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 5< / span >
< span class = 'line' > 6< / span > < / span > < span class = "NAME" > jasmine.TrivialReporter.prototype.createDom< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > =< / span > < span class = "WHIT" > < / span > < span class = "KEYW" > function< / span > < span class = "PUNC" > (< / span > < span class = "NAME" > type< / span > < span class = "PUNC" > ,< / span > < span class = "WHIT" > < / span > < span class = "NAME" > attrs< / span > < span class = "PUNC" > ,< / span > < span class = "WHIT" > < / span > < span class = "NAME" > childrenVarArgs< / span > < span class = "PUNC" > )< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > {< / span > < span class = "WHIT" >
< span class = 'line' > 7< / span > < / span > < span class = "WHIT" > < / span > < span class = "KEYW" > var< / span > < span class = "WHIT" > < / span > < span class = "NAME" > el< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > =< / span > < span class = "WHIT" > < / span > < span class = "NAME" > document.createElement< / span > < span class = "PUNC" > (< / span > < span class = "NAME" > type< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 8< / span >
< span class = 'line' > 9< / span > < / span > < span class = "WHIT" > < / span > < span class = "KEYW" > for< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > (< / span > < span class = "KEYW" > var< / span > < span class = "WHIT" > < / span > < span class = "NAME" > i< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > =< / span > < span class = "WHIT" > < / span > < span class = "NUMB" > 2< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" > < / span > < span class = "NAME" > i< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > < < / span > < span class = "WHIT" > < / span > < span class = "NAME" > arguments.length< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" > < / span > < span class = "NAME" > i< / span > < span class = "PUNC" > ++< / span > < span class = "PUNC" > )< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > {< / span > < span class = "WHIT" >
< span class = 'line' > 10< / span > < / span > < span class = "WHIT" > < / span > < span class = "KEYW" > var< / span > < span class = "WHIT" > < / span > < span class = "NAME" > child< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > =< / span > < span class = "WHIT" > < / span > < span class = "NAME" > arguments< / span > < span class = "PUNC" > [< / span > < span class = "NAME" > i< / span > < span class = "PUNC" > ]< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 11< / span >
< span class = 'line' > 12< / span > < / span > < span class = "WHIT" > < / span > < span class = "KEYW" > if< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > (< / span > < span class = "KEYW" > typeof< / span > < span class = "WHIT" > < / span > < span class = "NAME" > child< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > ===< / span > < span class = "WHIT" > < / span > < span class = "STRN" > 'string'< / span > < span class = "PUNC" > )< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > {< / span > < span class = "WHIT" >
< span class = 'line' > 13< / span > < / span > < span class = "WHIT" > < / span > < span class = "NAME" > el.appendChild< / span > < span class = "PUNC" > (< / span > < span class = "NAME" > document.createTextNode< / span > < span class = "PUNC" > (< / span > < span class = "NAME" > child< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 14< / span > < / span > < span class = "WHIT" > < / span > < span class = "PUNC" > }< / span > < span class = "WHIT" > < / span > < span class = "KEYW" > else< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > {< / span > < span class = "WHIT" >
2009-09-30 05:09:30 +00:00
< span class = 'line' > 15< / span > < / span > < span class = "WHIT" > < / span > < span class = "KEYW" > if< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > (< / span > < span class = "NAME" > child< / span > < span class = "PUNC" > )< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > {< / span > < span class = "WHIT" > < / span > < span class = "NAME" > el.appendChild< / span > < span class = "PUNC" > (< / span > < span class = "NAME" > child< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > }< / span > < span class = "WHIT" >
2009-08-28 05:15:50 +00:00
< span class = 'line' > 16< / span > < / span > < span class = "WHIT" > < / span > < span class = "PUNC" > }< / span > < span class = "WHIT" >
< span class = 'line' > 17< / span > < / span > < span class = "WHIT" > < / span > < span class = "PUNC" > }< / span > < span class = "WHIT" >
< span class = 'line' > 18< / span >
< span class = 'line' > 19< / span > < / span > < span class = "WHIT" > < / span > < span class = "KEYW" > for< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > (< / span > < span class = "KEYW" > var< / span > < span class = "WHIT" > < / span > < span class = "NAME" > attr< / span > < span class = "WHIT" > < / span > < span class = "KEYW" > in< / span > < span class = "WHIT" > < / span > < span class = "NAME" > attrs< / span > < span class = "PUNC" > )< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > {< / span > < span class = "WHIT" >
2009-10-28 05:18:38 +00:00
< span class = 'line' > 20< / span > < / span > < span class = "WHIT" > < / span > < span class = "NAME" > el< / span > < span class = "PUNC" > [< / span > < span class = "NAME" > attr< / span > < span class = "PUNC" > ]< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > =< / span > < span class = "WHIT" > < / span > < span class = "NAME" > attrs< / span > < span class = "PUNC" > [< / span > < span class = "NAME" > attr< / span > < span class = "PUNC" > ]< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 21< / span > < / span > < span class = "WHIT" > < / span > < span class = "PUNC" > }< / span > < span class = "WHIT" >
< span class = 'line' > 22< / span >
< span class = 'line' > 23< / span > < / span > < span class = "WHIT" > < / span > < span class = "KEYW" > return< / span > < span class = "WHIT" > < / span > < span class = "NAME" > el< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 24< / span > < / span > < span class = "PUNC" > }< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 25< / span >
< span class = 'line' > 26< / span > < / span > < span class = "NAME" > jasmine.TrivialReporter.prototype.reportRunnerStarting< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > =< / span > < span class = "WHIT" > < / span > < span class = "KEYW" > function< / span > < span class = "PUNC" > (< / span > < span class = "NAME" > runner< / span > < span class = "PUNC" > )< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > {< / span > < span class = "WHIT" >
< span class = 'line' > 27< / span > < / span > < span class = "WHIT" > < / span > < span class = "KEYW" > var< / span > < span class = "WHIT" > < / span > < span class = "NAME" > suites< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > =< / span > < span class = "WHIT" > < / span > < span class = "NAME" > runner.suites< / span > < span class = "PUNC" > (< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
2009-10-16 03:00:41 +00:00
< span class = 'line' > 28< / span >
2009-10-28 05:18:38 +00:00
< span class = 'line' > 29< / span > < / span > < span class = "WHIT" > < / span > < span class = "NAME" > this.runnerDiv< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > =< / span > < span class = "WHIT" > < / span > < span class = "NAME" > this.createDom< / span > < span class = "PUNC" > (< / span > < span class = "STRN" > 'div'< / span > < span class = "PUNC" > ,< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > {< / span > < span class = "WHIT" > < / span > < span class = "NAME" > className< / span > < span class = "PUNC" > :< / span > < span class = "WHIT" > < / span > < span class = "STRN" > 'runner running'< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > }< / span > < span class = "PUNC" > ,< / span > < span class = "WHIT" >
< span class = 'line' > 30< / span > < / span > < span class = "WHIT" > < / span > < span class = "NAME" > this.createDom< / span > < span class = "PUNC" > (< / span > < span class = "STRN" > 'a'< / span > < span class = "PUNC" > ,< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > {< / span > < span class = "WHIT" > < / span > < span class = "NAME" > className< / span > < span class = "PUNC" > :< / span > < span class = "WHIT" > < / span > < span class = "STRN" > 'run_spec'< / span > < span class = "PUNC" > ,< / span > < span class = "WHIT" > < / span > < span class = "NAME" > href< / span > < span class = "PUNC" > :< / span > < span class = "WHIT" > < / span > < span class = "STRN" > '?'< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > }< / span > < span class = "PUNC" > ,< / span > < span class = "WHIT" > < / span > < span class = "STRN" > "run all"< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > ,< / span > < span class = "WHIT" >
< span class = 'line' > 31< / span > < / span > < span class = "WHIT" > < / span > < span class = "NAME" > this.runnerMessageSpan< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > =< / span > < span class = "WHIT" > < / span > < span class = "NAME" > this.createDom< / span > < span class = "PUNC" > (< / span > < span class = "STRN" > 'span'< / span > < span class = "PUNC" > ,< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > {< / span > < span class = "PUNC" > }< / span > < span class = "PUNC" > ,< / span > < span class = "WHIT" > < / span > < span class = "STRN" > "Running..."< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 32< / span > < / span > < span class = "WHIT" > < / span > < span class = "NAME" > this.document.body.appendChild< / span > < span class = "PUNC" > (< / span > < span class = "NAME" > this.runnerDiv< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 33< / span >
< span class = 'line' > 34< / span > < / span > < span class = "WHIT" > < / span > < span class = "KEYW" > for< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > (< / span > < span class = "KEYW" > var< / span > < span class = "WHIT" > < / span > < span class = "NAME" > i< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > =< / span > < span class = "WHIT" > < / span > < span class = "NUMB" > 0< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" > < / span > < span class = "NAME" > i< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > < < / span > < span class = "WHIT" > < / span > < span class = "NAME" > suites.length< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" > < / span > < span class = "NAME" > i< / span > < span class = "PUNC" > ++< / span > < span class = "PUNC" > )< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > {< / span > < span class = "WHIT" >
< span class = 'line' > 35< / span > < / span > < span class = "WHIT" > < / span > < span class = "KEYW" > var< / span > < span class = "WHIT" > < / span > < span class = "NAME" > suite< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > =< / span > < span class = "WHIT" > < / span > < span class = "NAME" > suites< / span > < span class = "PUNC" > [< / span > < span class = "NAME" > i< / span > < span class = "PUNC" > ]< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 36< / span > < / span > < span class = "WHIT" > < / span > < span class = "KEYW" > var< / span > < span class = "WHIT" > < / span > < span class = "NAME" > suiteDiv< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > =< / span > < span class = "WHIT" > < / span > < span class = "NAME" > this.createDom< / span > < span class = "PUNC" > (< / span > < span class = "STRN" > 'div'< / span > < span class = "PUNC" > ,< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > {< / span > < span class = "WHIT" > < / span > < span class = "NAME" > className< / span > < span class = "PUNC" > :< / span > < span class = "WHIT" > < / span > < span class = "STRN" > 'suite'< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > }< / span > < span class = "PUNC" > ,< / span > < span class = "WHIT" >
< span class = 'line' > 37< / span > < / span > < span class = "WHIT" > < / span > < span class = "NAME" > this.createDom< / span > < span class = "PUNC" > (< / span > < span class = "STRN" > 'a'< / span > < span class = "PUNC" > ,< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > {< / span > < span class = "WHIT" > < / span > < span class = "NAME" > className< / span > < span class = "PUNC" > :< / span > < span class = "WHIT" > < / span > < span class = "STRN" > 'run_spec'< / span > < span class = "PUNC" > ,< / span > < span class = "WHIT" > < / span > < span class = "NAME" > href< / span > < span class = "PUNC" > :< / span > < span class = "WHIT" > < / span > < span class = "STRN" > '?spec='< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > +< / span > < span class = "WHIT" > < / span > < span class = "NAME" > encodeURIComponent< / span > < span class = "PUNC" > (< / span > < span class = "NAME" > suite.getFullName< / span > < span class = "PUNC" > (< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > )< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > }< / span > < span class = "PUNC" > ,< / span > < span class = "WHIT" > < / span > < span class = "STRN" > "run"< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > ,< / span > < span class = "WHIT" >
< span class = 'line' > 38< / span > < / span > < span class = "WHIT" > < / span > < span class = "NAME" > this.createDom< / span > < span class = "PUNC" > (< / span > < span class = "STRN" > 'a'< / span > < span class = "PUNC" > ,< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > {< / span > < span class = "WHIT" > < / span > < span class = "NAME" > className< / span > < span class = "PUNC" > :< / span > < span class = "WHIT" > < / span > < span class = "STRN" > 'description'< / span > < span class = "PUNC" > ,< / span > < span class = "WHIT" > < / span > < span class = "NAME" > href< / span > < span class = "PUNC" > :< / span > < span class = "WHIT" > < / span > < span class = "STRN" > '?spec='< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > +< / span > < span class = "WHIT" > < / span > < span class = "NAME" > encodeURIComponent< / span > < span class = "PUNC" > (< / span > < span class = "NAME" > suite.getFullName< / span > < span class = "PUNC" > (< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > )< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > }< / span > < span class = "PUNC" > ,< / span > < span class = "WHIT" > < / span > < span class = "NAME" > suite.description< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 39< / span > < / span > < span class = "WHIT" > < / span > < span class = "NAME" > this.suiteDivs< / span > < span class = "PUNC" > [< / span > < span class = "NAME" > suite.getFullName< / span > < span class = "PUNC" > (< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > ]< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > =< / span > < span class = "WHIT" > < / span > < span class = "NAME" > suiteDiv< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 40< / span > < / span > < span class = "WHIT" > < / span > < span class = "KEYW" > var< / span > < span class = "WHIT" > < / span > < span class = "NAME" > parentDiv< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > =< / span > < span class = "WHIT" > < / span > < span class = "NAME" > this.document.body< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 41< / span > < / span > < span class = "WHIT" > < / span > < span class = "KEYW" > if< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > (< / span > < span class = "NAME" > suite.parentSuite< / span > < span class = "PUNC" > )< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > {< / span > < span class = "WHIT" >
< span class = 'line' > 42< / span > < / span > < span class = "WHIT" > < / span > < span class = "NAME" > parentDiv< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > =< / span > < span class = "WHIT" > < / span > < span class = "NAME" > this.suiteDivs< / span > < span class = "PUNC" > [< / span > < span class = "NAME" > suite.parentSuite.getFullName< / span > < span class = "PUNC" > (< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > ]< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 43< / span > < / span > < span class = "WHIT" > < / span > < span class = "PUNC" > }< / span > < span class = "WHIT" >
< span class = 'line' > 44< / span > < / span > < span class = "WHIT" > < / span > < span class = "NAME" > parentDiv.appendChild< / span > < span class = "PUNC" > (< / span > < span class = "NAME" > suiteDiv< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 45< / span > < / span > < span class = "WHIT" > < / span > < span class = "PUNC" > }< / span > < span class = "WHIT" >
< span class = 'line' > 46< / span >
< span class = 'line' > 47< / span > < / span > < span class = "WHIT" > < / span > < span class = "NAME" > this.startedAt< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > =< / span > < span class = "WHIT" > < / span > < span class = "KEYW" > new< / span > < span class = "WHIT" > < / span > < span class = "NAME" > Date< / span > < span class = "PUNC" > (< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 48< / span > < / span > < span class = "PUNC" > }< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 49< / span >
< span class = 'line' > 50< / span > < / span > < span class = "NAME" > jasmine.TrivialReporter.prototype.reportRunnerResults< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > =< / span > < span class = "WHIT" > < / span > < span class = "KEYW" > function< / span > < span class = "PUNC" > (< / span > < span class = "NAME" > runner< / span > < span class = "PUNC" > )< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > {< / span > < span class = "WHIT" >
< span class = 'line' > 51< / span > < / span > < span class = "WHIT" > < / span > < span class = "KEYW" > var< / span > < span class = "WHIT" > < / span > < span class = "NAME" > results< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > =< / span > < span class = "WHIT" > < / span > < span class = "NAME" > runner.results< / span > < span class = "PUNC" > (< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 52< / span > < / span > < span class = "WHIT" > < / span > < span class = "KEYW" > var< / span > < span class = "WHIT" > < / span > < span class = "NAME" > className< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > =< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > (< / span > < span class = "NAME" > results.failedCount< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > >< / span > < span class = "WHIT" > < / span > < span class = "NUMB" > 0< / span > < span class = "PUNC" > )< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > ?< / span > < span class = "WHIT" > < / span > < span class = "STRN" > "runner failed"< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > :< / span > < span class = "WHIT" > < / span > < span class = "STRN" > "runner passed"< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 53< / span > < / span > < span class = "WHIT" > < / span > < span class = "NAME" > this.runnerDiv.setAttribute< / span > < span class = "PUNC" > (< / span > < span class = "STRN" > "class"< / span > < span class = "PUNC" > ,< / span > < span class = "WHIT" > < / span > < span class = "NAME" > className< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 54< / span > < / span > < span class = "WHIT" > < / span > < span class = "COMM" > //do it twice for IE< / span > < span class = "WHIT" >
< span class = 'line' > 55< / span > < / span > < span class = "WHIT" > < / span > < span class = "NAME" > this.runnerDiv.setAttribute< / span > < span class = "PUNC" > (< / span > < span class = "STRN" > "className"< / span > < span class = "PUNC" > ,< / span > < span class = "WHIT" > < / span > < span class = "NAME" > className< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 56< / span > < / span > < span class = "WHIT" > < / span > < span class = "KEYW" > var< / span > < span class = "WHIT" > < / span > < span class = "NAME" > specs< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > =< / span > < span class = "WHIT" > < / span > < span class = "NAME" > runner.specs< / span > < span class = "PUNC" > (< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 57< / span > < / span > < span class = "WHIT" > < / span > < span class = "KEYW" > var< / span > < span class = "WHIT" > < / span > < span class = "NAME" > specCount< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > =< / span > < span class = "WHIT" > < / span > < span class = "NUMB" > 0< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 58< / span > < / span > < span class = "WHIT" > < / span > < span class = "KEYW" > for< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > (< / span > < span class = "KEYW" > var< / span > < span class = "WHIT" > < / span > < span class = "NAME" > i< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > =< / span > < span class = "WHIT" > < / span > < span class = "NUMB" > 0< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" > < / span > < span class = "NAME" > i< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > < < / span > < span class = "WHIT" > < / span > < span class = "NAME" > specs.length< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" > < / span > < span class = "NAME" > i< / span > < span class = "PUNC" > ++< / span > < span class = "PUNC" > )< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > {< / span > < span class = "WHIT" >
< span class = 'line' > 59< / span > < / span > < span class = "WHIT" > < / span > < span class = "KEYW" > if< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > (< / span > < span class = "NAME" > this.specFilter< / span > < span class = "PUNC" > (< / span > < span class = "NAME" > specs< / span > < span class = "PUNC" > [< / span > < span class = "NAME" > i< / span > < span class = "PUNC" > ]< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > )< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > {< / span > < span class = "WHIT" >
< span class = 'line' > 60< / span > < / span > < span class = "WHIT" > < / span > < span class = "NAME" > specCount< / span > < span class = "PUNC" > ++< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 61< / span > < / span > < span class = "WHIT" > < / span > < span class = "PUNC" > }< / span > < span class = "WHIT" >
< span class = 'line' > 62< / span > < / span > < span class = "WHIT" > < / span > < span class = "PUNC" > }< / span > < span class = "WHIT" >
< span class = 'line' > 63< / span > < / span > < span class = "WHIT" > < / span > < span class = "KEYW" > var< / span > < span class = "WHIT" > < / span > < span class = "NAME" > message< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > =< / span > < span class = "WHIT" > < / span > < span class = "STRN" > ""< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > +< / span > < span class = "WHIT" > < / span > < span class = "NAME" > specCount< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > +< / span > < span class = "WHIT" > < / span > < span class = "STRN" > " spec"< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > +< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > (< / span > < span class = "NAME" > specCount< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > ==< / span > < span class = "WHIT" > < / span > < span class = "NUMB" > 1< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > ?< / span > < span class = "WHIT" > < / span > < span class = "STRN" > ""< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > :< / span > < span class = "WHIT" > < / span > < span class = "STRN" > "s"< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > )< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > +< / span > < span class = "WHIT" > < / span > < span class = "STRN" > ", "< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > +< / span > < span class = "WHIT" > < / span > < span class = "NAME" > results.failedCount< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > +< / span > < span class = "WHIT" > < / span > < span class = "STRN" > " failure"< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > +< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > (< / span > < span class = "PUNC" > (< / span > < span class = "NAME" > results.failedCount< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > ==< / span > < span class = "WHIT" > < / span > < span class = "NUMB" > 1< / span > < span class = "PUNC" > )< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > ?< / span > < span class = "WHIT" > < / span > < span class = "STRN" > ""< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > :< / span > < span class = "WHIT" > < / span > < span class = "STRN" > "s"< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 64< / span > < / span > < span class = "WHIT" > < / span > < span class = "NAME" > message< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > +< / span > < span class = "PUNC" > =< / span > < span class = "WHIT" > < / span > < span class = "STRN" > " in "< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > +< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > (< / span > < span class = "PUNC" > (< / span > < span class = "KEYW" > new< / span > < span class = "WHIT" > < / span > < span class = "NAME" > Date< / span > < span class = "PUNC" > (< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > .< / span > < span class = "NAME" > getTime< / span > < span class = "PUNC" > (< / span > < span class = "PUNC" > )< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > -< / span > < span class = "WHIT" > < / span > < span class = "NAME" > this.startedAt.getTime< / span > < span class = "PUNC" > (< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > )< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > /< / span > < span class = "WHIT" > < / span > < span class = "NUMB" > 1000< / span > < span class = "PUNC" > )< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > +< / span > < span class = "WHIT" > < / span > < span class = "STRN" > "s"< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 65< / span > < / span > < span class = "WHIT" > < / span > < span class = "NAME" > this.runnerMessageSpan.replaceChild< / span > < span class = "PUNC" > (< / span > < span class = "NAME" > this.createDom< / span > < span class = "PUNC" > (< / span > < span class = "STRN" > 'a'< / span > < span class = "PUNC" > ,< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > {< / span > < span class = "WHIT" > < / span > < span class = "NAME" > className< / span > < span class = "PUNC" > :< / span > < span class = "WHIT" > < / span > < span class = "STRN" > 'description'< / span > < span class = "PUNC" > ,< / span > < span class = "WHIT" > < / span > < span class = "NAME" > href< / span > < span class = "PUNC" > :< / span > < span class = "WHIT" > < / span > < span class = "STRN" > '?'< / span > < span class = "PUNC" > }< / span > < span class = "PUNC" > ,< / span > < span class = "WHIT" > < / span > < span class = "NAME" > message< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > ,< / span > < span class = "WHIT" > < / span > < span class = "NAME" > this.runnerMessageSpan.firstChild< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 66< / span > < / span > < span class = "PUNC" > }< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 67< / span >
< span class = 'line' > 68< / span > < / span > < span class = "NAME" > jasmine.TrivialReporter.prototype.reportSuiteResults< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > =< / span > < span class = "WHIT" > < / span > < span class = "KEYW" > function< / span > < span class = "PUNC" > (< / span > < span class = "NAME" > suite< / span > < span class = "PUNC" > )< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > {< / span > < span class = "WHIT" >
< span class = 'line' > 69< / span > < / span > < span class = "WHIT" > < / span > < span class = "KEYW" > var< / span > < span class = "WHIT" > < / span > < span class = "NAME" > results< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > =< / span > < span class = "WHIT" > < / span > < span class = "NAME" > suite.results< / span > < span class = "PUNC" > (< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 70< / span > < / span > < span class = "WHIT" > < / span > < span class = "KEYW" > var< / span > < span class = "WHIT" > < / span > < span class = "NAME" > status< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > =< / span > < span class = "WHIT" > < / span > < span class = "NAME" > results.passed< / span > < span class = "PUNC" > (< / span > < span class = "PUNC" > )< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > ?< / span > < span class = "WHIT" > < / span > < span class = "STRN" > 'passed'< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > :< / span > < span class = "WHIT" > < / span > < span class = "STRN" > 'failed'< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 71< / span > < / span > < span class = "WHIT" > < / span > < span class = "KEYW" > if< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > (< / span > < span class = "NAME" > results.totalCount< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > ==< / span > < span class = "WHIT" > < / span > < span class = "NUMB" > 0< / span > < span class = "PUNC" > )< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > {< / span > < span class = "WHIT" > < / span > < span class = "COMM" > // todo: change this to check results.skipped< / span > < span class = "WHIT" >
< span class = 'line' > 72< / span > < / span > < span class = "WHIT" > < / span > < span class = "NAME" > status< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > =< / span > < span class = "WHIT" > < / span > < span class = "STRN" > 'skipped'< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 73< / span > < / span > < span class = "WHIT" > < / span > < span class = "PUNC" > }< / span > < span class = "WHIT" >
< span class = 'line' > 74< / span > < / span > < span class = "WHIT" > < / span > < span class = "NAME" > this.suiteDivs< / span > < span class = "PUNC" > [< / span > < span class = "NAME" > suite.getFullName< / span > < span class = "PUNC" > (< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > ]< / span > < span class = "PUNC" > .< / span > < span class = "NAME" > className< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > +< / span > < span class = "PUNC" > =< / span > < span class = "WHIT" > < / span > < span class = "STRN" > " "< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > +< / span > < span class = "WHIT" > < / span > < span class = "NAME" > status< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 75< / span > < / span > < span class = "PUNC" > }< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 76< / span >
< span class = 'line' > 77< / span > < / span > < span class = "NAME" > jasmine.TrivialReporter.prototype.reportSpecResults< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > =< / span > < span class = "WHIT" > < / span > < span class = "KEYW" > function< / span > < span class = "PUNC" > (< / span > < span class = "NAME" > spec< / span > < span class = "PUNC" > )< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > {< / span > < span class = "WHIT" >
< span class = 'line' > 78< / span > < / span > < span class = "WHIT" > < / span > < span class = "KEYW" > var< / span > < span class = "WHIT" > < / span > < span class = "NAME" > results< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > =< / span > < span class = "WHIT" > < / span > < span class = "NAME" > spec.results< / span > < span class = "PUNC" > (< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 79< / span > < / span > < span class = "WHIT" > < / span > < span class = "KEYW" > var< / span > < span class = "WHIT" > < / span > < span class = "NAME" > status< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > =< / span > < span class = "WHIT" > < / span > < span class = "NAME" > results.passed< / span > < span class = "PUNC" > (< / span > < span class = "PUNC" > )< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > ?< / span > < span class = "WHIT" > < / span > < span class = "STRN" > 'passed'< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > :< / span > < span class = "WHIT" > < / span > < span class = "STRN" > 'failed'< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 80< / span > < / span > < span class = "WHIT" > < / span > < span class = "KEYW" > if< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > (< / span > < span class = "NAME" > results.skipped< / span > < span class = "PUNC" > )< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > {< / span > < span class = "WHIT" >
< span class = 'line' > 81< / span > < / span > < span class = "WHIT" > < / span > < span class = "NAME" > status< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > =< / span > < span class = "WHIT" > < / span > < span class = "STRN" > 'skipped'< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 82< / span > < / span > < span class = "WHIT" > < / span > < span class = "PUNC" > }< / span > < span class = "WHIT" >
< span class = 'line' > 83< / span > < / span > < span class = "WHIT" > < / span > < span class = "KEYW" > var< / span > < span class = "WHIT" > < / span > < span class = "NAME" > specDiv< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > =< / span > < span class = "WHIT" > < / span > < span class = "NAME" > this.createDom< / span > < span class = "PUNC" > (< / span > < span class = "STRN" > 'div'< / span > < span class = "PUNC" > ,< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > {< / span > < span class = "WHIT" > < / span > < span class = "NAME" > className< / span > < span class = "PUNC" > :< / span > < span class = "WHIT" > < / span > < span class = "STRN" > 'spec '< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > +< / span > < span class = "WHIT" > < / span > < span class = "NAME" > status< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > }< / span > < span class = "PUNC" > ,< / span > < span class = "WHIT" >
< span class = 'line' > 84< / span > < / span > < span class = "WHIT" > < / span > < span class = "NAME" > this.createDom< / span > < span class = "PUNC" > (< / span > < span class = "STRN" > 'a'< / span > < span class = "PUNC" > ,< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > {< / span > < span class = "WHIT" > < / span > < span class = "NAME" > className< / span > < span class = "PUNC" > :< / span > < span class = "WHIT" > < / span > < span class = "STRN" > 'run_spec'< / span > < span class = "PUNC" > ,< / span > < span class = "WHIT" > < / span > < span class = "NAME" > href< / span > < span class = "PUNC" > :< / span > < span class = "WHIT" > < / span > < span class = "STRN" > '?spec='< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > +< / span > < span class = "WHIT" > < / span > < span class = "NAME" > encodeURIComponent< / span > < span class = "PUNC" > (< / span > < span class = "NAME" > spec.getFullName< / span > < span class = "PUNC" > (< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > )< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > }< / span > < span class = "PUNC" > ,< / span > < span class = "WHIT" > < / span > < span class = "STRN" > "run"< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > ,< / span > < span class = "WHIT" >
< span class = 'line' > 85< / span > < / span > < span class = "WHIT" > < / span > < span class = "NAME" > this.createDom< / span > < span class = "PUNC" > (< / span > < span class = "STRN" > 'a'< / span > < span class = "PUNC" > ,< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > {< / span > < span class = "WHIT" > < / span > < span class = "NAME" > className< / span > < span class = "PUNC" > :< / span > < span class = "WHIT" > < / span > < span class = "STRN" > 'description'< / span > < span class = "PUNC" > ,< / span > < span class = "WHIT" > < / span > < span class = "NAME" > href< / span > < span class = "PUNC" > :< / span > < span class = "WHIT" > < / span > < span class = "STRN" > '?spec='< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > +< / span > < span class = "WHIT" > < / span > < span class = "NAME" > encodeURIComponent< / span > < span class = "PUNC" > (< / span > < span class = "NAME" > spec.getFullName< / span > < span class = "PUNC" > (< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > )< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > }< / span > < span class = "PUNC" > ,< / span > < span class = "WHIT" > < / span > < span class = "NAME" > spec.getFullName< / span > < span class = "PUNC" > (< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 86< / span >
< span class = 'line' > 87< / span >
< span class = 'line' > 88< / span > < / span > < span class = "WHIT" > < / span > < span class = "KEYW" > var< / span > < span class = "WHIT" > < / span > < span class = "NAME" > resultItems< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > =< / span > < span class = "WHIT" > < / span > < span class = "NAME" > results.getItems< / span > < span class = "PUNC" > (< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 89< / span > < / span > < span class = "WHIT" > < / span > < span class = "KEYW" > for< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > (< / span > < span class = "KEYW" > var< / span > < span class = "WHIT" > < / span > < span class = "NAME" > i< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > =< / span > < span class = "WHIT" > < / span > < span class = "NUMB" > 0< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" > < / span > < span class = "NAME" > i< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > < < / span > < span class = "WHIT" > < / span > < span class = "NAME" > resultItems.length< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" > < / span > < span class = "NAME" > i< / span > < span class = "PUNC" > ++< / span > < span class = "PUNC" > )< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > {< / span > < span class = "WHIT" >
< span class = 'line' > 90< / span > < / span > < span class = "WHIT" > < / span > < span class = "KEYW" > var< / span > < span class = "WHIT" > < / span > < span class = "NAME" > result< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > =< / span > < span class = "WHIT" > < / span > < span class = "NAME" > resultItems< / span > < span class = "PUNC" > [< / span > < span class = "NAME" > i< / span > < span class = "PUNC" > ]< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 91< / span > < / span > < span class = "WHIT" > < / span > < span class = "KEYW" > if< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > (< / span > < span class = "NAME" > result.passed< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > & & < / span > < span class = "WHIT" > < / span > < span class = "PUNC" > !< / span > < span class = "NAME" > result.passed< / span > < span class = "PUNC" > (< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > )< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > {< / span > < span class = "WHIT" >
2009-12-24 05:29:34 +00:00
< span class = 'line' > 92< / span > < / span > < span class = "WHIT" > < / span > < span class = "NAME" > specDiv.appendChild< / span > < span class = "PUNC" > (< / span > < span class = "NAME" > this.createDom< / span > < span class = "PUNC" > (< / span > < span class = "STRN" > 'div'< / span > < span class = "PUNC" > ,< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > {< / span > < span class = "NAME" > className< / span > < span class = "PUNC" > :< / span > < span class = "WHIT" > < / span > < span class = "STRN" > 'resultMessage fail'< / span > < span class = "PUNC" > }< / span > < span class = "PUNC" > ,< / span > < span class = "WHIT" > < / span > < span class = "NAME" > result.message< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 93< / span > < / span > < span class = "WHIT" > < / span > < span class = "NAME" > specDiv.appendChild< / span > < span class = "PUNC" > (< / span > < span class = "NAME" > this.createDom< / span > < span class = "PUNC" > (< / span > < span class = "STRN" > 'div'< / span > < span class = "PUNC" > ,< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > {< / span > < span class = "NAME" > className< / span > < span class = "PUNC" > :< / span > < span class = "WHIT" > < / span > < span class = "STRN" > 'stackTrace'< / span > < span class = "PUNC" > }< / span > < span class = "PUNC" > ,< / span > < span class = "WHIT" > < / span > < span class = "NAME" > result.trace.stack< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 94< / span > < / span > < span class = "WHIT" > < / span > < span class = "PUNC" > }< / span > < span class = "WHIT" >
< span class = 'line' > 95< / span > < / span > < span class = "WHIT" > < / span > < span class = "PUNC" > }< / span > < span class = "WHIT" >
< span class = 'line' > 96< / span > < / span > < span class = "WHIT" > < / span > < span class = "NAME" > this.suiteDivs< / span > < span class = "PUNC" > [< / span > < span class = "NAME" > spec.suite.getFullName< / span > < span class = "PUNC" > (< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > ]< / span > < span class = "PUNC" > .< / span > < span class = "NAME" > appendChild< / span > < span class = "PUNC" > (< / span > < span class = "NAME" > specDiv< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 97< / span > < / span > < span class = "PUNC" > }< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 98< / span >
< span class = 'line' > 99< / span > < / span > < span class = "NAME" > jasmine.TrivialReporter.prototype.log< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > =< / span > < span class = "WHIT" > < / span > < span class = "KEYW" > function< / span > < span class = "PUNC" > (< / span > < span class = "PUNC" > )< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > {< / span > < span class = "WHIT" >
< span class = 'line' > 100< / span > < / span > < span class = "WHIT" > < / span > < span class = "NAME" > console.log.apply< / span > < span class = "PUNC" > (< / span > < span class = "NAME" > console< / span > < span class = "PUNC" > ,< / span > < span class = "WHIT" > < / span > < span class = "NAME" > arguments< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 101< / span > < / span > < span class = "PUNC" > }< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 102< / span >
< span class = 'line' > 103< / span > < / span > < span class = "NAME" > jasmine.TrivialReporter.prototype.getLocation< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > =< / span > < span class = "WHIT" > < / span > < span class = "KEYW" > function< / span > < span class = "PUNC" > (< / span > < span class = "PUNC" > )< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > {< / span > < span class = "WHIT" >
< span class = 'line' > 104< / span > < / span > < span class = "WHIT" > < / span > < span class = "KEYW" > return< / span > < span class = "WHIT" > < / span > < span class = "NAME" > this.document.location< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 105< / span > < / span > < span class = "PUNC" > }< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 106< / span >
< span class = 'line' > 107< / span > < / span > < span class = "NAME" > jasmine.TrivialReporter.prototype.specFilter< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > =< / span > < span class = "WHIT" > < / span > < span class = "KEYW" > function< / span > < span class = "PUNC" > (< / span > < span class = "NAME" > spec< / span > < span class = "PUNC" > )< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > {< / span > < span class = "WHIT" >
< span class = 'line' > 108< / span > < / span > < span class = "WHIT" > < / span > < span class = "KEYW" > var< / span > < span class = "WHIT" > < / span > < span class = "NAME" > paramMap< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > =< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > {< / span > < span class = "PUNC" > }< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 109< / span > < / span > < span class = "WHIT" > < / span > < span class = "KEYW" > var< / span > < span class = "WHIT" > < / span > < span class = "NAME" > params< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > =< / span > < span class = "WHIT" > < / span > < span class = "NAME" > this.getLocation< / span > < span class = "PUNC" > (< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > .< / span > < span class = "NAME" > search.substring< / span > < span class = "PUNC" > (< / span > < span class = "NUMB" > 1< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > .< / span > < span class = "NAME" > split< / span > < span class = "PUNC" > (< / span > < span class = "STRN" > '& '< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 110< / span > < / span > < span class = "WHIT" > < / span > < span class = "KEYW" > for< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > (< / span > < span class = "KEYW" > var< / span > < span class = "WHIT" > < / span > < span class = "NAME" > i< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > =< / span > < span class = "WHIT" > < / span > < span class = "NUMB" > 0< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" > < / span > < span class = "NAME" > i< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > < < / span > < span class = "WHIT" > < / span > < span class = "NAME" > params.length< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" > < / span > < span class = "NAME" > i< / span > < span class = "PUNC" > ++< / span > < span class = "PUNC" > )< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > {< / span > < span class = "WHIT" >
< span class = 'line' > 111< / span > < / span > < span class = "WHIT" > < / span > < span class = "KEYW" > var< / span > < span class = "WHIT" > < / span > < span class = "NAME" > p< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > =< / span > < span class = "WHIT" > < / span > < span class = "NAME" > params< / span > < span class = "PUNC" > [< / span > < span class = "NAME" > i< / span > < span class = "PUNC" > ]< / span > < span class = "PUNC" > .< / span > < span class = "NAME" > split< / span > < span class = "PUNC" > (< / span > < span class = "STRN" > '='< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 112< / span > < / span > < span class = "WHIT" > < / span > < span class = "NAME" > paramMap< / span > < span class = "PUNC" > [< / span > < span class = "NAME" > decodeURIComponent< / span > < span class = "PUNC" > (< / span > < span class = "NAME" > p< / span > < span class = "PUNC" > [< / span > < span class = "NUMB" > 0< / span > < span class = "PUNC" > ]< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > ]< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > =< / span > < span class = "WHIT" > < / span > < span class = "NAME" > decodeURIComponent< / span > < span class = "PUNC" > (< / span > < span class = "NAME" > p< / span > < span class = "PUNC" > [< / span > < span class = "NUMB" > 1< / span > < span class = "PUNC" > ]< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 113< / span > < / span > < span class = "WHIT" > < / span > < span class = "PUNC" > }< / span > < span class = "WHIT" >
< span class = 'line' > 114< / span >
< span class = 'line' > 115< / span > < / span > < span class = "WHIT" > < / span > < span class = "KEYW" > if< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > (< / span > < span class = "PUNC" > !< / span > < span class = "NAME" > paramMap< / span > < span class = "PUNC" > [< / span > < span class = "STRN" > "spec"< / span > < span class = "PUNC" > ]< / span > < span class = "PUNC" > )< / span > < span class = "WHIT" > < / span > < span class = "KEYW" > return< / span > < span class = "WHIT" > < / span > < span class = "KEYW" > true< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 116< / span > < / span > < span class = "WHIT" > < / span > < span class = "KEYW" > return< / span > < span class = "WHIT" > < / span > < span class = "NAME" > spec.getFullName< / span > < span class = "PUNC" > (< / span > < span class = "PUNC" > )< / span > < span class = "PUNC" > .< / span > < span class = "NAME" > indexOf< / span > < span class = "PUNC" > (< / span > < span class = "NAME" > paramMap< / span > < span class = "PUNC" > [< / span > < span class = "STRN" > "spec"< / span > < span class = "PUNC" > ]< / span > < span class = "PUNC" > )< / span > < span class = "WHIT" > < / span > < span class = "PUNC" > ==< / span > < span class = "WHIT" > < / span > < span class = "NUMB" > 0< / span > < span class = "PUNC" > ;< / span > < span class = "WHIT" >
< span class = 'line' > 117< / span > < / span > < span class = "PUNC" > }< / span > < span class = "PUNC" > ;< / span > < / pre > < / body > < / html >