Update contrib.
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of the License "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
20 #include "d_hcrsim_testdata.h"
23 SRepositoryBase RepositoryHeader =
27 KRepositoryFirstVersion,
29 (sizeof(SettingsList) / sizeof(SSettingC))
32 SRepositoryCompiled CompiledRepository =
39 SSettingC SettingsListEmpty[] = {
40 {{{ 0, 0 }, ETypeUndefined, 0x0000, 0 }, {{ 0 }}}
43 SRepositoryBase EmptyRepositoryHeader =
47 KRepositoryFirstVersion,
52 SRepositoryCompiled CompiledEmptyRepository =
54 &EmptyRepositoryHeader,
58 // Corrupt Repository 1
59 SRepositoryBase RepositoryHeaderCorrupt1 =
63 KRepositoryFirstVersion,
65 (sizeof(SettingsListCorrupt1) / sizeof(SSettingC))
68 SRepositoryCompiled CompiledRepositoryCorrupt1 =
70 &RepositoryHeaderCorrupt1,
74 // Corrupt Repository 2
75 SRepositoryBase RepositoryHeaderCorrupt2 =
79 KRepositoryFirstVersion,
81 (sizeof(SettingsListCorrupt2) / sizeof(SSettingC))
84 SRepositoryCompiled CompiledRepositoryCorrupt2 =
86 &RepositoryHeaderCorrupt2,
90 // Bad repository: iOrderedSettingList points to NULL
91 SRepositoryCompiled CompiledRepositoryNullOrderedList =