<?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="1068px" preserveAspectRatio="none" style="width:474px;height:1068px;background:#F0F0F0;" version="1.1" viewBox="0 0 474 1068" width="474px" zoomAndPan="magnify"><defs><filter height="300%" id="f2v7s70chamv3" 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><rect fill="#FFFFFF" filter="url(#f2v7s70chamv3)" height="187.0156" style="stroke: #000000; stroke-width: 2.0;" width="268" x="35.5" y="10.8018"/><path d="M124.5,11.8018 L124.5,20.0986 L114.5,30.0986 L35.5,30.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="38.5" y="24.7969">Initialization</text><rect fill="#FEFECE" filter="url(#f2v7s70chamv3)" height="145.7188" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="248" x="45.5" y="40.0986"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="228" x="55.5" y="61.2373">enforce pretest machine conditions:</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="135" x="55.5" y="75.2061">-read test input data:</text><rect fill="#000000" height="3.5" style="stroke: #000000; stroke-width: 0.0;" width="3.5" x="72.5" y="84.0049"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="154" x="77.5" y="89.1748">requires BT device name</text><rect fill="#000000" height="3.5" style="stroke: #000000; stroke-width: 0.0;" width="3.5" x="72.5" y="97.9736"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="178" x="77.5" y="103.1436">optional BT device password</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="142" x="55.5" y="117.1123">-inject test data to DB:</text><rect fill="#000000" height="3.5" style="stroke: #000000; stroke-width: 0.0;" width="3.5" x="72.5" y="125.9111"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="59" x="77.5" y="131.0811">BT device</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="156" x="55.5" y="145.0498">-PurePhone visible state:</text><rect fill="#000000" height="3.5" style="stroke: #000000; stroke-width: 0.0;" width="3.5" x="72.5" y="153.8486"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="201" x="77.5" y="159.0186">in ApplicationSettings:Bluetooth</text><rect fill="#000000" height="3.5" style="stroke: #000000; stroke-width: 0.0;" width="3.5" x="72.5" y="167.8174"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="127" x="77.5" y="172.9873">bluetooth turned off</text><rect fill="#FFFFFF" filter="url(#f2v7s70chamv3)" height="727.9326" style="stroke: #000000; stroke-width: 2.0;" width="446.5" x="17" y="208.6191"/><path d="M82,209.6191 L82,217.916 L72,227.916 L17,227.916 " fill="none" style="stroke: #000000; stroke-width: 2.0;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="55" x="20" y="222.6143">test-run</text><rect fill="#FEFECE" filter="url(#f2v7s70chamv3)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="89" x="125" y="244.916"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="65" x="139" y="266.0547">turn BT on</text><rect fill="#FEFECE" filter="url(#f2v7s70chamv3)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="124" x="107.5" y="298.8848"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="100" x="121.5" y="320.0234">enter AllDevices</text><polygon fill="#FEFECE" filter="url(#f2v7s70chamv3)" points="96.5,352.8535,242.5,352.8535,254.5,364.8535,242.5,376.8535,96.5,376.8535,84.5,364.8535,96.5,352.8535" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="146" x="96.5" y="368.6616">BT device name displayed</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="20" x="64.5" y="362.2593">yes</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="14" x="254.5" y="362.2593">no</text><rect fill="#FEFECE" filter="url(#f2v7s70chamv3)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="75" x="37" y="386.8535"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="51" x="51" y="407.9922">connect</text><rect fill="#FEFECE" filter="url(#f2v7s70chamv3)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="138" x="195.5" y="386.8535"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="114" x="209.5" y="407.9922">press "+" for scan</text><polygon fill="#FEFECE" filter="url(#f2v7s70chamv3)" points="211.5,484.8223,317.5,484.8223,329.5,496.8223,317.5,508.8223,211.5,508.8223,199.5,496.8223,211.5,484.8223" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="14" x="268.5" y="519.0327">no</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="100" x="214.5" y="500.6304">timeout exceeded</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="71" x="329.5" y="494.228">yes = failure</text><ellipse cx="422.5" cy="496.8223" fill="#FFFFFF" filter="url(#f2v7s70chamv3)" rx="11" ry="11" style="stroke: #000000; stroke-width: 1.0;"/><ellipse cx="422.5" cy="496.8223" fill="#000000" rx="6" ry="6" style="stroke: #7F7F7F; stroke-width: 1.0;"/><rect fill="#FEFECE" filter="url(#f2v7s70chamv3)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="116" x="206.5" y="560.5327"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="92" x="220.5" y="581.6714">wait x seconds</text><polygon fill="#FEFECE" filter="url(#f2v7s70chamv3)" points="264.5,440.8223,276.5,452.8223,264.5,464.8223,252.5,452.8223,264.5,440.8223" style="stroke: #A80036; stroke-width: 1.5;"/><polygon fill="#FEFECE" filter="url(#f2v7s70chamv3)" points="181,614.5015,348,614.5015,360,626.5015,348,638.5015,181,638.5015,169,626.5015,181,614.5015" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="167" x="181" y="630.3096">BT device name not displayed</text><rect fill="#FEFECE" filter="url(#f2v7s70chamv3)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="92" x="218.5" y="658.5015"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="68" x="232.5" y="679.6401">add device</text><polygon fill="#FEFECE" filter="url(#f2v7s70chamv3)" points="169.5,698.4702,181.5,710.4702,169.5,722.4702,157.5,710.4702,169.5,698.4702" style="stroke: #A80036; stroke-width: 1.5;"/><rect fill="#FEFECE" filter="url(#f2v7s70chamv3)" height="33.9688" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="118" x="110.5" y="790.8726"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="98" x="120.5" y="812.0112">enter password</text><polygon fill="#FEFECE" filter="url(#f2v7s70chamv3)" points="125.5,844.8413,213.5,844.8413,225.5,856.8413,213.5,868.8413,125.5,868.8413,113.5,856.8413,125.5,844.8413" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="20" x="173.5" y="879.0518">yes</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="85" x="125.5" y="860.6494">valid password</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="65" x="225.5" y="854.2471">no = failure</text><ellipse cx="312.5" cy="856.8413" fill="#FFFFFF" filter="url(#f2v7s70chamv3)" rx="11" ry="11" style="stroke: #000000; stroke-width: 1.0;"/><ellipse cx="312.5" cy="856.8413" fill="#000000" rx="6" ry="6" style="stroke: #7F7F7F; stroke-width: 1.0;"/><polygon fill="#FEFECE" filter="url(#f2v7s70chamv3)" points="126,742.4702,213,742.4702,225,754.4702,213,766.4702,126,766.4702,114,754.4702,126,742.4702" style="stroke: #A80036; stroke-width: 1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="20" x="173.5" y="776.6807">yes</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="87" x="126" y="758.2783">need password</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="14" x="225" y="751.876">no</text><polygon fill="#FEFECE" filter="url(#f2v7s70chamv3)" points="169.5,900.5518,181.5,912.5518,169.5,924.5518,157.5,912.5518,169.5,900.5518" style="stroke: #A80036; stroke-width: 1.5;"/><rect fill="#FFFFFF" filter="url(#f2v7s70chamv3)" height="110.2031" style="stroke: #000000; stroke-width: 2.0;" width="319" x="10" y="947.3535"/><path d="M142,948.3535 L142,956.6504 L132,966.6504 L10,966.6504 " 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="961.3486">post-test-analysis</text><rect fill="#FEFECE" filter="url(#f2v7s70chamv3)" height="61.9063" rx="12.5" ry="12.5" style="stroke: #A80036; stroke-width: 1.5;" width="299" x="20" y="983.6504"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="202" x="34" y="1004.7891">check if connected successfully:</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="211" x="30" y="1018.7578">-parse all devices window content</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="279" x="30" y="1032.7266">-check for BT device name + connected icon</text><line style="stroke: #A80036; stroke-width: 1.5;" x1="169.5" x2="169.5" y1="278.8848" y2="298.8848"/><polygon fill="#A80036" points="165.5,288.8848,169.5,298.8848,173.5,288.8848,169.5,292.8848" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="264.5" x2="264.5" y1="508.8223" y2="560.5327"/><polygon fill="#A80036" points="260.5,550.5327,264.5,560.5327,268.5,550.5327,264.5,554.5327" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="329.5" x2="411.5" y1="496.8223" y2="496.8223"/><polygon fill="#A80036" points="401.5,492.8223,411.5,496.8223,401.5,500.8223,405.5,496.8223" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="264.5" x2="264.5" y1="464.8223" y2="484.8223"/><polygon fill="#A80036" points="260.5,474.8223,264.5,484.8223,268.5,474.8223,264.5,478.8223" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="360" x2="447.5" y1="626.5015" y2="626.5015"/><polygon fill="#A80036" points="443.5,540.5327,447.5,530.5327,451.5,540.5327,447.5,536.5327" style="stroke: #A80036; stroke-width: 1.5;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="447.5" x2="447.5" y1="452.8223" y2="626.5015"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="447.5" x2="276.5" y1="452.8223" y2="452.8223"/><polygon fill="#A80036" points="286.5,448.8223,276.5,452.8223,286.5,456.8223,282.5,452.8223" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="264.5" x2="264.5" y1="594.5015" y2="614.5015"/><polygon fill="#A80036" points="260.5,604.5015,264.5,614.5015,268.5,604.5015,264.5,608.5015" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="264.5" x2="264.5" y1="420.8223" y2="440.8223"/><polygon fill="#A80036" points="260.5,430.8223,264.5,440.8223,268.5,430.8223,264.5,434.8223" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="264.5" x2="264.5" y1="638.5015" y2="658.5015"/><polygon fill="#A80036" points="260.5,648.5015,264.5,658.5015,268.5,648.5015,264.5,652.5015" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="84.5" x2="74.5" y1="364.8535" y2="364.8535"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="74.5" x2="74.5" y1="364.8535" y2="386.8535"/><polygon fill="#A80036" points="70.5,376.8535,74.5,386.8535,78.5,376.8535,74.5,380.8535" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="254.5" x2="264.5" y1="364.8535" y2="364.8535"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="264.5" x2="264.5" y1="364.8535" y2="386.8535"/><polygon fill="#A80036" points="260.5,376.8535,264.5,386.8535,268.5,376.8535,264.5,380.8535" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="74.5" x2="74.5" y1="420.8223" y2="710.4702"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="74.5" x2="157.5" y1="710.4702" y2="710.4702"/><polygon fill="#A80036" points="147.5,706.4702,157.5,710.4702,147.5,714.4702,151.5,710.4702" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="264.5" x2="264.5" y1="692.4702" y2="710.4702"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="264.5" x2="181.5" y1="710.4702" y2="710.4702"/><polygon fill="#A80036" points="191.5,706.4702,181.5,710.4702,191.5,714.4702,187.5,710.4702" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="169.5" x2="169.5" y1="332.8535" y2="352.8535"/><polygon fill="#A80036" points="165.5,342.8535,169.5,352.8535,173.5,342.8535,169.5,346.8535" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="169.5" x2="169.5" y1="868.8413" y2="900.5518"/><polygon fill="#A80036" points="165.5,890.5518,169.5,900.5518,173.5,890.5518,169.5,894.5518" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="225.5" x2="301.5" y1="856.8413" y2="856.8413"/><polygon fill="#A80036" points="291.5,852.8413,301.5,856.8413,291.5,860.8413,295.5,856.8413" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="169.5" x2="169.5" y1="824.8413" y2="844.8413"/><polygon fill="#A80036" points="165.5,834.8413,169.5,844.8413,173.5,834.8413,169.5,838.8413" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="169.5" x2="169.5" y1="766.4702" y2="790.8726"/><polygon fill="#A80036" points="165.5,780.8726,169.5,790.8726,173.5,780.8726,169.5,784.8726" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="225" x2="345.5" y1="754.4702" y2="754.4702"/><polygon fill="#A80036" points="341.5,836.7593,345.5,846.7593,349.5,836.7593,345.5,840.7593" style="stroke: #A80036; stroke-width: 1.5;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="345.5" x2="345.5" y1="754.4702" y2="912.5518"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="345.5" x2="181.5" y1="912.5518" y2="912.5518"/><polygon fill="#A80036" points="191.5,908.5518,181.5,912.5518,191.5,916.5518,187.5,912.5518" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="169.5" x2="169.5" y1="722.4702" y2="742.4702"/><polygon fill="#A80036" points="165.5,732.4702,169.5,742.4702,173.5,732.4702,169.5,736.4702" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="169.5" x2="169.5" y1="185.8174" y2="244.916"/><polygon fill="#A80036" points="165.5,234.916,169.5,244.916,173.5,234.916,169.5,238.916" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="169.5" x2="169.5" y1="924.5518" y2="983.6504"/><polygon fill="#A80036" points="165.5,973.6504,169.5,983.6504,173.5,973.6504,169.5,977.6504" style="stroke: #A80036; stroke-width: 1.0;"/><!--MD5=[2cc5b9600908d28bf6bf69b54b713574]
@startuml
skinparam BackgroundColor F0F0F0
partition Initialization {
:enforce pretest machine conditions:
-read test input data:
**requires BT device name
**optional BT device password
-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)
: connect;
else (no)
: press "+" for scan;
repeat
if( timeout exceeded ) then (no)
else (yes = failure)
stop
endif
: wait x seconds;
repeatwhile (BT device name not displayed)
: add device;
endif
if (need password) then (yes)
:enter password;
if(valid password ) then (yes)
else (no = failure)
stop
endif
else (no)
endif
}
partition post-test-analysis {
: check if connected successfully:
-parse all devices window content
-check for BT device name + connected icon;
}
@enduml
PlantUML version 1.2020.02(Sun Mar 01 05:22:07 EST 2020)
(GPL source distribution)
Java Runtime: OpenJDK Runtime Environment
JVM: OpenJDK 64-Bit Server VM
Java Version: 11.0.12+7-post-Debian-2
Operating System: Linux
Default Encoding: UTF-8
Language: en
Country: US
--></g></svg>