equal
deleted
inserted
replaced
|
1 // Copyright (c) 2003-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 "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". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #include <e32test.h> |
|
17 #include <e32math.h> |
|
18 #include <hal.h> |
|
19 #include <bitdraw.h> |
|
20 #include "tlld.h" |
|
21 |
|
22 TInt E32Main() |
|
23 { |
|
24 CTrapCleanup* tc = CTrapCleanup::New(); |
|
25 |
|
26 TInt temp=0; |
|
27 HAL::Get(KDefaultScreenNo, HALData::EDisplayColors, temp); //force HAL memory allocation |
|
28 |
|
29 __UHEAP_MARK; |
|
30 |
|
31 TestLowLevel tll(0, _L("Low-level device driver test 1")); |
|
32 TRAPD(err, tll.TestMainL()); |
|
33 tll(err == KErrNone); |
|
34 tll.Close(); |
|
35 |
|
36 __UHEAP_MARKEND; |
|
37 delete tc; |
|
38 return 0; |
|
39 } |
|
40 |