2 new revisions:

Revision: 0b69d109af61
Author:   Janne Härkönen <[email protected]>
Date:     Tue Jun 21 00:47:16 2011
Log:      removed unused code
http://code.google.com/p/robotframework/source/detail?r=0b69d109af61

Revision: f6f6316e47ce
Author:   Janne Härkönen <[email protected]>
Date:     Tue Jun 21 00:48:43 2011
Log:      Fixed specs
http://code.google.com/p/robotframework/source/detail?r=f6f6316e47ce

==============================================================================
Revision: 0b69d109af61
Author:   Janne Härkönen <[email protected]>
Date:     Tue Jun 21 00:47:16 2011
Log:      removed unused code
http://code.google.com/p/robotframework/source/detail?r=0b69d109af61

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

=======================================
--- /src/robot/webcontent/model.js      Mon Jun 20 13:36:51 2011
+++ /src/robot/webcontent/model.js      Tue Jun 21 00:47:16 2011
@@ -120,7 +120,6 @@
     }

     function Test(data) {
-        var names = ['name', 'doc', 'status', '...']
         var test = createModelObject(data);
test.fullname = data.parent.fullname + "." + test.name; // TODO: is this used?, could be function also
         test.parentName = function () {

==============================================================================
Revision: f6f6316e47ce
Author:   Janne Härkönen <[email protected]>
Date:     Tue Jun 21 00:48:43 2011
Log:      Fixed specs
http://code.google.com/p/robotframework/source/detail?r=f6f6316e47ce

Modified:
 /utest/webcontent/spec/ParsingSpec.js
 /utest/webcontent/spec/StatisticsSpec.js

=======================================
--- /utest/webcontent/spec/ParsingSpec.js       Mon Jun 20 03:29:18 2011
+++ /utest/webcontent/spec/ParsingSpec.js       Tue Jun 21 00:48:43 2011
@@ -87,7 +87,7 @@
         expect(suite.name).toEqual("Suite");
         expect(suite.status).toEqual("PASS");
         expect(suite.source).toEqual("/tmp/test.txt");
-        expect(suite.documentation).toEqual("suite doc");
+        expect(suite.doc).toEqual("suite doc");
         expect(suite.times).toBeDefined();
         expect(suite.times.elapsedMillis).toEqual(39);
         expectStats(suite, 1, 1, 1, 1);
@@ -99,7 +99,7 @@
         expect(test.name).toEqual("Test");
         expect(test.status).toEqual("PASS");
         expect(test.fullname).toEqual("Suite.Test");
-        expect(test.documentation).toEqual("test doc");
+        expect(test.doc).toEqual("test doc");
         expect(test.tags).toEqual(["tag1", "tag2"]);
         expect(test.times).toBeDefined();
         expect(test.times.elapsedMillis).toEqual(2);
=======================================
--- /utest/webcontent/spec/StatisticsSpec.js    Fri Jun 17 03:38:54 2011
+++ /utest/webcontent/spec/StatisticsSpec.js    Tue Jun 21 00:48:43 2011
@@ -59,10 +59,8 @@
         var firstTagStats = tagStats[0];
         verifyBasicStatAttributes(firstTagStats, 'first tag', 3, 0);
         expect(firstTagStats.doc).toEqual('tagdoc');
-        expect(firstTagStats.shownInfo).toEqual('(critical)');
         var secondTagStats = tagStats[1];
         verifyBasicStatAttributes(secondTagStats, 'second tag', 1, 0);
-        expect(secondTagStats.shownInfo).toEqual('');
     });

     it("should contain tag stat links", function () {

Reply via email to