[sword-svn] r1703 - trunk/tests/testsuite
jansorg at crosswire.org
jansorg at crosswire.org
Sat Jan 29 14:45:42 MST 2005
Author: jansorg
Date: 2005-01-29 14:45:41 -0700 (Sat, 29 Jan 2005)
New Revision: 1703
Added:
trunk/tests/testsuite/verseparsing-utf8.good
trunk/tests/testsuite/verseparsing-utf8.sh
Log:
Added small testcase for UTF8 verse parsing
Added: trunk/tests/testsuite/verseparsing-utf8.good
===================================================================
--- trunk/tests/testsuite/verseparsing-utf8.good 2005-01-29 00:54:52 UTC (rev 1702)
+++ trunk/tests/testsuite/verseparsing-utf8.good 2005-01-29 21:45:41 UTC (rev 1703)
@@ -0,0 +1,16 @@
+Matthäus 2:3 - Matthäus 2:12
+Römer 2:13
+Matthäus 1:2 - Römer 3:13
+1. Könige 2:1 - 1. Könige 2:46
+1. Könige 1:1 - 2. Könige 25:30
+Markus 1:1
+Matthäus 2:1
+Matthäus 1:1 - Matthäus 28:20
+1. Könige 1:1 - 1. Könige 22:53
+1. Könige 1:1 - 2. Könige 25:30
+Markus 1:1
+Matthäus 2:1
+Matthäus 1:1 - Matthäus 28:20
+1. Könige 1:1 - 2. Könige 25:30
+1. Könige 1:1 - Matthäus 28:20
+Maleachi 1:1 - Matthäus 2:1
Added: trunk/tests/testsuite/verseparsing-utf8.sh
===================================================================
--- trunk/tests/testsuite/verseparsing-utf8.sh 2005-01-29 00:54:52 UTC (rev 1702)
+++ trunk/tests/testsuite/verseparsing-utf8.sh 2005-01-29 21:45:41 UTC (rev 1703)
@@ -0,0 +1,13 @@
+#!/bin/sh
+# This only works if --with-icu was passed to configure
+# and if src/mgr/stringmgr.cpp has the ICUStringMgr instance enabled (commented out by default)
+
+### German test keys
+../parsekey "Matthäus 2:3-12" "de"
+../parsekey "Römer 2:13" "de"
+../parsekey "Matthäus 1:2-Röm 3:13" "de"
+../parsekey "1. Könige 2" "de"
+
+../parsekey "1. Könige - 2. Könige; Markus 1:1; Matthäus 2:1; Matthäus; 1.Kön" "de"
+../parsekey "1. Könige - 2. Könige; Markus 1:1; Matthäus 2:1; Matthäus; 1.Kön-2.Kön;I Kings-Matthäus" "de"
+../parsekey "Maleachi 1:1 - Matthäus 2:1" "de"
\ No newline at end of file
Property changes on: trunk/tests/testsuite/verseparsing-utf8.sh
___________________________________________________________________
Name: svn:executable
+ *
More information about the sword-cvs
mailing list