Switched test case diagrams from png to svg for better versioning

This commit is contained in:
Bartek Kryza
2022-02-25 11:16:40 +01:00
parent 4acb8f98c1
commit 7f8fe89f99
137 changed files with 3002 additions and 62 deletions

View File

@@ -0,0 +1,55 @@
<?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="281px" preserveAspectRatio="none" style="width:542px;height:281px;" version="1.1" viewBox="0 0 542 281" width="542px" zoomAndPan="magnify"><defs><filter height="300%" id="f1cmep0n1dsz3v" 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><!--MD5=[c9feb1c3ac0f2c343abb326dabedb4be]
class C_0000000389--><rect fill="#FEFECE" filter="url(#f1cmep0n1dsz3v)" height="86.4141" id="C_0000000389" style="stroke: #A80036; stroke-width: 1.5;" width="115" x="258" y="8"/><ellipse cx="291.9" cy="24" fill="#A9DCDF" rx="11" ry="11" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M292.0094,19.3438 L290.8531,24.4219 L293.1813,24.4219 L292.0094,19.3438 Z M290.525,17.1094 L293.5094,17.1094 L296.8688,29.5 L294.4156,29.5 L293.65,26.4375 L290.3688,26.4375 L289.6188,29.5 L287.1813,29.5 L290.525,17.1094 Z "/><text fill="#000000" font-family="sans-serif" font-size="12" font-style="italic" lengthAdjust="spacingAndGlyphs" textLength="41" x="310.1" y="28.1543">Target</text><line style="stroke: #A80036; stroke-width: 1.5;" x1="259" x2="372" y1="40" y2="40"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="259" x2="372" y1="48" y2="48"/><ellipse cx="269" cy="59" fill="#84BE84" rx="3" ry="3" style="stroke: #038048; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" text-decoration="underline" textLength="89" x="278" y="62.2104">~Target() : void</text><ellipse cx="269" cy="71.8047" fill="#84BE84" rx="3" ry="3" style="stroke: #038048; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" font-style="italic" lengthAdjust="spacingAndGlyphs" textLength="86" x="278" y="75.0151">m1() = 0 : void</text><ellipse cx="269" cy="84.6094" fill="#84BE84" rx="3" ry="3" style="stroke: #038048; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" font-style="italic" lengthAdjust="spacingAndGlyphs" textLength="86" x="278" y="87.8198">m2() = 0 : void</text><!--MD5=[aa1a4070660858674624de90e9f12e06]
class C_0000000391--><rect fill="#FEFECE" filter="url(#f1cmep0n1dsz3v)" height="73.6094" id="C_0000000391" style="stroke: #A80036; stroke-width: 1.5;" width="87" x="6" y="183.5"/><ellipse cx="23.7" cy="199.5" fill="#ADD1B2" rx="11" ry="11" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M26.6688,205.1406 Q26.0906,205.4375 25.45,205.5781 Q24.8094,205.7344 24.1063,205.7344 Q21.6063,205.7344 20.2781,204.0938 Q18.9656,202.4375 18.9656,199.3125 Q18.9656,196.1875 20.2781,194.5313 Q21.6063,192.875 24.1063,192.875 Q24.8094,192.875 25.45,193.0313 Q26.1063,193.1875 26.6688,193.4844 L26.6688,196.2031 Q26.0438,195.625 25.45,195.3594 Q24.8563,195.0781 24.2313,195.0781 Q22.8875,195.0781 22.2,196.1563 Q21.5125,197.2188 21.5125,199.3125 Q21.5125,201.4063 22.2,202.4844 Q22.8875,203.5469 24.2313,203.5469 Q24.8563,203.5469 25.45,203.2813 Q26.0438,203 26.6688,202.4219 L26.6688,205.1406 Z "/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="49" x="38.3" y="203.6543">Target1</text><line style="stroke: #A80036; stroke-width: 1.5;" x1="7" x2="92" y1="215.5" y2="215.5"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="7" x2="92" y1="223.5" y2="223.5"/><ellipse cx="17" cy="234.5" fill="#84BE84" rx="3" ry="3" style="stroke: #038048; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="61" x="26" y="237.7104">m1() : void</text><ellipse cx="17" cy="247.3047" fill="#84BE84" rx="3" ry="3" style="stroke: #038048; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="61" x="26" y="250.5151">m2() : void</text><!--MD5=[48e077b265b11ae427856b88da124a83]
class C_0000000393--><rect fill="#FEFECE" filter="url(#f1cmep0n1dsz3v)" height="73.6094" id="C_0000000393" style="stroke: #A80036; stroke-width: 1.5;" width="87" x="128" y="183.5"/><ellipse cx="145.7" cy="199.5" fill="#ADD1B2" rx="11" ry="11" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M148.6688,205.1406 Q148.0906,205.4375 147.45,205.5781 Q146.8094,205.7344 146.1063,205.7344 Q143.6063,205.7344 142.2781,204.0938 Q140.9656,202.4375 140.9656,199.3125 Q140.9656,196.1875 142.2781,194.5313 Q143.6063,192.875 146.1063,192.875 Q146.8094,192.875 147.45,193.0313 Q148.1063,193.1875 148.6688,193.4844 L148.6688,196.2031 Q148.0438,195.625 147.45,195.3594 Q146.8563,195.0781 146.2313,195.0781 Q144.8875,195.0781 144.2,196.1563 Q143.5125,197.2188 143.5125,199.3125 Q143.5125,201.4063 144.2,202.4844 Q144.8875,203.5469 146.2313,203.5469 Q146.8563,203.5469 147.45,203.2813 Q148.0438,203 148.6688,202.4219 L148.6688,205.1406 Z "/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="49" x="160.3" y="203.6543">Target2</text><line style="stroke: #A80036; stroke-width: 1.5;" x1="129" x2="214" y1="215.5" y2="215.5"/><line style="stroke: #A80036; stroke-width: 1.5;" x1="129" x2="214" y1="223.5" y2="223.5"/><ellipse cx="139" cy="234.5" fill="#84BE84" rx="3" ry="3" style="stroke: #038048; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="61" x="148" y="237.7104">m1() : void</text><ellipse cx="139" cy="247.3047" fill="#84BE84" rx="3" ry="3" style="stroke: #038048; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="61" x="148" y="250.5151">m2() : void</text><!--MD5=[2ce3b89a5e0022adb5dbb0b3dd08092c]
class C_0000000395--><rect fill="#FEFECE" filter="url(#f1cmep0n1dsz3v)" height="99.2188" id="C_0000000395" style="stroke: #A80036; stroke-width: 1.5;" width="281" x="250" y="171"/><ellipse cx="369.75" cy="187" fill="#ADD1B2" rx="11" ry="11" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M372.7188,192.6406 Q372.1406,192.9375 371.5,193.0781 Q370.8594,193.2344 370.1563,193.2344 Q367.6563,193.2344 366.3281,191.5938 Q365.0156,189.9375 365.0156,186.8125 Q365.0156,183.6875 366.3281,182.0313 Q367.6563,180.375 370.1563,180.375 Q370.8594,180.375 371.5,180.5313 Q372.1563,180.6875 372.7188,180.9844 L372.7188,183.7031 Q372.0938,183.125 371.5,182.8594 Q370.9063,182.5781 370.2813,182.5781 Q368.9375,182.5781 368.25,183.6563 Q367.5625,184.7188 367.5625,186.8125 Q367.5625,188.9063 368.25,189.9844 Q368.9375,191.0469 370.2813,191.0469 Q370.9063,191.0469 371.5,190.7813 Q372.0938,190.5 372.7188,189.9219 L372.7188,192.6406 Z "/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="33" x="390.25" y="191.1543">Proxy</text><line style="stroke: #A80036; stroke-width: 1.5;" x1="251" x2="530" y1="203" y2="203"/><rect fill="none" height="6" style="stroke: #C82930; stroke-width: 1.0;" width="6" x="258" y="211"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="206" x="270" y="217.2104">m_target : std::shared_ptr&lt;Target&gt;</text><line style="stroke: #A80036; stroke-width: 1.5;" x1="251" x2="530" y1="223.8047" y2="223.8047"/><ellipse cx="261" cy="234.8047" fill="#84BE84" rx="3" ry="3" style="stroke: #038048; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" text-decoration="underline" textLength="255" x="270" y="238.0151">Proxy(std::shared_ptr&lt;Target&gt; target) : void</text><ellipse cx="261" cy="247.6094" fill="#84BE84" rx="3" ry="3" style="stroke: #038048; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="61" x="270" y="250.8198">m1() : void</text><ellipse cx="261" cy="260.4141" fill="#84BE84" rx="3" ry="3" style="stroke: #038048; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="61" x="270" y="263.6245">m2() : void</text><!--MD5=[72bbe9278234bb76d31ba3fbaf1faca0]
reverse link C_0000000389 to C_0000000391--><path d="M239.88,92.42 C200.47,114.35 151.97,142.7 110.5,171 C104.8,174.89 98.95,179.15 93.24,183.49 " fill="none" id="C_0000000389&lt;-C_0000000391" style="stroke: #A80036; stroke-width: 1.0;"/><polygon fill="none" points="236.68,86.19,257.58,82.67,243.44,98.45,236.68,86.19" style="stroke: #A80036; stroke-width: 1.0;"/><!--MD5=[0e068f479157b35782fe0e85748627d3]
reverse link C_0000000389 to C_0000000393--><path d="M265.83,109.78 C244.79,134.25 220.92,162.02 202.46,183.49 " fill="none" id="C_0000000389&lt;-C_0000000393" style="stroke: #A80036; stroke-width: 1.0;"/><polygon fill="none" points="260.82,104.87,279.16,94.27,271.43,114,260.82,104.87" style="stroke: #A80036; stroke-width: 1.0;"/><!--MD5=[db76d2231bacbb98d8f798094b00bdfa]
reverse link C_0000000389 to C_0000000395--><path d="M325.26,112.97 C329.19,122.37 333.44,131.95 337.5,141 C341.86,150.71 346.56,161.08 351.46,170.98 " fill="none" id="C_0000000389&lt;-C_0000000395" style="stroke: #A80036; stroke-width: 1.0;"/><polygon fill="none" points="318.67,115.34,317.79,94.17,331.68,110.17,318.67,115.34" style="stroke: #A80036; stroke-width: 1.0;"/><!--MD5=[fc2ffef7e70eac763cc679ee61b56f04]
link C_0000000395 to C_0000000389--><path d="M385.71,170.98 C381.56,161.08 376.86,150.71 372.5,141 C366.36,127.31 359.78,112.39 353.05,98.74 " fill="none" id="C_0000000395-&gt;C_0000000389" style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 7.0,7.0;"/><polygon fill="#A80036" points="350.76,94.17,351.1946,104.0093,352.9903,98.645,358.3546,100.4407,350.76,94.17" style="stroke: #A80036; stroke-width: 1.0;"/><!--MD5=[fc2ffef7e70eac763cc679ee61b56f04]
link C_0000000395 to C_0000000389--><path d="M371.37,170.61 C365.25,155.56 358.3,139.01 351.5,124 C347.75,115.73 343.59,107.02 339.46,98.63 " fill="none" id="C_0000000395-&gt;C_0000000389-1" style="stroke: #A80036; stroke-width: 1.0;"/><polygon fill="#A80036" points="337.17,94,337.5669,103.8409,339.3832,98.4835,344.7405,100.2997,337.17,94" style="stroke: #A80036; stroke-width: 1.0;"/><rect fill="none" height="6" style="stroke: #C82930; stroke-width: 1.0;" width="6" x="360.5" y="130.0664"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="59" x="370.5" y="137.0669">m_target</text><!--MD5=[9d3c39084eac15382306cc03fc14efd0]
@startuml
abstract "Target" as C_0000000389
abstract C_0000000389 {
{static} +~Target() : void
{abstract} +m1() = 0 : void
{abstract} +m2() = 0 : void
}
class "Target1" as C_0000000391
class C_0000000391 {
+m1() : void
+m2() : void
}
C_0000000389 <|- - C_0000000391
class "Target2" as C_0000000393
class C_0000000393 {
+m1() : void
+m2() : void
}
C_0000000389 <|- - C_0000000393
class "Proxy" as C_0000000395
class C_0000000395 {
{static} +Proxy(std::shared_ptr<Target> target) : void
+m1() : void
+m2() : void
-m_target : std::shared_ptr<Target>
}
C_0000000389 <|- - C_0000000395
C_0000000395 ..> C_0000000389
C_0000000395 - -> C_0000000389 : -m_target
@enduml
PlantUML version 1.2020.02(Sun Mar 01 11:22:07 CET 2020)
(GPL source distribution)
Java Runtime: OpenJDK Runtime Environment
JVM: OpenJDK 64-Bit Server VM
Java Version: 11.0.13+8-Ubuntu-0ubuntu1.21.10
Operating System: Linux
Default Encoding: UTF-8
Language: pl
Country: PL
--></g></svg>

After

Width:  |  Height:  |  Size: 12 KiB