diff -r 000000000000 -r e35f40988205 xml/wbxmlparser/test/rtest/tsrc/testdocuments.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xml/wbxmlparser/test/rtest/tsrc/testdocuments.h Thu Dec 17 09:29:21 2009 +0200 @@ -0,0 +1,62 @@ +// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// + +#ifndef __TESTDOCUMENTS_H__ +#define __TESTDOCUMENTS_H__ + +#include + + +// Encoding XML documents +_LIT(KXmlEngUtf, "z:\\system\\XmlTest\\Encodings\\doc_eng_utf.xml"); +_LIT(KXmlChBig5, "z:\\system\\XmlTest\\Encodings\\doc_ch_b5.xml"); +_LIT(KXmlChUtf, "z:\\system\\XmlTest\\Encodings\\doc_ch_utf.xml"); +_LIT(KXmlFrHtml, "z:\\system\\XmlTest\\Encodings\\doc_fr_html.xml"); +_LIT(KXmlFrLatin1, "z:\\system\\XmlTest\\Encodings\\doc_fr_latin1.xml"); +_LIT(KXmlFrUtf, "z:\\system\\XmlTest\\Encodings\\doc_fr_utf.xml"); +_LIT(KXmlJpEuc, "z:\\system\\XmlTest\\Encodings\\doc_jp_euc.xml"); +_LIT(KXmlJpSjis, "z:\\system\\XmlTest\\Encodings\\doc_jp_sjis.xml"); +_LIT(KXmlJpUtf, "z:\\system\\XmlTest\\Encodings\\doc_jp_utf.xml"); + + +// SyncML XML/WBXML documents directory. +// This contains a list of dirctories that contains the actual documents for test. +// NOTE there are NO trailing back slash. +_LIT(KSyncML1_1Directory, "z:\\system\\XmlTest\\SyncML\\1.1"); +_LIT(KSyncML1_2Directory, "z:\\system\\XmlTest\\SyncML\\1.2"); +_LIT(KWml1_1Directory, "z:\\system\\XmlTest\\Wml\\1.1"); +_LIT(KSi1_0Directory, "z:\\system\\XmlTest\\ServiceIndication\\1.0"); +_LIT(KOpaqueDirectory, "c:\\system\\XmlTest\\Opaque"); + +_LIT8(KWbxmlParserDataType, "text/wbxml"); + +_LIT8(KSyncmlStringDictionaryUri, "-//SYNCML//DTD SyncML 1.1//EN~0"); +_LIT8(KBlankStringDictionaryUri, ""); + +_LIT(KDirSeperator, "\\"); +_LIT(KUnderscore, "_"); + +_LIT(KXmlExt, ".xml"); +_LIT(KWbxmlExt, ".wbxml"); +_LIT(KWmlcExt, ".wmlc"); +_LIT(KSiExt, ".bdy"); + +// The size of chunks to parse. Allows for boundary testing. +const TInt KMinChunkSize = 1; +const TInt KMidChunkSize = 5; +const TInt KMaxChunkSize = 300; + + +#endif // __TESTDOCUMENTS_H__