|
1 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 // USB mass storage class controller |
|
17 // Component tests |
|
18 |
|
19 LOAD_SUITE T_UsbManagerServer |
|
20 |
|
21 RUN_UTILS MkDir C:\testdata\ |
|
22 RUN_UTILS MkDir C:\testdata\config\ |
|
23 |
|
24 RUN_UTILS MkDir c:\private\ |
|
25 RUN_UTILS MkDir c:\private\101fe1db\ |
|
26 RUN_UTILS CopyFile Z:\private\101fe1db\usbman.r01 c:\private\101fe1db\usbman.r01 |
|
27 RUN_UTILS MakeReadWrite c:\private\101fe1db\usbman.r01 |
|
28 |
|
29 // Delay 3 seconds for RUN_UTILS to complete |
|
30 DELAY 1000 |
|
31 |
|
32 //! @SYMTestCaseID T_UsbMsccStartStop |
|
33 //! @SYMTestType CT |
|
34 //! @SYMTestCaseDesc Test Normal Case for startup USB Server and loading of personality list |
|
35 //! @SYMFssID USB/DynamicClassChange/1 |
|
36 //! @SYMFssID USB/DynamicClassChange/1.3.1 |
|
37 //! @SYMFssID USB/DynamicClassChange/1.1.1 |
|
38 //! @SYMFssID USB/DynamicClassChange/1.2.2 |
|
39 //! @SYMFssID USB/DynamicClassChange/1.2.3 |
|
40 //! @SYMFssID USB/DynamicClassChange/1.2.3.1 |
|
41 //! @SYMFssID USB/DynamicClassChange/1.2.5 |
|
42 //! @SYMTestActions Create a new session with CUsbServer. It's cause creation of new |
|
43 //! CUsbDevice object wich read personality list from resource file and validate them. |
|
44 //! @SYMTestExpectedResults The personality IDs requested from CUsbDevice should be equal to expected. |
|
45 //! Each personality should have expected textual description and UID list of supported CCs |
|
46 //! @SYMTestPriority Low |
|
47 //! @SYMTestStatus Defined |
|
48 START_TESTCASE T_UsbMsccStartStop |
|
49 RUN_TEST_STEP 100 T_UsbManagerServer CUsbMsccStartStop |
|
50 END_TESTCASE T_UsbMsccStartStop |
|
51 |