Update contrib.
1 // Copyright (c) 1996-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of the License "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // e32test\bench\t_desbm.cpp
21 #include <e32std_private.h>
23 #define FailIfError(EXPR) \
26 if (aErr != KErrNone) \
28 test.Printf(_L("Return code == %d\n"), aErr); \
33 RTest test(_L("T_DESBM"));
37 // Benchmark for descriptor functions
40 CTrapCleanup* trapHandler=CTrapCleanup::New();
41 test(trapHandler!=NULL);
44 test.Start(_L("Benchmarks for descriptor functions"));
46 TUserBenchmarkList bms;
47 TRAPD(err, RunBenchmarkTestsL(bms));
49 test.Printf(_L("TestMainL left with %d\n"), err);