|
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 |
|
17 //USBSRV |
|
18 //Component tests |
|
19 LOAD_SUITE T_UsbManagerServer |
|
20 |
|
21 RUN_UTILS MkDir C:\testdata\ |
|
22 RUN_UTILS MkDir C:\testdata\config\ |
|
23 RUN_UTILS CopyFile Z:\testdata\config\stub1cc.ini C:\testdata\config\stub1cc.ini |
|
24 RUN_UTILS CopyFile Z:\testdata\config\stub2cc.ini C:\testdata\config\stub2cc.ini |
|
25 RUN_UTILS CopyFile Z:\testdata\config\stub3cc.ini C:\testdata\config\stub3cc.ini |
|
26 RUN_UTILS MkDir c:\private\ |
|
27 RUN_UTILS MkDir c:\private\101fe1db\ |
|
28 RUN_UTILS CopyFile Z:\private\101fe1db\usbman.r01 c:\private\101fe1db\usbman.r01 |
|
29 // Delay 3 seconds for RUN_UTILS to complete |
|
30 DELAY 3000 |
|
31 |
|
32 //! @SYMTestCaseID T_LoadPersonalitiesMissingCC |
|
33 //! @SYMTestType CT |
|
34 //! @SYMTestCaseDesc Test startup USB Server and loading of personality list when one of CC from this list isn't present. |
|
35 //! @SYMFssID USB/DynamicClassChange/1 |
|
36 //! @SYMFssID USB/DynamicClassChange/1.3.1 |
|
37 //! @SYMTestActions Create a new session with CUsbServer. It's cause creation of new |
|
38 //! CUsbDevice object which read personality list and then validate these personalities . |
|
39 //! @SYMTestExpectedResults RUsb::Conect() method should fail with expected errcode due to failure of personality validation |
|
40 //! @SYMTestPriority Low |
|
41 //! @SYMTestStatus Defined |
|
42 START_TESTCASE T_LoadPersonalitiesMissingCC |
|
43 RUN_TEST_STEP 100 T_UsbManagerServer CUsbLoadPersonalityAbNormal |
|
44 END_TESTCASE T_LoadPersonalitiesMissingCC |
|
45 |