Revision: 2832
Author: pekka.klarck
Date: Fri Apr  2 18:17:20 2010
Log: Ooops, forgot to add tests for the Easter Egg (issue 511).
http://code.google.com/p/robotframework/source/detail?r=2832

Added:
 /trunk/atest/robot/standard_libraries/easter.txt
 /trunk/atest/testdata/standard_libraries/easter.txt

=======================================
--- /dev/null
+++ /trunk/atest/robot/standard_libraries/easter.txt Fri Apr 2 18:17:20 2010
@@ -0,0 +1,15 @@
+*** Settings ***
+Suite Setup     Run Tests  ${EMPTY}  standard_libraries/easter.txt
+Force Tags      regression  pybot  jybot
+Resource        ../resources/resource.txt
+
+
+*** Test Cases ***
+
+Not None Shall Not Pass
+    Check Test Case  ${TESTNAME}
+
+None Shall Pass
+    ${tc} =  Check Test Case  ${TESTNAME}
+    Should Contain  ${tc.kws[0].msgs[0].message}  youtube.com
+    Should Be Equal  ${tc.kws[0].msgs[0].level}  INFO
=======================================
--- /dev/null
+++ /trunk/atest/testdata/standard_libraries/easter.txt Fri Apr 2 18:17:20 2010
@@ -0,0 +1,7 @@
+*** Test Cases ***
+
+Not None Shall Not Pass  [Documentation]  FAIL  None shall pass!
+    None Shall Pass  Arthur, King of the Britons
+
+None Shall Pass
+    None Shall Pass  ${None}

Reply via email to