3 new revisions:
Revision: 18667d00ce3f
Author: Pekka Klärck
Date: Thu Nov 17 00:49:02 2011
Log: TagStats: Handle default value for links correctly.
http://code.google.com/p/robotframework/source/detail?r=18667d00ce3f
Revision: 0df22018c377
Author: Pekka Klärck
Date: Thu Nov 17 00:50:59 2011
Log: SuiteStatLevel: One more test
http://code.google.com/p/robotframework/source/detail?r=0df22018c377
Revision: 3eb0c0caae76
Author: Pekka Klärck
Date: Thu Nov 17 00:51:32 2011
Log: Automated merge with https://code.google.com/p/robotframework/
http://code.google.com/p/robotframework/source/detail?r=3eb0c0caae76
==============================================================================
Revision: 18667d00ce3f
Author: Pekka Klärck
Date: Thu Nov 17 00:49:02 2011
Log: TagStats: Handle default value for links correctly.
http://code.google.com/p/robotframework/source/detail?r=18667d00ce3f
Modified:
/src/robot/model/stats.py
=======================================
--- /src/robot/model/stats.py Tue Nov 15 13:43:01 2011
+++ /src/robot/model/stats.py Thu Nov 17 00:49:02 2011
@@ -76,7 +76,7 @@
non_critical=False, combined=''):
Stat.__init__(self, name)
self.doc = doc
- self.links = links
+ self.links = links or []
self.critical = critical
self.non_critical = non_critical
self.combined = combined
==============================================================================
Revision: 0df22018c377
Author: Pekka Klärck
Date: Thu Nov 17 00:50:59 2011
Log: SuiteStatLevel: One more test
http://code.google.com/p/robotframework/source/detail?r=0df22018c377
Modified:
/utest/model/test_statistics.py
=======================================
--- /utest/model/test_statistics.py Tue Nov 15 14:04:09 2011
+++ /utest/model/test_statistics.py Thu Nov 17 00:50:59 2011
@@ -100,6 +100,11 @@
class TestSuiteStatLevel(unittest.TestCase):
+ def test_only_root_level(self):
+ suite = Statistics(generate_default_suite(),
suite_stat_level=1).suite
+ verify_suite(suite, 'Root Suite', 's1', 2, 2, 4, 3)
+ assert_equals(len(suite.suites), 0)
+
def test_stat_level(self):
suite = Statistics(generate_default_suite(),
suite_stat_level=2).suite
verify_suite(suite, 'Root Suite', 's1', 2, 2, 4, 3)
==============================================================================
Revision: 3eb0c0caae76
Author: Pekka Klärck
Date: Thu Nov 17 00:51:32 2011
Log: Automated merge with https://code.google.com/p/robotframework/
http://code.google.com/p/robotframework/source/detail?r=3eb0c0caae76