persistentstorage/sql/TEST/t_sqldbconfigfile.cpp
changeset 40 b8bdbc8f59c7
parent 29 cce6680bbf1c
child 55 44f437012c90
--- a/persistentstorage/sql/TEST/t_sqldbconfigfile.cpp	Thu Jul 08 12:09:58 2010 +0100
+++ b/persistentstorage/sql/TEST/t_sqldbconfigfile.cpp	Thu Aug 12 11:53:23 2010 +0100
@@ -85,8 +85,10 @@
 _LIT8(KCfgDb1ConfigFileV14CCommentStmt, "CREATE INDEX v14Idx ON table1(i3) /* this is a C comment */;");
 
 //KLongDbName1 is "long" enough to allow "-journal" to be added at the end.
-_LIT(KLongDbName1,  "c:[1111C1C1]a123456789a123456789a123456789a123456789a123456789a123456789a123456789a123456789a123456789a123456789a123456789a123456789a123456789a123456789a123456789a123456789a123456789a123456789a1234.db");
-_LIT(KLongCfgName1, "c:\\private\\10281e17\\cfg[1111C1C1]a123456789a123456789a123456789a123456789a123456789a123456789a123456789a123456789a123456789a123456789a123456789a123456789a123456789a123456789a123456789a123456789a123456789a123456789a1234.db.01");
+//Also, on simulators/emulators the file names have a prefix with length of about 30 characters
+//(something like \epoc\winscw\c\....)
+_LIT(KLongDbName1,  "c:[1111C1C1]a123456789a123456789a123456789a123456789a123456789a123456789a123456789a123456789a123456789a123456789a123456789a123456789a123456789a123456789a123456789a.db");
+_LIT(KLongCfgName1, "c:\\private\\10281e17\\cfg[1111C1C1]a123456789a123456789a123456789a123456789a123456789a123456789a123456789a123456789a123456789a123456789a123456789a123456789a123456789a123456789a123456789a.db.01");
 
 _LIT(KSqlSrvPrivatePath, "\\private\\10281e17\\");
 _LIT(KResetCollationDllSql, "UPDATE symbian_settings SET CollationDllName='hjagafsff'");