summaryrefslogtreecommitdiff
path: root/src/components/policy/policy_external/doc/doxygen/components/TransportManager/Use Cases/UseCase1.txt
blob: 4af46e43209517f3ca7fa235c0693f92428eb412 (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
/*! \page components_transportmanager_use_cases_1 Scenario with 1 device and 1 application

<h3>Preconditions:</h3>
<table>
 <tr>
  <th>Steps</th>
  <th>Actions</th>
  <th>Expected result</th>
 </tr>
 <tr>
  <td>1</td>
  <td>The Device is connected to SmartDeviceLink Core VIA Bluetooth or Wi-Fi</td>
  <td>
     <p>For BT: Devices are paired</p>
     <p>For Wi-Fi: Devices are in the same network</p>
  </td>
 </tr>
 <tr>
  <td>2</td>
  <td>Make sure that correct device is connected to SmartDeviceLink core</td>
  <td>IP-address of connected device is 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 desired device\application</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</td>
  <td>Alert is displayed on HMI</td>
 </tr>
 <tr>
  <td>5</td>
  <td>Disconnect device from SmartDeviceLink core</td>
  <td>Application is marked as disconnected/notification is displayed in HMI</td>
 </tr>
 <tr>
  <td>6</td>
  <td>Try to send alert from disconnected device</td>
  <td>Alert shouldn’t be delivered and displayed in HMI</td>
 </tr>
 <tr>
  <td>7</td>
  <td><strong>Repeat steps 1-4 with using another connection method (BT of Wi-Fi)</strong></td>
  <td>Expected results should be the same</td>
 </tr>
 <tr>
  <td>8</td>
  <td><h3>Stress:</h3>Send big amount of alert messages in a short period of time</td>
  <td>All alert messages are processed correctly</td>
 </tr>
</table>

*/