~aleteoryx/muditaos

ref: 8e056fda939ce0c64826a30275e0b19127a6fb67 muditaos/test/pytest/service-bluetooth/doc/bluetooth-dev-test-on-off.puml -rw-r--r-- 469 bytes
8e056fda — Piotr Tański [EGD-7205] Tethering can not be enabled in offline mode 4 years ago
                                                                                
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
@startuml
skinparam BackgroundColor F0F0F0

start
partition Initialization {
    :enforce pretest machine conditions:
    ** bluetooth turned off;
}

partition test-run {

    : set state:
     -power on;
    : get device state;

    if (power is on )
        : set state:
        -power off;
    else (no=failure)
        stop
    endif

    : get device state;
    if (power is off ) then (success)
        stop
    else (no=failure)
        stop
    endif
}
@enduml