summaryrefslogtreecommitdiff
path: root/src/components/policy/policy_external/doc/doxygen/components/TransportManager/Use Cases/UseCase3.txt
blob: f11faadfdc12ce8be0df0a5445831500667e0f50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
/*! \page components_transportmanager_use_cases_3 Scenario with 2 or more devices with 2 or more applications onboard

<h3>Preconditions:</h3>
<table>
 <tr>
  <th>Steps</th>
  <th>Actions</th>
  <th>Expected result</th>
 </tr>
 <tr>
  <td>1</td>
  <td>Device-1 is connected to Core via Bluetooth</td>
  <td>Devices are paired</td>
 </tr>
 <tr>
  <td>2</td>
  <td>Device-2 is connected to SmartDeviceLink Core via Wi-Fi</td>
  <td>Devices are in the same network</td>
 </tr>
 <tr>
  <td>3</td>
  <td>Make sure that correct devices are connected to SmartDeviceLink core</td>
  <td>IP-address of connected devices are relevant</td>
 </tr>
</table>

<h3>Testcase:</h3>
<table>
 <tr>
  <th>Steps</th>
  <th>Actions</th>
  <th>Expected result</th>
 </tr>
 <tr>
  <td>1</td>
  <td>Start SmartDeviceLink application on the Devices</td>
  <td>SmartDeviceLink application is up and ready</td>
 </tr>
 <tr>
  <td>2</td>
  <td>Initiate a Device search in HMI</td>
  <td>HMI displays the list of found devices/applications</td>
 </tr>
 <tr>
  <td>3</td>
  <td>Connect to application-1 on 1-st device</td>
  <td>Application is marked as connected/notification is displayed in HMI</td>
 </tr>
 <tr>
  <td>4</td>
  <td>Send alert message from SmartDeviceLink application-1 on device-1</td>
  <td>Alert is displayed on HMI</td>
 </tr>
 <tr>
  <td>5</td>
  <td>Connect to application-2 on 1-st device</td>
  <td>Application is marked as connected/notification is displayed in HMI Both applications are marked as connected</td>
 </tr>
 <tr>
  <td>6</td>
  <td>Send alert message from SmartDeviceLink application-2 on device-1</td>
  <td>Alert is displayed on HMI</td>
 </tr>
 <tr>
  <td>7</td>
  <td>Send alert messages from application-1 and application-2 on device-1 simultaneously</td>
  <td>Both alerts are displayed on HMI/Alerts are showed consequently</td>
 </tr>
 <tr>
  <td>8</td>
  <td>Connect to application-1 on 2-st device</td>
  <td>Application is marked as connected/notification is displayed in HMI. All 3 applications are marked as connected</td>
 </tr>
 <tr>
  <td>9</td>
  <td>Send alert messages from application-1 on device-1 and device-2 simultaneously</td>
  <td>Both alerts are displayed on HMI/Alerts are showed consequently</td>
 </tr>
 <tr>
  <td>10</td>
  <td>Send alert message from SmartDeviceLink application-1 on device-2</td>
  <td>Alert is displayed on HMI</td>
 </tr>
 <tr>
  <td>11</td>
  <td>Connect to application on 2-nd device</td>
  <td>Application is marked as connected/notification is displayed in HMI. All 4 applications are marked as connected</td>
 </tr>
 <tr>
  <td>12</td>
  <td>Send alert message from SmartDeviceLink application-2 on device-2</td>
  <td>Alert is displayed on HMI</td>
 </tr>
 <tr>
  <td>13</td>
  <td>Send alert messages from application-1 and application-2 on device-2 simultaneously</td>
  <td>Both alerts are displayed on HMI/Alerts are showed consequently</td>
 </tr>
 <tr>
  <td>14</td>
  <td>Send alert messages from application-2 on device-1 and device-2 simultaneously</td>
  <td>Both alerts are displayed on HMI/Alerts are showed consequently</td>
 </tr>
 <tr>
  <td>15</td>
  <td>Send alert messages from all application simultaneously</td>
  <td>Both alerts are displayed on HMI/Alerts are showed consequently</td>
 </tr>
 <tr>
  <td>16</td>
  <td>Disconnect device-1 from SmartDeviceLink core</td>
  <td>Applications are marked as disconnected/notification is displayed in HMI</td>
 </tr>
 <tr>
  <td>17</td>
  <td>Disconnect device-2 from SmartDeviceLink core</td>
  <td>All applications are marked as disconnected/notification is displayed in HMI</td>
 </tr>
 <tr>
  <td>18</td>
  <td><strong>Repeat steps 1-15 with more devices and more applications or use same connection method (BT of Wi-Fi)</strong></td>
  <td>Expected results should be the same</td>
 </tr>
 <tr>
  <td>19</td>
  <td><h3>Stress:</h3>Send big amount of alert messages in a short period of time from all devices</td>
  <td>All alert messages are processed correctly</td>
 </tr>
</table>

*/