4 new revisions:

Revision: 50d7e63a6b9b
Author:   Jussi Malinen
Date:     Mon Jun  6 07:35:35 2011
Log:      larger example data
http://code.google.com/p/robotframework/source/detail?r=50d7e63a6b9b

Revision: f60af452c494
Author:   Jussi Malinen
Date:     Mon Jun  6 07:36:48 2011
Log:      totals selectors are now radiobuttons
http://code.google.com/p/robotframework/source/detail?r=f60af452c494

Revision: d49adcd7dacd
Author:   Jussi Malinen
Date:     Mon Jun  6 08:07:17 2011
Log:      show status and total time with totals in detail box
http://code.google.com/p/robotframework/source/detail?r=d49adcd7dacd

Revision: d625c9d36551
Author:   Jussi Malinen
Date:     Mon Jun  6 08:38:20 2011
Log:      color passed totals or tags to green in status
http://code.google.com/p/robotframework/source/detail?r=d625c9d36551

==============================================================================
Revision: 50d7e63a6b9b
Author:   Jussi Malinen
Date:     Mon Jun  6 07:35:35 2011
Log:      larger example data
http://code.google.com/p/robotframework/source/detail?r=50d7e63a6b9b

Modified:
 /src/robot/webcontent/js/output.js

=======================================
--- /src/robot/webcontent/js/output.js  Sun May 29 22:33:49 2011
+++ /src/robot/webcontent/js/output.js  Mon Jun  6 07:35:35 2011
@@ -1,3 +1,3 @@
-window.basemillis = 1306326755122;
-window.data = [-47,"Robot trunk 20110504 (Python 2.6.5 on linux2)",["suite","/home/mkorpela/workspace/flounder/data","Data",1,{"root":2},["setup",3,0,4,5,[0,"I",5],["P",0,0]],["suite","/home/mkorpela/workspace/flounder/data/all_settings.txt","All Settings",6,{"meta":7,"version":8},["setup",3,0,4,9,[2,"I",9],["P",2,0]],["test",10,11,"Y",12,["setup",3,0,4,13,[4,"I",13],["P",3,2]],["kw",14,0,15,16,["kw",3,0,4,17,[6,"W",18],["P",6,2]],["P",5,3]],["kw",14,0,15,19,["kw",3,0,4,17,[10,"I",20],["P",9,3]],["P",9,3]],["teardown",3,0,4,21,[12,"I",21],["P",12,0]],[22,23],["P",3,10]],["teardown",3,0,4,24,[13,"I",24],["P",13,1]],["P",0,14],[1,0,1,0]],["suite","/home/mkorpela/workspace/flounder/data/failing_suite.txt","Failing Suite",0,{},["test",25,0,"Y",0,["kw",26,0,27,28,[21,"F",28],["F",18,3]],[],["F",18,3]],["test",29,0,"Y",0,["kw",30,0,0,0,["kw",26,0,27,28,[23,"F",28],["F",23,1]],["F",22,2]],[],["F",22,2]],["test",31,0,"Y",0,["kw",32,0,0,0,[25,"F",33],["F",25,0]],[],["F",24,2]],["F",14,12],[3,0,3,0]],["teardown",26,0,27,0,[27,"F",34],["F",27,0]],["F",-36,64],[4,0,4,0]],[[["Critical Tests",0,4,"","",""],["All Tests",0,4,"","",""]],[["someothertag",0,1,"","",""],["sometag",0,1,"","",""]],[["Data",0,4,"Data","",""],["Data.All Settings",0,1,"Data.All Settings","",""],["Data.Failing Suite",0,3,"Data.Failing Suite","",""]]],[[6,"W",18,"keyword_Data.All Settings.My test.1.0"],[16,"E",35],[17,"E",36]]]; -window.strings =["*","*root docs \nwith new line, several spaces \" \" and a <b>bold tag</b>.","*rocks","*BuiltIn.Log","*Logs the given message with the given level.","*Rock on","*Suite docs\nwith new line, several spaces \" \" and a <b>bold tag</b>.","*rulez with <b>escaped</b>","*alpha","*suite msg","*My test","*1 minute","*Test docs\nwith new line, several spaces \" \" and a <b>bold tag</b>.","*Test setup msg","*My kw","*Kw docs","*This is my _non html_ message\\nwith new line, several spaces \" \\ \\ \\ \" and a <b>bold tag</b>.","*${arg}, ${level}","*This is my _non html_ message\nwith new line, several spaces \" \" and a &lt;b&gt;bold tag&lt;/b&gt;.","*This is my <blink>HTML</blink> message\\nwith new line, several spaces \" \\ \\ \\ \" and a <b>bold tag</b>., HTML","*This is my <blink>HTML</blink> message\nwith new line, several spaces \" \" and a <b>bold tag</b>.","*Test teardown msg","*someothertag","*sometag","*suite teardown msg","*This fails at test","*BuiltIn.Fail","*Fails the test immediately with the given (optional) message.","*Failure msg","*This fails at kw","*Lets fail at keyword","*This Errors","*This does not exist","*No keyword with name 'This does not exist' found.","*AssertionError","eNqdlEFvGyEQhe/+FSiXTSQDtpO4lqUeemgVS1Vqqb5UUbTCy3iDlmVWwDa7/75DHKttZCe2j8B7H8MAb+F+K2s0C72LqmPGsY2xwDL5hDXIukLfgFXyGX0VGlWA3FhsnQYvtYpKbpSxxpV5aE0EEbuYJURU68T4CTHSYsjmbFE36NOARQiRWbP2yvcsW2h0EToTyJhYoHfar96jn7N7ZDXqlnBO1aDZX8Ng+Wt19+N++WV1N2cPmWyDlxYLZSXRZdPHJ3QTMZWatJxKr1QJQXpcY5Tb/Q2EbMiOdWos2mhs4CPxiTc9CQSU5SkAKNCriJ5fi4kYncV4KX/jqRXpRvIAFpxp69d+8om4OQtbY1Glc4nR+jyAwwAEGI/F9Vn+sm2aPgHE7dbP6Vm1He9m03x6cyJs2Zc1uBj4eH87/rXun5WNVXFbwuSAgkY8Vu8sotXvrOreWVSHFP+d5xiNXC6+H6UraUBtHr0Rb/9Y+LAvb2Cxoif3IeuAbj/zuSPpjJNlwltnCtRw/NUnpcgeBytPUbWmSXZZI+WNh4IeBCO3ZVaFeDUfMPYtBd3FSbnxEgDS7MJMNP3FkMLMAZvdDlPy5Q5drjFG0PlWRhuxXYR9ZvnrbJ5fpjy7+gOJw955","*Invalid syntax in file '/home/mkorpela/workspace/flounder/data/failing_suite.txt' in table 'Settings': Resource file 'And I'm not here' does not exist."];
+window.basemillis = 1307369728082;
+window.data = [-422,"Robot trunk 20110527 (Python 2.6.1 on darwin)",["suite","/tmp/misc","Misc",0,{},["suite","/tmp/misc/dummy_lib_test.html","Dummy Lib Test",0,{},["test",1,0,"N",0,["kw",2,0,0,0,[0,"F",3],["F",0,0]],[4],["F",-1,1]],["P",-5,6],[1,0,0,0]],["suite","/tmp/misc/many_tests.html","Many Tests",5,{"Something":6},["setup",7,0,8,9,[6,"I",9],["P",5,1]],["test",10,0,"Y",0,["kw",7,0,8,11,[7,"I",11],["P",7,1]],[12,4,13,14],["P",6,2]],["test",15,0,"Y",0,["kw",7,0,8,16,[10,"I",16],["P",9,1]],[17,18,12,4],["P",9,1]],["test",19,0,"Y",0,["kw",7,0,8,20,[13,"I",20],["P",12,1]],[17,18,12,4],["P",11,2]],["test",21,0,"Y",0,["kw",7,0,8,22,[16,"I",22],["P",15,1]],[17,18,12,4],["P",14,2]],["test",23,0,"Y",0,["kw",7,0,8,24,[18,"I",24],["P",17,1]],[17,18,12,4],["P",17,1]],["teardown",25,0,26,0,["P",19,1]],["P",2,18],[5,5,5,5]],["suite","/tmp/misc/multiple_suites","Multiple Suites",0,{},["suite","/tmp/misc/multiple_suites/01__suite_first.html","Suite First",0,{},["test",27,0,"N",0,["kw",28,0,26,0,["P",26,0]],[4],["P",25,2]],["test",29,0,"N",0,["kw",28,0,26,0,["P",28,0]],[4],["P",27,2]],["test",30,0,"N",0,["kw",28,0,26,0,["P",30,0]],[4],["P",29,2]],["test",31,0,"N",0,["kw",28,0,26,0,["P",32,0]],[4],["P",31,2]],["test",32,0,"N",0,["kw",28,0,26,0,["P",34,1]],[4],["P",33,2]],["test",33,0,"N",0,["kw",28,0,26,0,["P",39,0]],[4],["P",36,4]],["test",34,0,"N",0,["kw",28,0,26,0,["P",48,1]],[4],["P",47,2]],["test",35,0,"N",0,["kw",28,0,26,0,["P",50,1]],[4],["P",50,1]],["test",36,0,"N",0,["kw",28,0,26,0,["P",53,0]],[4],["P",52,2]],["test",37,0,"N",0,["kw",28,0,26,0,["P",56,0]],[4],["P",55,2]],["test",38,0,"N",0,["kw",28,0,26,0,["P",58,0]],[4],["P",57,1]],["test",39,0,"N",0,["kw",28,0,26,0,["P",60,0]],[4],["P",59,1]],["P",23,38],[12,12,0,0]],["suite","/tmp/misc/multiple_suites/02__subsuite1","Subsuite1",0,{},["suite","/tmp/misc/multiple_suites/02__subsuite1/first__suite4.html","Suite4",0,{},["test",27,0,"N",0,["kw",28,0,26,0,["P",73,1]],[4],["P",72,2]],["test",29,0,"N",0,["kw",28,0,26,0,["P",75,0]],[4],["P",74,2]],["test",30,0,"N",0,["kw",28,0,26,0,["P",77,0]],[4],["P",76,2]],["test",31,0,"N",0,["kw",28,0,26,0,["P",79,0]],[4],["P",78,2]],["test",32,0,"N",0,["kw",28,0,26,0,["P",81,0]],[4],["P",80,1]],["test",33,0,"N",0,["kw",28,0,26,0,["P",93,1]],[4],["P",82,12]],["test",34,0,"N",0,["kw",28,0,26,0,["P",96,0]],[4],["P",95,1]],["test",35,0,"N",0,["kw",28,0,26,0,["P",97,1]],[4],["P",97,1]],["test",36,0,"N",0,["kw",28,0,26,0,["P",99,1]],[4],["P",99,1]],["test",37,0,"N",0,["kw",28,0,26,0,["P",101,1]],[4],["P",101,1]],["test",38,0,"N",0,["kw",28,0,26,0,["P",105,1]],[4],["P",105,1]],["test",39,0,"N",0,["kw",7,0,8,40,[108,"W",41],["P",107,1]],[4],["P",106,2]],["P",64,45],[12,12,0,0]],["suite","/tmp/misc/multiple_suites/02__subsuite1/second__suite2.html","Suite2",0,{},["test",27,0,"N",0,["kw",28,0,26,0,["P",113,0]],[4],["P",112,2]],["test",29,0,"N",0,["kw",28,0,26,0,["P",115,0]],[4],["P",114,1]],["test",30,0,"N",0,["kw",28,0,26,0,["P",117,0]],[4],["P",116,1]],["test",31,0,"N",0,["kw",28,0,26,0,["P",119,0]],[4],["P",118,1]],["test",32,0,"N",0,["kw",28,0,26,0,["P",120,1]],[4],["P",120,1]],["test",33,0,"N",0,["kw",28,0,26,0,["P",122,1]],[4],["P",122,1]],["test",34,0,"N",0,["kw",28,0,26,0,["P",124,1]],[4],["P",123,2]],["test",35,0,"N",0,["kw",28,0,26,0,["P",126,0]],[4],["P",125,2]],["test",36,0,"N",0,["kw",28,0,26,0,["P",128,0]],[4],["P",127,2]],["test",37,0,"N",0,["kw",28,0,26,0,["P",130,0]],[4],["P",129,2]],["test",38,0,"N",0,["kw",28,0,26,0,["P",132,0]],[4],["P",131,2]],["test",39,0,"N",0,["kw",28,0,26,0,["P",134,3]],[4],["P",133,4]],["P",109,29],[12,12,0,0]],["P",62,77],[24,24,0,0]],["suite","/tmp/misc/multiple_suites/03__suite3.html","Suite3",0,{},["test",27,0,"N",0,["kw",28,0,26,0,["P",152,0]],[4],["P",142,11]],["test",29,0,"N",0,["kw",28,0,26,0,["P",155,0]],[4],["P",154,2]],["test",30,0,"N",0,["kw",28,0,26,0,["P",157,0]],[4],["P",156,1]],["test",31,0,"N",0,["kw",28,0,26,0,["P",159,0]],[4],["P",158,1]],["test",32,0,"N",0,["kw",28,0,26,0,["P",161,0]],[4],["P",160,1]],["test",33,0,"N",0,["kw",28,0,26,0,["P",162,1]],[4],["P",162,1]],["test",34,0,"N",0,["kw",28,0,26,0,["P",170,0]],[4],["P",164,7]],["test",35,0,"N",0,["kw",28,0,26,0,["P",172,0]],[4],["P",171,2]],["test",36,0,"N",0,["kw",28,0,26,0,["P",174,0]],[4],["P",173,2]],["test",37,0,"N",0,["kw",28,0,26,0,["P",176,0]],[4],["P",175,1]],["test",38,0,"N",0,["kw",28,0,26,0,["P",178,0]],[4],["P",177,1]],["test",39,0,"N",0,["kw",28,0,26,0,["P",179,1]],[4],["P",179,1]],["P",139,42],[12,12,0,0]],["suite","/tmp/misc/multiple_suites/04__suite4.html","Suite4",0,{},["test",27,0,"N",0,["kw",28,0,26,0,["P",184,1]],[4],["P",184,1]],["test",29,0,"N",0,["kw",28,0,26,0,["P",189,1]],[4],["P",188,2]],["test",30,0,"N",0,["kw",28,0,26,0,["P",191,1]],[4],["P",191,1]],["test",31,0,"N",0,["kw",28,0,26,0,["P",204,0]],[4],["P",203,1]],["test",32,0,"N",0,["kw",28,0,26,0,["P",206,0]],[4],["P",205,1]],["test",33,0,"N",0,["kw",28,0,26,0,["P",207,1]],[4],["P",207,1]],["test",34,0,"N",0,["kw",28,0,26,0,["P",209,1]],[4],["P",209,1]],["test",35,0,"N",0,["kw",28,0,26,0,["P",211,1]],[4],["P",211,1]],["test",36,0,"N",0,["kw",28,0,26,0,["P",213,0]],[4],["P",212,2]],["test",37,0,"N",0,["kw",28,0,26,0,["P",215,0]],[4],["P",214,2]],["test",38,0,"N",0,["kw",28,0,26,0,["P",217,0]],[4],["P",216,2]],["test",39,0,"N",0,["kw",28,0,26,0,["P",219,1]],[4],["P",218,3]],["P",181,40],[12,12,0,0]],["suite","/tmp/misc/multiple_suites/05__suite5.html","Suite5",0,{},["test",27,0,"N",0,["kw",28,0,26,0,["P",225,0]],[4],["P",224,2]],["test",29,0,"N",0,["kw",28,0,26,0,["P",227,0]],[4],["P",226,1]],["test",30,0,"N",0,["kw",28,0,26,0,["P",229,0]],[4],["P",228,2]],["test",31,0,"N",0,["kw",28,0,26,0,["P",231,0]],[4],["P",230,2]],["test",32,0,"N",0,["kw",28,0,26,0,["P",233,0]],[4],["P",232,2]],["test",33,0,"N",0,["kw",28,0,26,0,["P",235,0]],[4],["P",234,2]],["test",34,0,"N",0,["kw",28,0,26,0,["P",237,1]],[4],["P",236,2]],["test",35,0,"N",0,["kw",28,0,26,0,["P",239,1]],[4],["P",239,1]],["test",36,0,"N",0,["kw",28,0,26,0,["P",241,1]],[4],["P",241,1]],["test",37,0,"N",0,["kw",28,0,26,0,["P",243,1]],[4],["P",243,2]],["test",38,0,"N",0,["kw",28,0,26,0,["P",248,1]],[4],["P",248,1]],["test",39,0,"N",0,["kw",28,0,26,0,["P",250,0]],[4],["P",249,2]],["P",222,29],[12,12,0,0]],["suite","/tmp/misc/multiple_suites/10__suite10.html","Suite10",0,{},["test",27,0,"N",0,["kw",28,0,26,0,["P",259,0]],[4],["P",258,1]],["test",29,0,"N",0,["kw",28,0,26,0,["P",261,0]],[4],["P",260,1]],["test",30,0,"N",0,["kw",28,0,26,0,["P",262,1]],[4],["P",262,1]],["test",31,0,"N",0,["kw",28,0,26,0,["P",265,0]],[4],["P",264,2]],["test",32,0,"N",0,["kw",28,0,26,0,["P",270,1]],[4],["P",266,5]],["test",33,0,"N",0,["kw",28,0,26,0,["P",272,1]],[4],["P",272,1]],["test",34,0,"N",0,["kw",28,0,26,0,["P",274,1]],[4],["P",273,2]],["test",35,0,"N",0,["kw",28,0,26,0,["P",276,0]],[4],["P",275,2]],["test",36,0,"N",0,["kw",28,0,26,0,["P",278,1]],[4],["P",277,2]],["test",37,0,"N",0,["kw",28,0,26,0,["P",280,0]],[4],["P",279,2]],["test",38,0,"N",0,["kw",28,0,26,0,["P",282,0]],[4],["P",281,2]],["test",39,0,"N",0,["kw",28,0,26,0,["P",284,0]],[4],["P",283,2]],["P",252,33],[12,12,0,0]],["suite","/tmp/misc/multiple_suites/suite 6.html","Suite 6",0,{},["test",27,0,"N",0,["kw",28,0,26,0,["P",301,1]],[4,42],["P",301,1]],["test",29,0,"N",0,["kw",28,0,26,0,["P",304,1]],[4,42],["P",303,2]],["test",30,0,"N",0,["kw",28,0,26,0,["P",306,1]],[4,42],["P",305,2]],["test",31,0,"N",0,["kw",28,0,26,0,["P",308,1]],[4,42],["P",307,2]],["test",32,0,"N",0,["kw",28,0,26,0,["P",310,0]],[4,42],["P",309,2]],["test",33,0,"N",0,["kw",28,0,26,0,["P",312,0]],[4,42],["P",311,2]],["test",34,0,"N",0,["kw",28,0,26,0,["P",314,0]],[4,42],["P",313,2]],["test",35,0,"N",0,["kw",28,0,26,0,["P",316,0]],[4,42],["P",315,2]],["test",36,0,"N",0,["kw",28,0,26,0,["P",318,0]],[4,42],["P",317,2]],["test",37,0,"N",0,["kw",28,0,26,0,["P",320,1]],[4,42],["P",320,1]],["test",38,0,"N",0,["kw",28,0,26,0,["P",322,1]],[4,42],["P",322,1]],["test",39,0,"N",0,["kw",28,0,26,0,["P",324,1]],[4,42],["P",324,1]],["P",298,28],[12,12,0,0]],["suite","/tmp/misc/multiple_suites/SUite7.html","SUite7",0,{},["test",27,0,"N",0,["kw",28,0,26,0,["P",330,1]],[4],["P",330,1]],["test",29,0,"N",0,["kw",28,0,26,0,["P",332,1]],[4],["P",332,1]],["test",30,0,"N",0,["kw",28,0,26,0,["P",335,0]],[4],["P",334,2]],["test",31,0,"N",0,["kw",28,0,26,0,["P",338,0]],[4],["P",337,1]],["test",32,0,"N",0,["kw",28,0,26,0,["P",340,1]],[4],["P",339,2]],["test",33,0,"N",0,["kw",28,0,26,0,["P",344,1]],[4],["P",343,2]],["test",34,0,"N",0,["kw",28,0,26,0,["P",346,0]],[4],["P",345,2]],["test",35,0,"N",0,["kw",28,0,26,0,["P",348,1]],[4],["P",347,2]],["test",36,0,"N",0,["kw",28,0,26,0,["P",350,0]],[4],["P",349,2]],["test",37,0,"N",0,["kw",28,0,26,0,["P",352,0]],[4],["P",351,2]],["test",38,0,"N",0,["kw",28,0,26,0,["P",354,1]],[4],["P",354,1]],["test",39,0,"N",0,["kw",28,0,26,0,["P",356,1]],[4],["P",356,1]],["P",326,31],[12,12,0,0]],["suite","/tmp/misc/multiple_suites/suiTe_8.html","suiTe 8",0,{},["test",27,0,"N",0,["kw",28,0,26,0,["P",361,1]],[4],["P",360,2]],["test",29,0,"N",0,["kw",28,0,26,0,["P",363,1]],[4],["P",363,1]],["test",30,0,"N",0,["kw",28,0,26,0,["P",365,1]],[4],["P",365,1]],["test",31,0,"N",0,["kw",28,0,26,0,["P",369,1]],[4],["P",369,1]],["test",32,0,"N",0,["kw",28,0,26,0,["P",371,1]],[4],["P",371,1]],["test",33,0,"N",0,["kw",28,0,26,0,["P",373,1]],[4],["P",373,1]],["test",34,0,"N",0,["kw",28,0,26,0,["P",375,1]],[4],["P",374,2]],["test",35,0,"N",0,["kw",28,0,26,0,["P",377,0]],[4],["P",376,2]],["test",36,0,"N",0,["kw",28,0,26,0,["P",389,0]],[4],["P",378,11]],["test",37,0,"N",0,["kw",28,0,26,0,["P",391,0]],[4],["P",390,1]],["test",38,0,"N",0,["kw",28,0,26,0,["P",392,1]],[4],["P",392,1]],["test",39,0,"N",0,["kw",28,0,26,0,["P",394,1]],[4],["P",394,1]],["P",358,38],[12,12,0,0]],["suite","/tmp/misc/multiple_suites/suite_9_name.html","Suite 9 Name",0,{},["test",27,0,"N",0,["kw",28,0,26,0,["P",399,1]],[4],["P",399,1]],["test",29,0,"N",0,["kw",28,0,26,0,["P",401,1]],[4],["P",401,1]],["test",30,0,"N",0,["kw",28,0,26,0,["P",404,1]],[4],["P",403,2]],["test",31,0,"N",0,["kw",28,0,26,0,["P",406,1]],[4],["P",406,1]],["test",32,0,"N",0,["kw",28,0,26,0,["P",408,1]],[4],["P",407,2]],["test",33,0,"N",0,["kw",28,0,26,0,["P",410,0]],[4],["P",409,2]],["test",34,0,"N",0,["kw",28,0,26,0,["P",412,0]],[4],["P",411,2]],["test",35,0,"N",0,["kw",28,0,26,0,["P",414,0]],[4],["P",413,2]],["test",36,0,"N",0,["kw",28,0,26,0,["P",416,0]],[4],["P",415,2]],["test",37,0,"N",0,["kw",28,0,26,0,["P",418,0]],[4],["P",417,1]],["test",38,0,"N",0,["kw",28,0,26,0,["P",420,1]],[4],["P",420,1]],["test",39,0,"N",0,["kw",28,0,26,0,["P",422,1]],[4],["P",422,1]],["P",396,28],[12,12,0,0]],["P",21,404],[132,132,0,0]],["suite","/tmp/misc/normal.html","Normal",5,{"Something":6},["test",43,0,"Y",0,["kw",7,0,8,11,[429,"I",11],["P",428,1]],["kw",7,0,8,44,[430,"D",45],["P",429,1]],["kw",46,0,0,0,["kw",7,0,8,47,["P",431,1]],["P",430,2]],[12,4,13,14],["P",428,4]],["test",15,0,"Y",0,["kw",7,0,8,16,[434,"I",16],["P",434,0]],["kw",48,0,49,50,[446,"I",51],["P",435,11]],[17,18,12,4],["P",433,14]],["P",425,23],[2,2,2,2]],["suite","/tmp/misc/pass_and_fail.html","Pass And Fail",52,{},["setup",53,0,0,54,["kw",7,0,8,55,[453,"I",56],["P",452,1]],["kw",7,0,8,57,[454,"D",58],["P",453,1]],["P",451,4]],["test",59,0,"N",0,["kw",53,0,0,59,["kw",7,0,8,55,[457,"I",60],["P",456,2]],["kw",7,0,8,57,[458,"D",58],["P",458,1]],["P",456,3]],[4,61,62],["P",455,4]],["test",63,0,"Y",64,["kw",53,0,0,63,["kw",7,0,8,55,[462,"I",65],["P",461,1]],["kw",7,0,8,57,[463,"D",58],["P",463,0]],["P",461,3]],["kw",66,0,67,68,[466,"F",69],[466,"D",70],["F",464,3]],[71,4,61],["F",460,7]],["F",449,19],[2,1,1,0]],["suite","/tmp/misc/suites","Suites",0,{},["suite","/tmp/misc/suites/fourth.html","Fourth",5,{"Something":6},["test",72,0,"Y",73,["kw",7,0,8,74,[494,"I",74],["P",494,0]],["kw",48,0,49,75,[595,"I",76],["P",495,101]],["kw",66,0,67,77,[597,"F",77],[597,"D",70],["F",596,1]],["teardown",7,0,8,78,[598,"I",78],["P",598,0]],[12,4,13],["F",492,107]],["teardown",7,0,8,79,[600,"I",79],["P",599,1]],["F",489,111],[1,0,1,0]],["suite","/tmp/misc/suites/subsuites","Subsuites",0,{},["suite","/tmp/misc/suites/subsuites/sub1.html","Sub1",5,{"Something":6},["test",80,0,"Y",0,["kw",7,0,8,81,[608,"I",81],["P",608,1]],["kw",48,0,49,82,[710,"I",76],["P",609,101]],["kw",83,0,84,85,[711,"I",86],["P",710,1]],[12,4,13],["P",607,105]],["P",605,107],[1,1,1,1]],["suite","/tmp/misc/suites/subsuites/sub2.html","Sub2",5,{"Something":6},["test",87,0,"Y",0,["kw",7,0,8,88,[717,"I",88],["P",717,0]],["kw",48,0,49,82,[818,"I",76],["P",717,102]],[12,4],["P",716,103]],["P",713,107],[1,1,1,1]],["P",601,219],[2,2,2,2]],["suite","/tmp/misc/suites/subsuites2","Subsuites2",0,{},["suite","/tmp/misc/suites/subsuites2/subsuite3.html","Subsuite3",5,{"Something":6},["test",89,0,"Y",0,["kw",7,0,8,90,[827,"I",90],["P",826,1]],["kw",48,0,49,75,[928,"I",76],["P",828,100]],[12,4,91,13],["P",826,103]],["test",92,0,"Y",0,["kw",7,0,8,93,[931,"I",93],["P",930,1]],[12,4,91,14],["P",930,1]],["P",823,109],[2,2,2,2]],["P",821,112],[2,2,2,2]],["suite","/tmp/misc/suites/tsuite1.html","Tsuite1",5,{"Something":6},["test",94,0,"Y",0,["kw",7,0,8,95,[939,"I",95],["P",939,0]],["kw",48,0,49,75,[1040,"I",76],["P",940,101]],[12,4,13],["P",938,103]],["test",96,0,"Y",0,["kw",7,0,8,97,[1043,"I",97],["P",1043,0]],[12,4,14],["P",1042,2]],["test",98,0,"Y",0,["kw",7,0,8,99,[1046,"I",99],["P",1045,1]],[17,18,12,4],["P",1044,2]],["P",934,113],[3,3,3,3]],["suite","/tmp/misc/suites/tsuite2.html","Tsuite2",5,{"Something":6},["test",100,0,"Y",0,["kw",7,0,8,101,[1051,"I",101],["P",1051,0]],["kw",48,0,49,75,[1152,"I",76],["P",1052,101]],[12,4,13],["P",1050,103]],["P",1047,108],[1,1,1,1]],["suite","/tmp/misc/suites/tsuite3.html","Tsuite3",5,{"Something":6},["test",102,0,"Y",0,["kw",7,0,8,103,[1160,"I",103],["P",1159,1]],["kw",48,0,49,75,[1261,"I",76],["P",1160,101]],[12,4,13],["P",1158,104]],["teardown",7,0,8,104,[1263,"I",104],["P",1262,1]],["P",1156,107],[1,1,1,1]],["teardown",7,0,8,105,[1265,"I",106],["P",1264,1]],["F",468,797],[10,9,10,9]],["suite","/tmp/misc/unicode.html","Unicode",0,{},["test",107,0,"N",0,["kw",108,0,109,0,[1275,"I",110],[1275,"I",111],[1275,"I",112],["P",1275,1]],["kw",113,0,114,115,[1277,"I",116],["P",1276,1]],["kw",7,0,8,117,[1278,"I",118],["P",1277,1]],["kw",7,0,8,118,[1279,"I",118],["P",1278,1]],[4],["P",1274,5]],["P",1266,14],[1,1,0,0]],["suite","/tmp/misc/warnings.txt","Warnings",0,{},["setup",119,0,0,120,["kw",7,0,8,121,[1284,"W",122],["P",1284,0]],["P",1283,2]],["test",123,0,"N",0,["kw",7,0,8,124,[1287,"W",125],["P",1286,1]],[4],["P",1285,2]],["test",126,0,"N",0,["kw",7,0,8,127,[1289,"I",127],["P",1288,1]],["kw",119,0,0,128,["kw",7,0,8,121,[1292,"W",129],["P",1291,1]],["P",1290,2]],[4],["P",1288,5]],["teardown",119,0,0,130,["kw",7,0,8,121,[1295,"W",131],["P",1294,1]],["P",1293,2]],["P",1280,16],[2,2,0,0]],["F",-62,1359],[155,152,18,16]],[[["Critical Tests",16,2,"","",""],["All Tests",152,3,"","",""]],[["f1",16,1,"","critical",""],["fail",0,1,"","critical",""],["d1",6,0,"","",""],["d2",6,0,"","",""],["foo/+?bar&lpoo=huhu",152,3,"","",""],["force",1,1,"","",""],["pass",1,0,"","",""],["some",12,0,"","",""],["sub3",2,0,"","",""],["t1",7,1,"","",""],["t2",4,0,"","",""]],[["Misc",152,3,"Misc","",""],["Misc.Dummy Lib Test",0,1,"Misc.Dummy Lib Test","",""],["Misc.Many Tests",5,0,"Misc.Many Tests","",""],["Misc.Multiple Suites",132,0,"Misc.Multiple Suites","",""],["Misc.Multiple Suites.Suite First",12,0,"Misc.Multiple Suites.Suite First","",""],["Misc.Multiple Suites.Subsuite1",24,0,"Misc.Multiple Suites.Subsuite1","",""],["Misc.Multiple Suites.Subsuite1.Suite4",12,0,"Misc.Multiple Suites.Subsuite1.Suite4","",""],["Misc.Multiple Suites.Subsuite1.Suite2",12,0,"Misc.Multiple Suites.Subsuite1.Suite2","",""],["Misc.Multiple Suites.Suite3",12,0,"Misc.Multiple Suites.Suite3","",""],["Misc.Multiple Suites.Suite4",12,0,"Misc.Multiple Suites.Suite4","",""],["Misc.Multiple Suites.Suite5",12,0,"Misc.Multiple Suites.Suite5","",""],["Misc.Multiple Suites.Suite10",12,0,"Misc.Multiple Suites.Suite10","",""],["Misc.Multiple Suites.Suite 6",12,0,"Misc.Multiple Suites.Suite 6","",""],["Misc.Multiple Suites.SUite7",12,0,"Misc.Multiple Suites.SUite7","",""],["Misc.Multiple Suites.suiTe 8",12,0,"Misc.Multiple Suites.suiTe 8","",""],["Misc.Multiple Suites.Suite 9 Name",12,0,"Misc.Multiple Suites.Suite 9 Name","",""],["Misc.Normal",2,0,"Misc.Normal","",""],["Misc.Pass And Fail",1,1,"Misc.Pass And Fail","",""],["Misc.Suites",9,1,"Misc.Suites","",""],["Misc.Suites.Fourth",0,1,"Misc.Suites.Fourth","",""],["Misc.Suites.Subsuites",2,0,"Misc.Suites.Subsuites","",""],["Misc.Suites.Subsuites.Sub1",1,0,"Misc.Suites.Subsuites.Sub1","",""],["Misc.Suites.Subsuites.Sub2",1,0,"Misc.Suites.Subsuites.Sub2","",""],["Misc.Suites.Subsuites2",2,0,"Misc.Suites.Subsuites2","",""],["Misc.Suites.Subsuites2.Subsuite3",2,0,"Misc.Suites.Subsuites2.Subsuite3","",""],["Misc.Suites.Tsuite1",3,0,"Misc.Suites.Tsuite1","",""],["Misc.Suites.Tsuite2",1,0,"Misc.Suites.Tsuite2","",""],["Misc.Suites.Tsuite3",1,0,"Misc.Suites.Tsuite3","",""],["Misc.Unicode",1,0,"Misc.Unicode","",""],["Misc.Warnings",2,0,"Misc.Warnings","",""]]],[[-2,"E",132],[108,"W",41,"keyword_Misc.Multiple Suites.Subsuite1.Suite4.test12.0"],[329,"E",133],[1284,"W",122,"keyword_Misc.Warnings.0.0"],[1287,"W",125,"keyword_Misc.Warnings.Warning on top level.0"],[1292,"W",129,"keyword_Misc.Warnings.Nested Warning.1.0"],[1295,"W",131,"keyword_Misc.Warnings.1.0"]]]; +window.strings =["*","*Dummy Test","*dummykw","*No keyword with name 'dummykw' found.","*foo/+?bar&lpoo=huhu","*Normal test cases","*My Value","*BuiltIn.Log","*Logs the given message with the given level.","*Setup","*First","*Test 1","*f1","*t1","*t2","*Second One","*Test 2","*d1","*d2","*Third One","*Test 3","*Fourth One With More Complex Name","*Test 4","*Fifth","*Test 5","*DeprecatedBuiltIn.Noop","*Does absolutely nothing.","*test1","*BuiltIn.No Operation","*test2","*test3","*test4","*test5","*test6","*test7","*test8","*test9","*test10","*test11","*test12","*warning, WARN","*warning","*some","*First One","*Logging with debug level, DEBUG","*Logging with debug level","*logs on trace","*Log on ${TEST NAME}, TRACE","*BuiltIn.Sleep","*Pauses the test executed for the given time.","*0.01","*Slept 10 milliseconds","*Some tests here","*My Keyword","*Suite Setup","*Hello says \"${who}\"!, ${LEVEL1}","*Hello says \"Suite Setup\"!","*Debug message, ${LEVEL2}","*Debug message","*Pass","*Hello says \"Pass\"!","*force","*pass","*Fail","*FAIL Expected failure","*Hello says \"Fail\"!","*BuiltIn.Fail","*Fails the test immediately with the given (optional) message.","*msg=Expected failure","*Expected failure","*Traceback (most recent call last):\n File \"/Users/jmalinen/Documents/workspace/robotframework/src/robot/libraries/BuiltIn.py\", line 303, in fail\n raise AssertionError(msg) if msg else AssertionError()","*fail","*Suite4 First","*FAIL Expected","*Suite4_First","*0.1","*Slept 100 milliseconds","*Expected","*Huhuu","*Suite Teardonw of Fourth","*SubSuite1 First","*SubSuite1_First","*${SLEEP}","*DeprecatedBuiltIn.Equals","*Fails if the given objects are unequal.","*${FAIL}, NO, This test was doomed to fail","*Argument types are:\n&lt;type 'unicode'&gt;\n&lt;type 'unicode'&gt;","*SubSuite2 First","*SubSuite2_First","*SubSuite3 First","*SubSuite3_First","*sub3","*SubSuite3 Second","*SubSuite3_Second","*Suite1 First","*Suite1_First","*Suite1 Second","*Suite1_Second","*Third In Suite1","*Suite2_third","*Suite2 First","*Suite2_First","*Suite3 First","*Suite3_First","*Suite Teardown of Tsuite3","*${SUITE_TEARDOWN_ARG}","*Default suite teardown","*Unicode Test","*UnicodeLibrary.Print Unicode Strings","*Prints message containing unicode characters","*Circle is 360\u00b0","*Hyv\u00e4\u00e4 \u00fc\u00f6t\u00e4","*\u0989\u09c4 \u09f0 \u09fa \u099f \u09eb \u09ea \u09b9","*${msg} = BuiltIn.Evaluate","*Evaluates the given expression in Python and returns the results.","*u'Fran\\\\xe7ais'","*${msg} = Fran\u00e7ais","*${msg}","*Fran\u00e7ais","*Warning Keyword","*In Setup","*Dangerous ${where}, WARN","*Dangerous In Setup","*Warning on top level","*dangerous, WARN","*dangerous","*Nested Warning","*No warnings here","*In Test Case","*Dangerous In Test Case","*In Teardown","*Dangerous In Teardown","eNq1Vt1P2zAQf+evsHgJSMRu+eig0h6mAQIJQSXYpGmaIsc2xdT2RbZTGv76nRM6QHuAsOylTa93v49cLr5zt+RGSxIaF/mKaEdutVEkY3VQPrB7i/865ZgEUVvlYmAP4Beh4kIxDyXEW8+tSjHGowqRpQ/JI2dWB8FkbW1TGF0WKU7vojVZIom8TCzXKkbt5tmUnNsKfLomKZFghee+IdlxArjQZUZuOQqT68wT78FPySUQC7JGLIcyJFmnb8x+3JxdXc6+3JxNyc86e9bmVYDaCxXaX8gTsh1SZ9FW+J2xb69tH79tO3jx8couxDq7WoUW6aIzz2ZNvAPHdumEBR1VjhgLPkflQcW6igAm5CM6EeNxXjWYRdV8/j6AWTNvteVjukd7V6dnIeqOvG/tUvtYc6PcErn36WHf+oWWSHvUn7hqsC8Ra3fH/R07CApLx3i7+pYamGvDy4KH6OaJftSffo0hwFpwCHIw6i9EwFJ5vMr3nnueWy4grPJx6mTtNGYEbt6PaUEsUM4nOir3e5taWZPvrn28oaQOHu+C4CaNCntYdahYfkSxnW2wakN/8fxjOSZ3aTmqKwT3JbgW8roJUdk/Nk/XUx2eHNPnOf+OXjS40N6EF1wT+qirocDoZDgkVhkec8n9g3ZDo2Kf/wNkCudBeF3FV43/KMvJKnoeXpANqDlJjYuBAcHIgRFl4wxw+a5h7j1kwzYH86/K+68Dg7aTf5iervRCEiBVIqDZr40bj6d5id7JlgXcVrwSeJoStG6IwRf99nSDkNO0R21+YC3odhVKX+wH7XHL9HpHolWzuUMSIDk82En7VOHAFRJiVLLo0lABWe9Gn0nxFC2KrbQobf8Gs6h2fw==","eNq1Vt9P2zAQfuevsPYSkIjd8qNApT1MGwikCSoBk6ZpihzbFFPbF9lOafbX75zQUbQHCMtemvRy933f3eXiu3BLbrQkoXGRr4h25E4bRTJWB+UDe7D41CnHJIjaKhcDewS/CBUXinkoId55blWyMR5ViCz9SB45szoIZmsTdWVUEWqNT9j1LV6O6H20JktkkZeJ7VrFqN08m5ILW4FP9yQBEaNLz31DsktwpysdWi9yx1GjXDufeg9+Si6BWJA1wjlUJMlGxNbs+8351eXs0835lPyos2elXgWovUBl6R+yhWyX1Fm0FV4zdvuyCF9eL0Lw4v2RnYl1SWsVWqSvXQnYrIn34NgenbCARcwRY8HnqDyoWFcRwIR8RCdiPM6rBr2oms/fBjBr5q22fEz3ae/o9GZE3ZH3jV1qH2tulFsi9wE97hu/0BJpT/oTVw32JWLs3rh/xg6CwtAxlqtvqIG5NrwseIhunuhH/enXGAKsBYcgh6P+QgQslce7fP+557nlAsIqH6dO1k6jR+Dm7ZgWxALlHNFRedA7qZU1+d46j1eU1MFjFQQ3aVTY46pDxfATiu1sjVVr+ovnH8PRuXPLUV0huC/BtZDXTYjK/knzbD3V4Slj+jzn3zAXDS60RdjgmtBfuhoKjE6GQ2KV4TGX3D9qNzQq9vk/QCZzHoTXVXzR+PeynK6i52GDbEDNSWpcDAwIRg6MKBtngMs3DXPvIRu2Oeh/VT58Hhi0nfzj9HalD5IAqRIBzX5u3Xg8zUvMnWxbwJ3FK4GnKcHUDTH4od+ZbhFylraqD+9YC7pdhdKN/aA9bpleb0q0aj7skgRIjg9301ZVOHCFhBiVLDo3VEDW69FHUjxZi2I77Uo7vwFe8Xv8"];

==============================================================================
Revision: f60af452c494
Author:   Jussi Malinen
Date:     Mon Jun  6 07:36:48 2011
Log:      totals selectors are now radiobuttons
http://code.google.com/p/robotframework/source/detail?r=f60af452c494

Modified:
 /src/robot/webcontent/report.html

=======================================
--- /src/robot/webcontent/report.html   Mon Jun  6 06:47:14 2011
+++ /src/robot/webcontent/report.html   Mon Jun  6 07:36:48 2011
@@ -90,6 +90,9 @@
     padding: 2px 4px;
     white-space: pre-wrap;
   }
+  table.details .normal_whitespace {
+    white-space: normal;
+  }
   /* Tabs - adapted from http://www.htmldog.com/articles/tabs */
   #detail_tabs {
     list-style: none;
@@ -437,7 +440,7 @@
 }

 function ensureTotalDetailsAreVisible(type) {
-    document.getElementById('total_detail_selector').value = type;
+    document.getElementById('radio_'+type).checked = true;
     window.location.hash = 'total_'+type
 }

@@ -681,13 +684,15 @@
 <script  type="text/html" id="total_details_selector">
   <table class="details" id="details_header">
     <tr>
-      <th>Name:</th>
-      <td>
- <select id="total_detail_selector" onchange="totalDetailSelected(this.options[this.selectedIndex].value);">
-          <option value="">Select see to totals...</option>
-              <option value="All Tests">All Tests</option>
-              <option value="Critical Tests">Critical Tests</option>
-        </select>
+      <td class="normal_whitespace">
+ <input id="radio_Critical Tests" type="radio" name="totals_radio" onclick="totalDetailSelected('Critical Tests');">
+        <label for="radio_Critical Tests">Critical Tests</label>
+      </td>
+    </tr>
+    <tr>
+      <td class="normal_whitespace">
+ <input id="radio_All Tests" type="radio" name="totals_radio" onclick="totalDetailSelected('All Tests');">
+        <label for="radio_All Tests">All Tests</label>
       </td>
     </tr>
   </table>
@@ -697,7 +702,7 @@
   <table class="details" id="details_header">
     <tr>
       <th>Name:</th>
-      <td>
+      <td class="normal_whitespace">
<select id="tag_detail_selector" onchange="tagDetailSelected(this.options[this.selectedIndex].value);">
           <option value="">Select tag...</option>
             {{each tags}}
@@ -713,7 +718,7 @@
   <table class="details" id="details_header">
     <tr>
       <th>Name:</th>
-      <td>
+      <td class="normal_whitespace">
<select id="suite_detail_selector" onchange="suiteDetailSelected(this.options[this.selectedIndex].value);">
           <option value="">Select suite...</option>
             {{each suites}}

==============================================================================
Revision: d49adcd7dacd
Author:   Jussi Malinen
Date:     Mon Jun  6 08:07:17 2011
Log:      show status and total time with totals in detail box
http://code.google.com/p/robotframework/source/detail?r=d49adcd7dacd

Modified:
 /src/robot/webcontent/report.html

=======================================
--- /src/robot/webcontent/report.html   Mon Jun  6 07:36:48 2011
+++ /src/robot/webcontent/report.html   Mon Jun  6 08:07:17 2011
@@ -415,8 +415,14 @@
 }

 function renderTotalDetails(type) {
- $.tmpl(window.templates.totalDetails, {type:type}).appendTo('#details_header');
-    drawTestDetailsTable(getTotalTests(type));
+    if (type == 'Critical Tests')
+        var stat = window.testdata.statistics().total[0];
+    else
+        var stat = window.testdata.statistics().total[1];
+    var tests = getTotalTests(type)
+    stat.totalTime = calculateTotalTime(tests);
+ $.tmpl(window.templates.totalDetails, stat).appendTo('#details_header');
+    drawTestDetailsTable(tests);
 }

 function renderDetailsByTag(tag) {
@@ -684,13 +690,10 @@
 <script  type="text/html" id="total_details_selector">
   <table class="details" id="details_header">
     <tr>
+      <th>Type:</th>
       <td class="normal_whitespace">
<input id="radio_Critical Tests" type="radio" name="totals_radio" onclick="totalDetailSelected('Critical Tests');">
-        <label for="radio_Critical Tests">Critical Tests</label>
-      </td>
-    </tr>
-    <tr>
-      <td class="normal_whitespace">
+        <label for="radio_Critical Tests">Critical Tests</label><br>
<input id="radio_All Tests" type="radio" name="totals_radio" onclick="totalDetailSelected('All Tests');">
         <label for="radio_All Tests">All Tests</label>
       </td>
@@ -730,6 +733,17 @@
   </table>
 </script>

+<script type="text/html" id="total_details">
+    <tr>
+        <th>Status:</th>
+ <td>${total} total, ${pass} passed, {{if fail}}<span class="fail">${fail} failed<span>{{else}}0 failed{{/if}}</td>
+    </tr>
+    <tr>
+        <th>Total Time:</th>
+        <td>${totalTime}</td>
+    </tr>
+</script>
+
 <script type="text/html" id="tag_details">
     {{if doc}}
     <tr>
@@ -738,7 +752,7 @@
     </tr>
     {{/if}}
     <tr>
-        <th>Message:</th>
+        <th>Status:</th>
<td>${total} total, ${pass} passed, {{if fail}}<span class="fail">${fail} failed<span>{{else}}0 failed{{/if}}</td>
     </tr>
     {{if links && links.length}}
@@ -777,9 +791,6 @@
      </tr>
 </script>

-<script type="text/html" id="total_details">
-</script>
-
 <script type="text/html" id="stats_message_partial_template">
${critical} critical test, ${criticalPassed} passed, <span class="${criticalFailureClass}">${criticalFailed} failed</span><br />${total} test total, ${totalPassed} passed, <span class="${totalFailureClass}">${totalFailed} failed</span>
 </script>

==============================================================================
Revision: d625c9d36551
Author:   Jussi Malinen
Date:     Mon Jun  6 08:38:20 2011
Log:      color passed totals or tags to green in status
http://code.google.com/p/robotframework/source/detail?r=d625c9d36551

Modified:
 /src/robot/webcontent/js/model.js
 /src/robot/webcontent/report.html

=======================================
--- /src/robot/webcontent/js/model.js   Sun Jun  5 23:43:47 2011
+++ /src/robot/webcontent/js/model.js   Mon Jun  6 08:38:20 2011
@@ -97,10 +97,14 @@
         for (var name in stats) {
             suite[name] = stats[name];
         }
-       if (suite.totalFailed > 0)
-           suite.totalFailureClass = 'fail';
-       if (suite.criticalFailed > 0)
-           suite.criticalFailureClass = 'fail';
+        if (suite.totalFailed == 0)
+            suite.totalFailureClass = 'pass';
+        else
+            suite.totalFailureClass = 'fail';
+        if (suite.criticalFailed == 0)
+            suite.criticalFailureClass = 'pass';
+        else
+            suite.criticalFailureClass = 'fail';
     }

     function populateCommonAttrs(obj, name, doc, status, times) {
@@ -310,7 +314,8 @@
             pass:  data[1],
             fail:  data[2],
             total: data[1] + data[2],
-            doc:   data[3]
+            doc:   data[3],
+            links: []
         };
         var percents = calculatePercents(stat.total, stat.pass, stat.fail);
         stat.passPercent = percents[0];
=======================================
--- /src/robot/webcontent/report.html   Mon Jun  6 08:07:17 2011
+++ /src/robot/webcontent/report.html   Mon Jun  6 08:38:20 2011
@@ -421,7 +421,7 @@
         var stat = window.testdata.statistics().total[1];
     var tests = getTotalTests(type)
     stat.totalTime = calculateTotalTime(tests);
- $.tmpl(window.templates.totalDetails, stat).appendTo('#details_header'); + $.tmpl(window.templates.tagOrTotalDetails, stat).appendTo('#details_header');
     drawTestDetailsTable(tests);
 }

@@ -430,7 +430,7 @@
     if (tag) {
         tag.totalTime = calculateTotalTime(tests);
     }
-    $.tmpl(window.templates.tagDetails, tag).appendTo('#details_header');
+ $.tmpl(window.templates.tagOrTotalDetails, tag).appendTo('#details_header');
     drawTestDetailsTable(tests);
 }

@@ -558,9 +558,8 @@
         totalDetailsSelector: $('#total_details_selector').template(),
         tagDetailsSelector: $('#tag_details_selector').template(),
         suiteDetailsSelector: $('#suite_details_selector').template(),
-        tagDetails: $('#tag_details').template(),
+        tagOrTotalDetails: $('#tag_or_total_details').template(),
         suiteDetails: $('#suite_details').template(),
-        totalDetails: $('#total_details').template(),
         testDetailsTable: $('#test_details_table').template()
     };
 };
@@ -733,18 +732,8 @@
   </table>
 </script>

-<script type="text/html" id="total_details">
-    <tr>
-        <th>Status:</th>
- <td>${total} total, ${pass} passed, {{if fail}}<span class="fail">${fail} failed<span>{{else}}0 failed{{/if}}</td>
-    </tr>
-    <tr>
-        <th>Total Time:</th>
-        <td>${totalTime}</td>
-    </tr>
-</script>
-
-<script type="text/html" id="tag_details">
+
+<script type="text/html" id="tag_or_total_details">
     {{if doc}}
     <tr>
         <th>Documentation:</th>
@@ -753,7 +742,7 @@
     {{/if}}
     <tr>
         <th>Status:</th>
- <td>${total} total, ${pass} passed, {{if fail}}<span class="fail">${fail} failed<span>{{else}}0 failed{{/if}}</td> + <td>${total} total, ${pass} passed, {{if fail}}<span class="fail">${fail} failed</span>{{else}}<span class="pass">0 failed</span>{{/if}}</td>
     </tr>
     {{if links && links.length}}
     <tr>
@@ -777,18 +766,20 @@
     {{each metadata}}
     <tr><th>${$index}:</th><td>{{html $value}}</td></tr>
     {{/each}}
+    {{if getFailureMessage()}}
     <tr>
-        <th>Start / End / Elapsed:</th>
- <td>${times.startTime} / ${times.endTime} / ${times.elapsedTime}</td>
-    </tr>
+        <th>Message:</th>
+        <td>${getFailureMessage()}</td>
+     </tr>
+    {{/if}}
     <tr>
         <th>Status:</th>
-        <td class="${status}">${statusText}</td>
+        <td>{{tmpl($data) '#stats_message_partial_template'}}</td>
     </tr>
     <tr>
-        <th>Message:</th>
- <td>${getFailureMessage()}<br/><br/>{{tmpl($data) '#stats_message_partial_template'}}</td>
-     </tr>
+        <th>Start / End / Elapsed:</th>
+ <td>${times.startTime} / ${times.endTime} / ${times.elapsedTime}</td>
+    </tr>
 </script>

 <script type="text/html" id="stats_message_partial_template">

Reply via email to