[sword-cvs] sword/tests swbuftest.cpp,1.6,1.7

sword@www.crosswire.org sword@www.crosswire.org
Sat, 17 Apr 2004 10:16:19 -0700


Update of /cvs/core/sword/tests
In directory www:/tmp/cvs-serv8616/tests

Modified Files:
	swbuftest.cpp 
Log Message:
Added StringMgr to allow frontend side unicode handling; breaks no code; IcuStringMgr needs a fix in upperUtf8; added support for loading Utf8 locales (joachim)

Index: swbuftest.cpp
===================================================================
RCS file: /cvs/core/sword/tests/swbuftest.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- swbuftest.cpp	29 Feb 2004 23:26:17 -0000	1.6
+++ swbuftest.cpp	17 Apr 2004 17:16:17 -0000	1.7
@@ -97,7 +97,7 @@
 }
 
 int main(int argc, char **argv) {
-	SWBuf x;
+/*	SWBuf x;
 	cout << "x should be (): (" << x << ")\n";
 	cout << "size should be 0: " << x.size() << "\n";
 	x = "hello";
@@ -124,5 +124,12 @@
 	subscriptTest();
 	ctorAssignTest();
 	compareTest();
+*/
+
+	SWBuf text;
+	for (long int i = 0; i < 10000000; ++i) {
+//		text.append("a");
+		text.append('a');
+	}
 }