kerneltest/e32test/dll/oe/t_oefixup.cpp
changeset 0 a41df078684a
equal deleted inserted replaced
-1:000000000000 0:a41df078684a
       
     1 // Copyright (c) 2006-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".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // e32test\dll\t_oeexport.cpp
       
    15 // Overview:
       
    16 // REMOVE_ME - Dummy test case to invoke t_oeexport and t_oeexport1 test cases
       
    17 // Should be removed once tools have been updated and t_oeexport etc can be built
       
    18 // API Information:
       
    19 // Details:
       
    20 // Platforms/Drives/Compatibility:
       
    21 // All
       
    22 // Assumptions/Requirement/Pre-requisites:
       
    23 // Failures and causes:
       
    24 // Base Port information:
       
    25 // 
       
    26 //
       
    27 
       
    28 #include <e32test.h>
       
    29 #include <e32panic.h>
       
    30 
       
    31 RTest test(_L("T_OEFIXUP"));
       
    32 
       
    33 
       
    34 TInt E32Main()
       
    35 	{
       
    36 	test.Title();
       
    37 
       
    38 	RProcess process;
       
    39 	TRequestStatus req;
       
    40 
       
    41 	test.Start(_L("Test invoke t_oeexport"));
       
    42 	test (process.Create(_L("t_oeexport.exe"), _L("x")) == KErrNone);
       
    43 	process.Logon(req);
       
    44 	process.Resume();
       
    45 	User::WaitForRequest(req);
       
    46 	test(process.ExitReason() == KErrNone);
       
    47 	test(process.ExitType() != EExitPanic);
       
    48 	process.Close();
       
    49 
       
    50 	test.Next(_L("Test invoke t_oeexport1"));
       
    51 	test (process.Create(_L("t_oeexport1.exe"), _L("x")) == KErrNone);
       
    52 	process.Logon(req);
       
    53 	process.Resume();
       
    54 	User::WaitForRequest(req);
       
    55 	test(process.ExitReason() == KErrNone);
       
    56 	test(process.ExitType() != EExitPanic);
       
    57 	process.Close();
       
    58 	test.End();
       
    59 	return KErrNone;
       
    60 	}