kerneltest/e32test/hcr/d_hcrsim_testdata.h
changeset 291 206a6eaaeb71
parent 90 947f0dc9f7a8
equal deleted inserted replaced
289:55a0a1279a7e 291:206a6eaaeb71
     1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of the License "Eclipse Public License v1.0"
     4 // under the terms of the License "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
   256 SSettingC SettingsListCorrupt2[] = {
   256 SSettingC SettingsListCorrupt2[] = {
   257 	{{{ KTestCategories[0], 1}, ETypeInt32, 0x0000, 0 }, {{ 0 }}},
   257 	{{{ KTestCategories[0], 1}, ETypeInt32, 0x0000, 0 }, {{ 0 }}},
   258 	{{{ KTestCategories[0], 1}, ETypeInt32, 0x0000, 0 }, {{ 0 }}},
   258 	{{{ KTestCategories[0], 1}, ETypeInt32, 0x0000, 0 }, {{ 0 }}},
   259 	{{{ KTestCategories[0], 2}, ETypeInt32, 0x0000, 0 }, {{ 0 }}},
   259 	{{{ KTestCategories[0], 2}, ETypeInt32, 0x0000, 0 }, {{ 0 }}},
   260 	};
   260 	};
   261 #if !defined(__KERNEL_MODE__) || defined(HCRTEST_USERSIDE_INTERFACE)
   261 #if !defined(__KERNEL_MODE__) 
   262 const TUint32 KTestInvalidCategory = 0;
   262 const TUint32 KTestInvalidCategory = 0;
   263 const TUint32 KTestInvalidSettingId = 5678;
   263 const TUint32 KTestInvalidSettingId = 5678;
   264 
   264 
   265 // The following repositories are only used for reference by the test application
   265 // The following repositories are only used for reference by the test application
   266 // so there is no point cluttering the device driver.
   266 // so there is no point cluttering the device driver.
   668 	{{{ KTestCategories[5], 0x00b1}, ETypeArrayUInt32, 0x0000, 512 }, {{ reinterpret_cast<TInt32>(TestUint32Array) }}},
   668 	{{{ KTestCategories[5], 0x00b1}, ETypeArrayUInt32, 0x0000, 512 }, {{ reinterpret_cast<TInt32>(TestUint32Array) }}},
   669 	{{{ KTestCategories[5], 0x00c2}, ETypeInt64, 0x0000, sizeof(TInt64) }, {{ reinterpret_cast<TInt32>(&KTestI64One) }}},
   669 	{{{ KTestCategories[5], 0x00c2}, ETypeInt64, 0x0000, sizeof(TInt64) }, {{ reinterpret_cast<TInt32>(&KTestI64One) }}},
   670 	{{{ KTestCategories[5], 0x00d0}, ETypeUInt64, 0x0000, sizeof(TUint64) }, {{ reinterpret_cast<TInt32>(&KTestU64Three) }}},
   670 	{{{ KTestCategories[5], 0x00d0}, ETypeUInt64, 0x0000, sizeof(TUint64) }, {{ reinterpret_cast<TInt32>(&KTestU64Three) }}},
   671 	{{{ KTestCategories[5], 0xffffffff}, ETypeInt8, 0x0000, 0 }, {{ 1 }}},
   671 	{{{ KTestCategories[5], 0xffffffff}, ETypeInt8, 0x0000, 0 }, {{ 1 }}},
   672 	};
   672 	};
   673 #endif // !defined(__KERNEL_MODE__) || defined(HCRTEST_USERSIDE_INTERFACE)
   673 #endif // !defined(__KERNEL_MODE__) 
   674 #endif // !D_HCRSIM_TESTDATA_H
   674 #endif // !D_HCRSIM_TESTDATA_H