equal
deleted
inserted
replaced
1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2005-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 "Eclipse Public License v1.0" |
4 // under the terms of "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". |
35 _LIT(KFilePath,"c:\\logs\\TestExecute\\Proc.txt"); |
35 _LIT(KFilePath,"c:\\logs\\TestExecute\\Proc.txt"); |
36 _LIT8(KTResultPass, "PASS"); |
36 _LIT8(KTResultPass, "PASS"); |
37 _LIT8(KTResultFail, "FAIL"); |
37 _LIT8(KTResultFail, "FAIL"); |
38 |
38 |
39 |
39 |
|
40 |
40 //! A CT_ProcStep test class. |
41 //! A CT_ProcStep test class. |
41 |
42 |
42 /** Checks for child process existence when its parent terminates. */ |
43 /** Checks for child process existence when its parent terminates. */ |
43 |
44 |
44 class CT_ProcStep : public CTestStep |
45 class CT_ProcStep : public CTestStep |
45 { |
46 { |
46 public: |
47 public: |
47 CT_ProcStep(); |
48 CT_ProcStep(); |
48 ~CT_ProcStep(); |
49 ~CT_ProcStep(); |
|
50 virtual TVerdict doTestStepPreambleL(); |
|
51 virtual TVerdict doTestStepPostambleL(); |
49 virtual TVerdict doTestStepL(); |
52 virtual TVerdict doTestStepL(); |
50 private: |
53 private: |
51 void testChildExistsL(void); |
54 void testChildExistsL(void); |
52 void testChildSetToTerminateL(void); |
55 void testChildSetToTerminateL(void); |
53 void testChildSetToRemainL(void); |
56 void testChildSetToRemainL(void); |