Revision: 3540
Author: janne.t.harkonen
Date: Wed May 26 02:48:23 2010
Log: test test case and user keyword without name
http://code.google.com/p/robotframework/source/detail?r=3540

Modified:
 /trunk/atest/robot/core/empty_tc_and_uk.txt
 /trunk/atest/testdata/core/empty_testcase_and_uk.txt

=======================================
--- /trunk/atest/robot/core/empty_tc_and_uk.txt Mon May 24 12:06:49 2010
+++ /trunk/atest/robot/core/empty_tc_and_uk.txt Wed May 26 02:48:23 2010
@@ -29,3 +29,9 @@
 Non-Empty UK Using Empty UK
     Check Test Case  ${TESTNAME}

+Test Case Without Name Specified
+    Check Test Case  \
+
+User Keyword Without Name Specified
+    Check Test Case  Using User Keyword That Has No Name
+
=======================================
--- /trunk/atest/testdata/core/empty_testcase_and_uk.txt Mon May 24 12:06:49 2010 +++ /trunk/atest/testdata/core/empty_testcase_and_uk.txt Wed May 26 02:48:23 2010
@@ -3,6 +3,9 @@


 *** Test Cases ***
+    Log  This test case has no name
+    [Documentation]  FAIL  Test case name is required.
+
 Empty Test Case
     [Documentation]  FAIL Test case contains no keywords

@@ -35,8 +38,17 @@
 Non-Empty UK Using Empty UK
     [Documentation]  FAIL User keyword 'Empty UK' contains no keywords
     Non Empty UK Using Empty UK
+
+Using User Keyword That Has No Name
+    [Documentation]  FAIL  Keyword name cannot be empty.
+    \  argh
+    ${x}

 *** Keywords ***
+    [Documentation]  This keyword has no name
+    [Arguments]  ${arg}=urg
+    Log   ${arg}
+
 Empty UK

 Empty UK With Settings

Reply via email to