~aleteoryx/muditaos

ref: 395e99e16239630263d5892e2462f1333236ae99 muditaos/test/pytest/service-bluetooth/doc/bluetooth-test-pairing-forget-pair.svg -rw-r--r-- 9.9 KiB
395e99e1 — Marek Niepieklo [CP-583] Update failure due to version.json on the phone 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentScriptType="application/ecmascript" contentStyleType="text/css" height="630px" preserveAspectRatio="none" style="width:388px;height:630px;" version="1.1" viewBox="0 0 388 630" width="388px" zoomAndPan="magnify"><defs><filter height="300%" id="fkoea4umu0pon" width="300%" x="-1" y="-1"><feGaussianBlur result="blurOut" stdDeviation="2.0"/><feColorMatrix in="blurOut" result="blurOut2" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0"/><feOffset dx="4.0" dy="4.0" in="blurOut2" result="blurOut3"/><feBlend in="SourceGraphic" in2="blurOut3" mode="normal"/></filter></defs><g><ellipse cx="176" cy="20" fill="#000000" filter="url(#fkoea4umu0pon)" rx="10" ry="10" style="stroke: none; stroke-width: 1.0;"/><rect fill="#FFFFFF" filter="url(#fkoea4umu0pon)" height="152.1094" style="stroke: #000000; stroke-width: 2.0;" width="268" x="42" y="40.8018"/><path d="M131,41.8018 L131,50.0986 L121,60.0986 L42,60.0986 " fill="none" style="stroke: #000000; stroke-width: 2.0;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="79" x="45" y="54.7969">Initialization</text><rect fill="#FEFECE" filter="url(#fkoea4umu0pon)" height="103.8125" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="248" x="52" y="77.0986"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="228" x="62" y="98.2373">enforce pretest machine conditions:</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="142" x="62" y="112.2061">-inject test data to DB:</text><rect fill="#000000" height="3.5" style="stroke: #000000; stroke-width: 0.0;" width="3.5" x="79" y="121.0049"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="59" x="84" y="126.1748">BT device</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="156" x="62" y="140.1436">-PurePhone visible state:</text><rect fill="#000000" height="3.5" style="stroke: #000000; stroke-width: 0.0;" width="3.5" x="79" y="148.9424"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="201" x="84" y="154.1123">in ApplicationSettings:Bluetooth</text><rect fill="#000000" height="3.5" style="stroke: #000000; stroke-width: 0.0;" width="3.5" x="79" y="162.9111"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="127" x="84" y="168.0811">bluetooth turned off</text><rect fill="#FFFFFF" filter="url(#fkoea4umu0pon)" height="294.3159" style="stroke: #000000; stroke-width: 2.0;" width="298" x="79.5" y="203.7129"/><path d="M144.5,204.7129 L144.5,213.0098 L134.5,223.0098 L79.5,223.0098 " fill="none" style="stroke: #000000; stroke-width: 2.0;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="55" x="82.5" y="217.708">test-run</text><rect fill="#FEFECE" filter="url(#fkoea4umu0pon)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="89" x="131.5" y="240.0098"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="65" x="145.5" y="261.1484">turn BT on</text><rect fill="#FEFECE" filter="url(#fkoea4umu0pon)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="124" x="114" y="293.9785"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="100" x="128" y="315.1172">enter AllDevices</text><rect fill="#FEFECE" filter="url(#fkoea4umu0pon)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="62" x="145" y="396.3496"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="38" x="159" y="417.4883">forget</text><polygon fill="#FEFECE" filter="url(#fkoea4umu0pon)" points="101.5,347.9473,250.5,347.9473,262.5,359.9473,250.5,371.9473,101.5,371.9473,89.5,359.9473,101.5,347.9473" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="20" x="180" y="382.1577">yes</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="149" x="101.5" y="363.7554">BT device name displayed</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="67" x="262.5" y="357.353">no = failure</text><ellipse cx="349.5" cy="359.9473" fill="none" filter="url(#fkoea4umu0pon)" rx="10" ry="10" style="stroke: #000000; stroke-width: 1.0;"/><ellipse cx="350" cy="360.4473" fill="#000000" filter="url(#fkoea4umu0pon)" rx="6" ry="6" style="stroke: none; stroke-width: 1.0;"/><polygon fill="#FEFECE" filter="url(#fkoea4umu0pon)" points="101.5,450.3184,250.5,450.3184,262.5,462.3184,250.5,474.3184,101.5,474.3184,89.5,462.3184,101.5,450.3184" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="47" x="180" y="484.5288">success</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="149" x="101.5" y="466.1265">BT device name displayed</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="73" x="262.5" y="459.7241">yes = failure</text><ellipse cx="355.5" cy="462.3184" fill="none" filter="url(#fkoea4umu0pon)" rx="10" ry="10" style="stroke: #000000; stroke-width: 1.0;"/><ellipse cx="356" cy="462.8184" fill="#000000" filter="url(#fkoea4umu0pon)" rx="6" ry="6" style="stroke: none; stroke-width: 1.0;"/><rect fill="#FFFFFF" filter="url(#fkoea4umu0pon)" height="110.2031" style="stroke: #000000; stroke-width: 2.0;" width="332" x="10" y="508.8306"/><path d="M142,509.8306 L142,518.1274 L132,528.1274 L10,528.1274 " fill="none" style="stroke: #000000; stroke-width: 2.0;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="122" x="13" y="522.8257">post-test-analysis</text><rect fill="#FEFECE" filter="url(#fkoea4umu0pon)" height="61.9063" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="312" x="20" y="545.1274"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="141" x="30" y="566.2661">on "all device" window:</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="211" x="30" y="580.2349">-parse all devices window content</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="292" x="30" y="594.2036">-check for BT device name - should not appear</text><line style="stroke: #A80036; stroke-width: 1.5;" x1="176" x2="176" y1="30" y2="77.0986"/><polygon fill="#A80036" points="172,67.0986,176,77.0986,180,67.0986,176,71.0986" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="176" x2="176" y1="273.9785" y2="293.9785"/><polygon fill="#A80036" points="172,283.9785,176,293.9785,180,283.9785,176,287.9785" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="176" x2="176" y1="371.9473" y2="396.3496"/><polygon fill="#A80036" points="172,386.3496,176,396.3496,180,386.3496,176,390.3496" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="262.5" x2="339.5" y1="359.9473" y2="359.9473"/><polygon fill="#A80036" points="329.5,355.9473,339.5,359.9473,329.5,363.9473,333.5,359.9473" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="176" x2="176" y1="430.3184" y2="450.3184"/><polygon fill="#A80036" points="172,440.3184,176,450.3184,180,440.3184,176,444.3184" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="176" x2="176" y1="327.9473" y2="347.9473"/><polygon fill="#A80036" points="172,337.9473,176,347.9473,180,337.9473,176,341.9473" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="176" x2="176" y1="474.3184" y2="545.1274"/><polygon fill="#A80036" points="172,535.1274,176,545.1274,180,535.1274,176,539.1274" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="262.5" x2="345.5" y1="462.3184" y2="462.3184"/><polygon fill="#A80036" points="335.5,458.3184,345.5,462.3184,335.5,466.3184,339.5,462.3184" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="176" x2="176" y1="180.9111" y2="240.0098"/><polygon fill="#A80036" points="172,230.0098,176,240.0098,180,230.0098,176,234.0098" style="stroke: #A80036; stroke-width: 1.0;"/><!--
@startuml
start
partition Initialization {
    :enforce pretest machine conditions:
    -inject test data to DB:
    ** BT device
    -PurePhone visible state:
    ** in ApplicationSettings:Bluetooth
    ** bluetooth turned off;
}

partition test-run {
    : turn BT on;
    : enter AllDevices;

    if (BT device name displayed) then (yes)
        : forget;
    else (no = failure)
        stop
    endif
    if (BT device name displayed) then (success)
    else (yes = failure)
        stop
    endif
}

partition post-test-analysis {
    :on "all device" window:
    -parse all devices window content
    -check for BT device name - should not appear;
}

@enduml

PlantUML version 1.2018.13(Mon Nov 26 18:11:51 CET 2018)
(GPL source distribution)
Java Runtime: OpenJDK Runtime Environment
JVM: OpenJDK 64-Bit Server VM
Java Version: 11.0.10+9-Ubuntu-0ubuntu1.20.04
Operating System: Linux
OS Version: 5.8.0-43-generic
Default Encoding: UTF-8
Language: en
Country: US
--></g></svg>