Revision: 2466
Author: janne.t.harkonen
Date: Wed Feb 17 21:55:36 2010
Log: Added tests and test data for unicode in test data paths, issue 454.




http://code.google.com/p/robotframework/source/detail?r=2466

Added:
 /trunk/atest/robot/parsing/unicode_in_paths.txt
 /trunk/atest/robot/parsing/unicode_names.py
 /trunk/atest/testdata/parsing/unicode_paths
 /trunk/atest/testdata/parsing/unicode_paths/Työ
 /trunk/atest/testdata/parsing/unicode_paths/Työ/§test§.txt
 /trunk/atest/testdata/parsing/unicode_paths/testäö.txt

=======================================
--- /dev/null
+++ /trunk/atest/robot/parsing/unicode_in_paths.txt     Wed Feb 17 21:55:36 2010
@@ -0,0 +1,12 @@
+* Settings *
+Force Tags  regression  pybot  jybot
+Suite Setup  Run Tests  \  parsing/unicode_paths
+Resource  ../../resources/resource.html
+Variables  unicode_names.py
+
+* Test Cases *
+Unicode characters in test data directory and file names
+  ${tc}=  Check Test Case  Test In Unicode Filename
+  Should Be Equal  ${tc.longname}  ${test_in_file}
+  ${tc}=  Check Test Case  Test In Unicode Directory
+  Should Be Equal  ${tc.longname}  ${test_in_dir}
=======================================
--- /dev/null
+++ /trunk/atest/robot/parsing/unicode_names.py Wed Feb 17 21:55:36 2010
@@ -0,0 +1,2 @@
+test_in_file = u'Unicode Paths.Test\xe4\xf6.Test In Unicode Filename'
+test_in_dir = u'Unicode Paths.Ty\xf6.\xa7test\xa7.Test In Unicode Directory'
=======================================
--- /dev/null
+++ /trunk/atest/testdata/parsing/unicode_paths/Työ/§test§.txt Wed Feb 17 21:55:36 2010
@@ -0,0 +1,3 @@
+*Test Cases*
+Test In Unicode Directory
+  Log  Hello from unicode directory
=======================================
--- /dev/null
+++ /trunk/atest/testdata/parsing/unicode_paths/testäö.txt Wed Feb 17 21:55:36 2010
@@ -0,0 +1,3 @@
+*Test Cases*
+Test In Unicode Filename
+  Log  Hello from unicode file

Reply via email to