wlanapitest/wlanhaitest/wlan/scripts/networking-wlan-validation-automated-instantiate.script
branchRCL_3
changeset 18 d3d7683d16f5
parent 0 c40eb8fe8501
equal deleted inserted replaced
17:a828660c511c 18:d3d7683d16f5
       
     1 //
       
     2 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 // All rights reserved.
       
     4 // This component and the accompanying materials are made available
       
     5 // under the terms of "Eclipse Public License v1.0"
       
     6 // which accompanies this distribution, and is available
       
     7 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 //
       
     9 // Initial Contributors:
       
    10 // Nokia Corporation - initial contribution.
       
    11 //
       
    12 // Contributors:
       
    13 //
       
    14 // Description: 
       
    15 //
       
    16 //
       
    17 //! @file
       
    18 //! @SYMTestSuiteName networking-wlan-validation-automated-instantiate
       
    19 //! @SYMScriptTestEnvironment This test script requires a basic ROM.
       
    20 //
       
    21 // Tests all public elements of the RConnection, RSocket, RSocketServ, CWLanMgmtClient, CWLanScanInfo, CComsDataBase, CComsDbTableView
       
    22 // classes as a means of confidence that the APIs work as expected.
       
    23 // 
       
    24 // The purpose is to provide a regression test suite of PublishedAll
       
    25 // APIs for: RConnection, RSocket, RSocketServ, CWLanMgmtClient, CWLanScanInfo, CComsDataBase, CComsDbTableView
       
    26 // The tests are fully automated.
       
    27 //
       
    28 
       
    29 
       
    30 
       
    31 LOAD_SUITE T_Wlan
       
    32 
       
    33 
       
    34 
       
    35 
       
    36 
       
    37 START_TESTCASE NETWORKING-WLAN-VALIDATION-AUTOMATED-INSTANTIATE-0001
       
    38 
       
    39 //!@SYMTestCaseID		NETWORKING-WLAN-VALIDATION-AUTOMATED-INSTANTIATE-0001
       
    40 //!@SYMAPI
       
    41 //!                REComSession::CreateImplementationL(TUid, TUid{ref});
       
    42 //!                REComSession::DestroyedImplementation(TUid);
       
    43 //!@SYMAuthor			alavariega
       
    44 //!@SYMCreationDate		23/06/2008
       
    45 //!@SYMTestCaseDesc		Instantiate ScanInfo
       
    46 //!@SYMTestActions
       
    47 //!                1.- Instantiate WLAN Scan Info: NewL ( WlanScanUid = {UID, Uid} )
       
    48 //!                2.- Destroy Scan Info: ~
       
    49 //!@SYMTestStatus		Verified
       
    50 //!@SYMTestPriority		Normal
       
    51 //!@SYMTestExpectedResults
       
    52 //!                Instantiate WLAN Scan Info with no errors
       
    53 //!@SYMTestType			CIT
       
    54 
       
    55 	START_TEST_BLOCK	100	T_Wlan	\nt\wlan\networking-wlan-validation-automated-instantiate.ini
       
    56 		CREATE_OBJECT	WlanScanInfo		wlansinf
       
    57 		COMMAND		wlansinf		NewL			NETWORKING-Wlan-Instantiate-0001-0001-NewL_command01
       
    58 		COMMAND		wlansinf		~
       
    59 	END_TEST_BLOCK
       
    60 END_TESTCASE NETWORKING-WLAN-VALIDATION-AUTOMATED-INSTANTIATE-0001
       
    61 
       
    62 
       
    63 
       
    64 
       
    65 START_TESTCASE NETWORKING-WLAN-VALIDATION-AUTOMATED-INSTANTIATE-0002
       
    66 
       
    67 //!@SYMTestCaseID		NETWORKING-WLAN-VALIDATION-AUTOMATED-INSTANTIATE-0002
       
    68 //!@SYMAPI
       
    69 //!                CWlanMgmtClient::NewL();
       
    70 //!                
       
    71 //!@SYMAuthor			alavariega
       
    72 //!@SYMCreationDate		23/06/2008
       
    73 //!@SYMTestCaseDesc		Instantiate WlanMgmtClient
       
    74 //!@SYMTestActions
       
    75 //!                1.- Instantiate WLAN Mgmt Client: NewL
       
    76 //!                2.- Destroy Mgmt Client: ~
       
    77 //!@SYMTestStatus		Verified
       
    78 //!@SYMTestPriority		Normal
       
    79 //!@SYMTestExpectedResults
       
    80 //!                Instantiate WLAN Management Client with no errors
       
    81 //!@SYMTestType			CIT
       
    82 
       
    83 	START_TEST_BLOCK	100	T_Wlan	\nt\wlan\networking-wlan-validation-automated-instantiate.ini
       
    84 		CREATE_OBJECT	WlanMgmtClient		wmgmtcnt
       
    85 		COMMAND		wmgmtcnt		NewL
       
    86 		COMMAND		wmgmtcnt		~
       
    87 	END_TEST_BLOCK
       
    88 END_TESTCASE NETWORKING-WLAN-VALIDATION-AUTOMATED-INSTANTIATE-0002
       
    89 
       
    90 DELAY 10000