sl@0: // Copyright (c) 1995-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of the License "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // e32test\dll\t_tstart.cpp sl@0: // Overview: sl@0: // Check DLLs are started in correct order sl@0: // API Information: sl@0: // N/A sl@0: // Details: sl@0: // - Test and verify that DLLs are started in correct order sl@0: // Platforms/Drives/Compatibility: sl@0: // All. sl@0: // Assumptions/Requirement/Pre-requisites: sl@0: // Failures and causes: sl@0: // Base Port information: sl@0: // sl@0: // sl@0: sl@0: #include sl@0: sl@0: LOCAL_D RTest test(_L("T_TSTART")); sl@0: sl@0: IMPORT_C TUint32 GetStartTime1(); sl@0: IMPORT_C TUint32 GetStartTime3(); sl@0: IMPORT_C TUint32 GetStartTime2(); sl@0: sl@0: GLDEF_C TInt E32Main() sl@0: { sl@0: test.Title(); sl@0: // sl@0: test.Start(_L("Checking Dlls started in correct order")); sl@0: sl@0: TUint32 start1=GetStartTime1(); sl@0: TUint32 start2=GetStartTime2(); sl@0: TUint32 start3=GetStartTime3(); sl@0: test.Printf(_L("Start tickcount for Dlls T_START1, T_START2 and T_START3 are:\n")); sl@0: test.Printf(_L(" %08x %08x %08x\n"), start1,start2, start3); sl@0: test(start2>start1); sl@0: test(start3>start2); sl@0: sl@0: test.End(); sl@0: return 0; sl@0: } sl@0: