kernel/eka/include/e32test.h
changeset 293 0659d0e1a03c
parent 33 0173bcd7697c
--- a/kernel/eka/include/e32test.h	Mon Oct 18 15:31:10 2010 +0100
+++ b/kernel/eka/include/e32test.h	Wed Oct 20 13:58:28 2010 +0100
@@ -1,4 +1,4 @@
-// Copyright (c) 1994-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 1994-2010 Nokia Corporation and/or its subsidiary(-ies).
 // All rights reserved.
 // This component and the accompanying materials are made available
 // under the terms of the License "Eclipse Public License v1.0"
@@ -74,6 +74,7 @@
 	inline void HandleValue(TInt aValue,  TInt aLine, const TText* aFileName);
 
 	IMPORT_C static TInt CloseHandleAndWaitForDestruction(RHandleBase& aH);	/**< @internalTechnology */
+	IMPORT_C TInt CompletePostBootSystemTasks();
 
 protected:
 	void CheckConsoleCreated();
@@ -365,7 +366,12 @@
 */
 #define CLOSE_AND_WAIT(h)	((void)(RTest::CloseHandleAndWaitForDestruction(h) && (User::Panic(KLitCloseAndWait,__LINE__),1)))
 
-
+#define COMPLETE_POST_BOOT_SYSTEM_TASKS() \
+	{\
+	_LIT(KLitCompleteSysTasks, "Complete post boot system tasks"); \
+	RTest test(KLitCompleteSysTasks); \
+	test(test.CompletePostBootSystemTasks() == KErrNone); \
+	}
 
 #endif