camerasrv_plat/camera_application_engine_api/tsrc/src/CaeTestTop.cpp
changeset 0 9b3e960ffc8a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/camerasrv_plat/camera_application_engine_api/tsrc/src/CaeTestTop.cpp	Thu Dec 17 08:51:24 2009 +0200
@@ -0,0 +1,67 @@
+/*
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: CaeTestTop.cpp
+*
+*/
+#include "CaeTestTop.h"
+#include "CaeTestRelease.h"
+#include "CaeTestStillSettings.h"
+#include "CaeTestStillStates.h"
+#include "CaeTestVideoStates.h"
+#include "CaeTestVideoSettings.h"
+
+#include <e32des8.h>
+
+
+// Starting point of the DLL (Always needed) 
+#ifndef EKA2
+GLDEF_C TInt E32Dll( TDllReason )
+    {
+    return( KErrNone );
+    }
+#endif
+
+// Exactly one exported function returning the suite of 
+// test functions for the test runner in the framework.
+// (Always needed)
+//
+
+
+EXPORT_C MTest* CreateTopFct()
+    {
+	return ( CCaeTestTop::suiteL() );
+    }
+
+
+CCaeTestTop::~CCaeTestTop()
+    {
+    }
+
+
+MTest* CCaeTestTop::suiteL()
+    {
+	CTestSuite *suite = CTestSuite::NewL( _L8( "Camera Application Engine Test Suite Container" ) );
+    
+    suite->addTestL( CCaeTestRelease::suiteL() );
+    
+    //suite->addTestL( CCaeTestStillStates::suiteL() );
+    //suite->addTestL( CCaeTestVideoStates::suiteL() );
+    
+  	//suite->addTestL( CCaeTestStillSettings::suiteL() );
+    //suite->addTestL( CCaeTestVideoSettings::suiteL() );
+    
+    return suite;	
+    }
+
+