homescreensrv_plat/sapi_homescreenplugin/tsrc/hspsconfigurationif/inc/mt_hsps_restoreconfigurations_1.h
equal
deleted
inserted
replaced
33 |
33 |
34 Test steps |
34 Test steps |
35 |
35 |
36 Test step 1: |
36 Test step 1: |
37 • Input: |
37 • Input: |
38 RestoreConfigurations(“active”) |
38 RestoreConfigurations(“default”) |
39 • Expected output: |
39 • Expected output: |
40 Restoring succeeded |
40 Restoring from eMMC/UDA/ROM succeeded |
41 |
41 |
42 Test step 2: |
42 Test step 2: |
43 • Input: |
43 • Input: |
44 GetActiveAppConf |
44 GetActiveAppConf |
45 • Expected output: |
45 • Expected output: |
46 ROM configuration is restored and returned. |
46 Default configuration is restored and returned. |
47 |
47 |
48 Test step 3: |
48 Test step 3: |
49 • Input: |
49 • Input: |
50 GetPluginConf(“Typical - View1”) |
50 GetPluginConf(“Typical - View1”) |
51 • Expected output: |
51 • Expected output: |
52 ROM view configuration is returned. |
52 ROM's view configuration from is returned. |
53 |
53 |
54 Test step 4: |
54 Test step 4: |
55 • Input: |
55 • Input: |
56 RestoreConfigurations(“all”) |
56 RestoreConfigurations(“views”) |
57 • Expected output: |
57 • Expected output: |
58 Restoring succeeded |
58 Restoring of the views succeeded |
59 |
59 |
60 Test step 5: |
60 Test step 5: |
61 • Input: |
61 • Input: |
62 GetActiveAppConf |
62 GetActiveAppConf |
63 • Expected output: |
63 • Expected output: |
99 // - Variant value length (LE) |
99 // - Variant value length (LE) |
100 // - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 ) |
100 // - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 ) |
101 // - Variant value |
101 // - Variant value |
102 10, |
102 10, |
103 5, |
103 5, |
104 6,0,0,0, |
104 7,0,0,0, |
105 26, |
105 30, |
106 'a','c','t','i','v','e' |
106 'd','e','f','a','u','l','t' |
107 }; |
107 }; |
108 |
108 |
109 // Test step 1 output: |
109 // Test step 1 output: |
110 const TUint8 restoreconfigurations_1_ts_1_output[] = { |
110 const TUint8 restoreconfigurations_1_ts_1_output[] = { |
111 // RestoreConfigurations(Output) |
111 // RestoreConfigurations(Output) |
1881 // - Variant value length (LE) |
1881 // - Variant value length (LE) |
1882 // - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 ) |
1882 // - Variant value descriptor maximum length ( ( variant value length * 4 ) + 2 ) |
1883 // - Variant value |
1883 // - Variant value |
1884 10, |
1884 10, |
1885 5, |
1885 5, |
1886 3,0,0,0, |
1886 5,0,0,0, |
1887 14, |
1887 22, |
1888 'a','l','l' |
1888 'v','i','e','w','s' |
1889 }; |
1889 }; |
1890 |
1890 |
1891 // Test step 4 output: |
1891 // Test step 4 output: |
1892 const TUint8 restoreconfigurations_1_ts_4_output[] = { |
1892 const TUint8 restoreconfigurations_1_ts_4_output[] = { |
1893 // RestoreConfigurations(Output) |
1893 // RestoreConfigurations(Output) |