sysstatemgmt/systemstatereferenceplugins/test/tclayer/scripts/ssrefpluginstest_clayer_startupadaptationadapter.script
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysstatemgmt/systemstatereferenceplugins/test/tclayer/scripts/ssrefpluginstest_clayer_startupadaptationadapter.script Tue Feb 02 00:53:00 2010 +0200
@@ -0,0 +1,70 @@
+// Copyright (c) 2007-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:
+//
+
+PRINT Run Startup Adaptation Adapter tests
+
+LOAD_SUITE tclayer_server
+
+START_TESTCASE DEVSRVS-SSREFPLUGINS-CLAYER-0012
+//! @SYMTestCaseID DEVSRVS-SSREFPLUGINS-CLAYER-0012
+//! @SYMPREQ PREQ1871
+//! @SYMREQ REQ9149
+//! @SYMTestType UT
+//! @SYMTestPriority Critical
+//! @SYMTestStatus Implemented
+//! @SYMTestCaseDesc Check behaviour of State adaptation class.
+//! Check behaviour of SIM adaptation class.
+//! Check behaviour of RTC adaptation class.
+//! Check behaviour of emergency call RF adaptation class.
+//! Check behaviour of misc adaptation class.
+//! Check behaviour of concurrent requests on adaptation classes.
+//! Check behaviour of on demand adaptation loading.
+//! Check behaviour of creation and destruction of adaptation classes
+//! Check behaviour of mulitple requests.
+//! @SYMTestActions doTestStateAdaptationL() Tests that each method in the state adaptation class forwards requests to and from
+//! the startup adaptation wrapper correctly.
+//! doTestSimAdaptationL() Tests that each method in the SIM adaptation class forwards requests to and from
+//! the startup adaptation wrapper correctly.
+//! doTestRtcAdaptationL() Tests that each method in the RTC adaptation class forwards requests to and from
+//! the startup adaptation wrapper correctly.
+//! doTestEmergencyCallRfAdaptationL() Tests that each method in the emergency call RF adaptation class forwards requests to and from
+//! the startup adaptation wrapper correctly.
+//! doTestMiscAdaptationL() Tests that each method in the misc adaptation class forwards requests to and from
+//! the startup adaptation wrapper correctly.
+//! doTestConcurrentRequestsL() Tests that concurrent requests to the startup adaptation adapter are queued
+//! by the startup adaptation wrapper correctly.
+//! doTestOnDemandL() Tests that the startup adaptation adapter only loads the
+//! startup adaptation on demand.
+//! doTestCreationAndDestructionL() Tests that the exported functions create the adaptation classes correctly
+//! and then tests destruction by destroying the adaptation adapter.
+//! doTestMultipleRequestsL() Tests that the startup adaptation adapter doesn't dispatch multiple requests.
+//! @SYMTestExpectedResults All methods handle the object data appropriately, with no errors reported and the
+//! startup adaptation wrapper having appropriate methods called.
+//! All methods handle the object data appropriately, with no errors reported and the
+//! startup adaptation wrapper having appropriate methods called.
+//! All methods handle the object data appropriately, with no errors reported and the
+//! startup adaptation wrapper having appropriate methods called.
+//! All methods handle the object data appropriately, with no errors reported and the
+//! startup adaptation wrapper having appropriate methods called.
+//! All methods handle the object data appropriately, with no errors reported and the
+//! startup adaptation wrapper having appropriate methods called.
+//! All methods handle the object data appropriately, with no errors reported and the
+//! startup adaptation wrapper having appropriate methods called.
+//! The startup adaptation is only loaded when a request is made which needs it.
+//! The classes are created and destroyed with no memory leaks.
+//! The startup adaptation is only loaded when a request is made which needs it.
+RUN_TEST_STEP 100 tclayer_server CCLayerTestStartupAdaptationAdapter
+END_TESTCASE DEVSRVS-SSREFPLUGINS-CLAYER-0012
+