Revision: 3529
Author: KariHusa
Date: Wed May 26 02:21:32 2010
Log: Added one more test
http://code.google.com/p/robotframework/source/detail?r=3529
Modified:
/trunk/utest/parsing/test_populator.py
=======================================
--- /trunk/utest/parsing/test_populator.py Wed May 26 02:04:27 2010
+++ /trunk/utest/parsing/test_populator.py Wed May 26 02:21:32 2010
@@ -162,7 +162,15 @@
self._create_table('test cases', [['...', 'foo']])
assert_equals(self._first_test().name, '...')
- def test_continuing_in_the_begining_of_the_testcase_table2(self):
+ def test_unnamed_testcase(self):
+ self._create_table('test cases', [['', 'foo', '#comment'],
+ ['', '[documentation]', "What's
up doc?"]])
+ test = self._first_test()
+ assert_equals(test.name, '')
+ assert_equals(test.doc.value, "What's up doc?")
+ assert_equals(test.steps[0].comment, 'comment')
+
+ def test_unnamed_test_and_line_continuation(self):
self._create_table('test cases', [['', '...', 'foo']])
assert_equals(self._first_test().name, '')