chillerlan-QRCodeTest-Output-QRMarkupXMLTest.html 56 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Documentation</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <base href="../">
  8. <link rel="icon" href="images/favicon.ico"/>
  9. <link rel="stylesheet" href="css/normalize.css">
  10. <link rel="stylesheet" href="css/base.css">
  11. <link rel="preconnect" href="https://fonts.gstatic.com">
  12. <link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@100;200;300;400;600;700&display=swap" rel="stylesheet">
  13. <link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
  14. <link rel="stylesheet" href="css/template.css">
  15. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
  16. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-okaidia.css">
  17. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.css">
  18. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.css">
  19. <script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
  20. <script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
  21. <script src="js/template.js"></script>
  22. <script src="js/search.js"></script>
  23. <script defer src="js/searchIndex.js"></script>
  24. </head>
  25. <body id="top">
  26. <header class="phpdocumentor-header phpdocumentor-section">
  27. <h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
  28. <input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
  29. <label class="phpdocumentor-header__menu-icon" for="menu-button">
  30. <i class="fas fa-bars"></i>
  31. </label>
  32. <section data-search-form class="phpdocumentor-search">
  33. <label>
  34. <span class="visually-hidden">Search for</span>
  35. <svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
  36. <circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
  37. <line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
  38. </svg>
  39. <input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
  40. </label>
  41. </section>
  42. <nav class="phpdocumentor-topnav">
  43. <ul class="phpdocumentor-topnav__menu">
  44. <li class="phpdocumentor-topnav__menu-item -menu">
  45. <a href="https://php-qrcode.readthedocs.io">
  46. <span>
  47. User Manual
  48. </span>
  49. </a>
  50. </li>
  51. <li class="phpdocumentor-topnav__menu-item -social">
  52. <a href="https://github.com/chillerlan/php-qrcode">
  53. <span>
  54. <i class="fab fa-github"></i>
  55. </span>
  56. </a>
  57. </li>
  58. </ul>
  59. </nav>
  60. </header>
  61. <main class="phpdocumentor">
  62. <div class="phpdocumentor-section">
  63. <input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
  64. <label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
  65. Menu
  66. </label>
  67. <aside class="phpdocumentor-column -three phpdocumentor-sidebar">
  68. <section class="phpdocumentor-sidebar__category">
  69. <h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
  70. <h4 class="phpdocumentor-sidebar__root-namespace">
  71. <a href="namespaces/chillerlan.html" class="">chillerlan</a>
  72. </h4>
  73. <ul class="phpdocumentor-list">
  74. <li>
  75. <a href="namespaces/chillerlan-qrcode.html" class="">QRCode</a>
  76. </li>
  77. <li>
  78. <a href="namespaces/chillerlan-qrcodetest.html" class="">QRCodeTest</a>
  79. </li>
  80. </ul>
  81. <h4 class="phpdocumentor-sidebar__root-namespace">
  82. <a href="namespaces/output.html" class="">Output</a>
  83. </h4>
  84. </section>
  85. <section class="phpdocumentor-sidebar__category">
  86. <h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
  87. <h4 class="phpdocumentor-sidebar__root-namespace">
  88. <a href="packages/Application.html" class="">Application</a>
  89. </h4>
  90. </section>
  91. <section class="phpdocumentor-sidebar__category">
  92. <h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
  93. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
  94. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
  95. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
  96. </section>
  97. <section class="phpdocumentor-sidebar__category">
  98. <h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
  99. <h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
  100. </section>
  101. </aside>
  102. <div class="phpdocumentor-column -nine phpdocumentor-content">
  103. <section>
  104. <ul class="phpdocumentor-breadcrumbs">
  105. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan.html">chillerlan</a></li>
  106. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcodetest.html">QRCodeTest</a></li>
  107. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcodetest-output.html">Output</a></li>
  108. </ul>
  109. <article class="phpdocumentor-element -class">
  110. <h2 class="phpdocumentor-content__title">
  111. QRMarkupXMLTest
  112. <span class="phpdocumentor-element__extends">
  113. extends <a href="classes/chillerlan-QRCodeTest-Output-QRMarkupTestAbstract.html"><abbr title="\chillerlan\QRCodeTest\Output\QRMarkupTestAbstract">QRMarkupTestAbstract</abbr></a>
  114. </span>
  115. <div class="phpdocumentor-element__package">
  116. in package
  117. <ul class="phpdocumentor-breadcrumbs">
  118. <li class="phpdocumentor-breadcrumb"><a href="packages/Application.html">Application</a></li>
  119. </ul>
  120. </div>
  121. </h2>
  122. <div class="phpdocumentor-label-line">
  123. </div>
  124. <aside class="phpdocumentor-element-found-in">
  125. <abbr class="phpdocumentor-element-found-in__file" title="tests/Output/QRMarkupXMLTest.php"><a href="files/tests-output-qrmarkupxmltest.html"><abbr title="tests/Output/QRMarkupXMLTest.php">QRMarkupXMLTest.php</abbr></a></abbr>
  126. :
  127. <span class="phpdocumentor-element-found-in__line">21</span>
  128. </aside>
  129. <p class="phpdocumentor-summary">Tests the QRMarkup output module</p>
  130. <h3 id="toc">
  131. Table of Contents
  132. <a href="classes/chillerlan-QRCodeTest-Output-QRMarkupXMLTest.html#toc" class="headerlink"><i class="fas fa-link"></i></a>
  133. </h3>
  134. <h4 id="toc-constants">
  135. Constants
  136. <a href="classes/chillerlan-QRCodeTest-Output-QRMarkupXMLTest.html#toc-constants" class="headerlink"><i class="fas fa-link"></i></a>
  137. </h4>
  138. <dl class="phpdocumentor-table-of-contents">
  139. <dt class="phpdocumentor-table-of-contents__entry -constant -protected">
  140. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#constant_buildDir">buildDir</a>
  141. <span>
  142. &nbsp;= &#039;output-test&#039; </span>
  143. </dt>
  144. </dl>
  145. <h4 id="toc-properties">
  146. Properties
  147. <a href="classes/chillerlan-QRCodeTest-Output-QRMarkupXMLTest.html#toc-properties" class="headerlink"><i class="fas fa-link"></i></a>
  148. </h4>
  149. <dl class="phpdocumentor-table-of-contents">
  150. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  151. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#property_matrix">$matrix</a>
  152. <span>
  153. &nbsp;: <a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a> </span>
  154. </dt>
  155. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  156. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#property_options">$options</a>
  157. <span>
  158. &nbsp;: <abbr title="\chillerlan\Settings\SettingsContainerInterface">SettingsContainerInterface</abbr>|<a href="classes/chillerlan-QRCode-QROptions.html"><abbr title="\chillerlan\QRCode\QROptions">QROptions</abbr></a> </span>
  159. </dt>
  160. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  161. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#property_outputInterface">$outputInterface</a>
  162. <span>
  163. &nbsp;: <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html"><abbr title="\chillerlan\QRCode\Output\QROutputInterface">QROutputInterface</abbr></a> </span>
  164. </dt>
  165. </dl>
  166. <h4 id="toc-methods">
  167. Methods
  168. <a href="classes/chillerlan-QRCodeTest-Output-QRMarkupXMLTest.html#toc-methods" class="headerlink"><i class="fas fa-link"></i></a>
  169. </h4>
  170. <dl class="phpdocumentor-table-of-contents">
  171. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  172. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_moduleValueProvider">moduleValueProvider()</a>
  173. <span>
  174. &nbsp;: array&lt;string|int, mixed&gt; </span>
  175. </dt>
  176. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  177. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_testRenderToCacheFile">testRenderToCacheFile()</a>
  178. <span>
  179. &nbsp;: void </span>
  180. </dt>
  181. <dd>coverage of the built-in output modules</dd>
  182. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  183. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_testSaveException">testSaveException()</a>
  184. <span>
  185. &nbsp;: void </span>
  186. </dt>
  187. <dd>Tests if an exception is thrown when trying to write a cache file to an invalid destination</dd>
  188. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  189. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_testSetModuleValues">testSetModuleValues()</a>
  190. <span>
  191. &nbsp;: void </span>
  192. </dt>
  193. <dd>covers the module values settings</dd>
  194. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  195. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_testValidateModuleValues">testValidateModuleValues()</a>
  196. <span>
  197. &nbsp;: void </span>
  198. </dt>
  199. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  200. <a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_createBuildDir">createBuildDir()</a>
  201. <span>
  202. &nbsp;: void </span>
  203. </dt>
  204. <dd>attempts to create the build dir</dd>
  205. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  206. <a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_getBuildDir">getBuildDir()</a>
  207. <span>
  208. &nbsp;: string </span>
  209. </dt>
  210. <dd>returns the full (real) path to the given build path</dd>
  211. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  212. <a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_getBuildFileContent">getBuildFileContent()</a>
  213. <span>
  214. &nbsp;: string </span>
  215. </dt>
  216. <dd>returns the contents of the given build file</dd>
  217. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  218. <a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_getBuildFilePath">getBuildFilePath()</a>
  219. <span>
  220. &nbsp;: string </span>
  221. </dt>
  222. <dd>returns the full (real) path to the given build file</dd>
  223. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  224. <a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_getBuildPath">getBuildPath()</a>
  225. <span>
  226. &nbsp;: string </span>
  227. </dt>
  228. <dd>returns the full raw path to the build dir</dd>
  229. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  230. <a href="classes/chillerlan-QRCodeTest-Output-QRMarkupXMLTest.html#method_getOutputInterface">getOutputInterface()</a>
  231. <span>
  232. &nbsp;: <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html"><abbr title="\chillerlan\QRCode\Output\QROutputInterface">QROutputInterface</abbr></a> </span>
  233. </dt>
  234. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  235. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_setUp">setUp()</a>
  236. <span>
  237. &nbsp;: void </span>
  238. </dt>
  239. <dd>Attempts to create a directory under /.build and instances several required objects</dd>
  240. </dl>
  241. <section class="phpdocumentor-constants">
  242. <h3 class="phpdocumentor-elements__header" id="constants">
  243. Constants
  244. <a href="classes/chillerlan-QRCodeTest-Output-QRMarkupXMLTest.html#constants" class="headerlink"><i class="fas fa-link"></i></a>
  245. </h3>
  246. <article class="phpdocumentor-element -constant -protected ">
  247. <h4 class="phpdocumentor-element__name" id="constant_buildDir">
  248. buildDir
  249. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#constant_buildDir" class="headerlink"><i class="fas fa-link"></i></a>
  250. </h4>
  251. <aside class="phpdocumentor-element-found-in">
  252. <abbr class="phpdocumentor-element-found-in__file" title="tests/Output/QROutputTestAbstract.php"><a href="files/tests-output-qroutputtestabstract.html"><abbr title="tests/Output/QROutputTestAbstract.php">QROutputTestAbstract.php</abbr></a></abbr>
  253. :
  254. <span class="phpdocumentor-element-found-in__line">33</span>
  255. </aside>
  256. <code class="phpdocumentor-signature phpdocumentor-code ">
  257. <span class="phpdocumentor-signature__visibility">protected</span>
  258. <span class="phpdocumentor-signature__type">mixed</span>
  259. <span class="phpdocumentor-signature__name">buildDir</span>
  260. = <span class="phpdocumentor-signature__default-value">&#039;output-test&#039;</span>
  261. </code>
  262. </article>
  263. </section>
  264. <section class="phpdocumentor-properties">
  265. <h3 class="phpdocumentor-elements__header" id="properties">
  266. Properties
  267. <a href="classes/chillerlan-QRCodeTest-Output-QRMarkupXMLTest.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
  268. </h3>
  269. <article
  270. class="
  271. phpdocumentor-element
  272. -property
  273. -protected
  274. "
  275. >
  276. <h4 class="phpdocumentor-element__name" id="property_matrix">
  277. $matrix
  278. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#property_matrix" class="headerlink"><i class="fas fa-link"></i></a>
  279. <span class="phpdocumentor-element__modifiers">
  280. </span>
  281. </h4>
  282. <aside class="phpdocumentor-element-found-in">
  283. <abbr class="phpdocumentor-element-found-in__file" title="tests/Output/QROutputTestAbstract.php"><a href="files/tests-output-qroutputtestabstract.html"><abbr title="tests/Output/QROutputTestAbstract.php">QROutputTestAbstract.php</abbr></a></abbr>
  284. :
  285. <span class="phpdocumentor-element-found-in__line">31</span>
  286. </aside>
  287. <code class="phpdocumentor-code phpdocumentor-signature ">
  288. <span class="phpdocumentor-signature__visibility">protected</span>
  289. <span class="phpdocumentor-signature__type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a></span>
  290. <span class="phpdocumentor-signature__name">$matrix</span>
  291. </code>
  292. </article>
  293. <article
  294. class="
  295. phpdocumentor-element
  296. -property
  297. -protected
  298. "
  299. >
  300. <h4 class="phpdocumentor-element__name" id="property_options">
  301. $options
  302. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#property_options" class="headerlink"><i class="fas fa-link"></i></a>
  303. <span class="phpdocumentor-element__modifiers">
  304. </span>
  305. </h4>
  306. <aside class="phpdocumentor-element-found-in">
  307. <abbr class="phpdocumentor-element-found-in__file" title="tests/Output/QROutputTestAbstract.php"><a href="files/tests-output-qroutputtestabstract.html"><abbr title="tests/Output/QROutputTestAbstract.php">QROutputTestAbstract.php</abbr></a></abbr>
  308. :
  309. <span class="phpdocumentor-element-found-in__line">29</span>
  310. </aside>
  311. <code class="phpdocumentor-code phpdocumentor-signature ">
  312. <span class="phpdocumentor-signature__visibility">protected</span>
  313. <span class="phpdocumentor-signature__type"><abbr title="\chillerlan\Settings\SettingsContainerInterface">SettingsContainerInterface</abbr>|<a href="classes/chillerlan-QRCode-QROptions.html"><abbr title="\chillerlan\QRCode\QROptions">QROptions</abbr></a></span>
  314. <span class="phpdocumentor-signature__name">$options</span>
  315. </code>
  316. </article>
  317. <article
  318. class="
  319. phpdocumentor-element
  320. -property
  321. -protected
  322. "
  323. >
  324. <h4 class="phpdocumentor-element__name" id="property_outputInterface">
  325. $outputInterface
  326. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#property_outputInterface" class="headerlink"><i class="fas fa-link"></i></a>
  327. <span class="phpdocumentor-element__modifiers">
  328. </span>
  329. </h4>
  330. <aside class="phpdocumentor-element-found-in">
  331. <abbr class="phpdocumentor-element-found-in__file" title="tests/Output/QROutputTestAbstract.php"><a href="files/tests-output-qroutputtestabstract.html"><abbr title="tests/Output/QROutputTestAbstract.php">QROutputTestAbstract.php</abbr></a></abbr>
  332. :
  333. <span class="phpdocumentor-element-found-in__line">30</span>
  334. </aside>
  335. <code class="phpdocumentor-code phpdocumentor-signature ">
  336. <span class="phpdocumentor-signature__visibility">protected</span>
  337. <span class="phpdocumentor-signature__type"><a href="classes/chillerlan-QRCode-Output-QROutputInterface.html"><abbr title="\chillerlan\QRCode\Output\QROutputInterface">QROutputInterface</abbr></a></span>
  338. <span class="phpdocumentor-signature__name">$outputInterface</span>
  339. </code>
  340. </article>
  341. </section>
  342. <section class="phpdocumentor-methods">
  343. <h3 class="phpdocumentor-elements__header" id="methods">
  344. Methods
  345. <a href="classes/chillerlan-QRCodeTest-Output-QRMarkupXMLTest.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
  346. </h3>
  347. <article
  348. class="phpdocumentor-element
  349. -method
  350. -public
  351. -abstract -static "
  352. >
  353. <h4 class="phpdocumentor-element__name" id="method_moduleValueProvider">
  354. moduleValueProvider()
  355. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_moduleValueProvider" class="headerlink"><i class="fas fa-link"></i></a>
  356. </h4>
  357. <aside class="phpdocumentor-element-found-in">
  358. <abbr class="phpdocumentor-element-found-in__file" title="tests/Output/QROutputTestAbstract.php"><a href="files/tests-output-qroutputtestabstract.html"><abbr title="tests/Output/QROutputTestAbstract.php">QROutputTestAbstract.php</abbr></a></abbr>
  359. :
  360. <span class="phpdocumentor-element-found-in__line">61</span>
  361. </aside>
  362. <code class="phpdocumentor-code phpdocumentor-signature ">
  363. <span class="phpdocumentor-signature__visibility">public</span>
  364. <span class="phpdocumentor-signature__abstract">abstract</span> <span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">moduleValueProvider</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
  365. <div class="phpdocumentor-label-line">
  366. </div>
  367. <section>
  368. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  369. <span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
  370. </section>
  371. </article>
  372. <article
  373. class="phpdocumentor-element
  374. -method
  375. -public
  376. "
  377. >
  378. <h4 class="phpdocumentor-element__name" id="method_testRenderToCacheFile">
  379. testRenderToCacheFile()
  380. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_testRenderToCacheFile" class="headerlink"><i class="fas fa-link"></i></a>
  381. </h4>
  382. <aside class="phpdocumentor-element-found-in">
  383. <abbr class="phpdocumentor-element-found-in__file" title="tests/Output/QROutputTestAbstract.php"><a href="files/tests-output-qroutputtestabstract.html"><abbr title="tests/Output/QROutputTestAbstract.php">QROutputTestAbstract.php</abbr></a></abbr>
  384. :
  385. <span class="phpdocumentor-element-found-in__line">80</span>
  386. </aside>
  387. <p class="phpdocumentor-summary">coverage of the built-in output modules</p>
  388. <code class="phpdocumentor-code phpdocumentor-signature ">
  389. <span class="phpdocumentor-signature__visibility">public</span>
  390. <span class="phpdocumentor-signature__name">testRenderToCacheFile</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  391. <div class="phpdocumentor-label-line">
  392. </div>
  393. </article>
  394. <article
  395. class="phpdocumentor-element
  396. -method
  397. -public
  398. "
  399. >
  400. <h4 class="phpdocumentor-element__name" id="method_testSaveException">
  401. testSaveException()
  402. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_testSaveException" class="headerlink"><i class="fas fa-link"></i></a>
  403. </h4>
  404. <aside class="phpdocumentor-element-found-in">
  405. <abbr class="phpdocumentor-element-found-in__file" title="tests/Output/QROutputTestAbstract.php"><a href="files/tests-output-qroutputtestabstract.html"><abbr title="tests/Output/QROutputTestAbstract.php">QROutputTestAbstract.php</abbr></a></abbr>
  406. :
  407. <span class="phpdocumentor-element-found-in__line">54</span>
  408. </aside>
  409. <p class="phpdocumentor-summary">Tests if an exception is thrown when trying to write a cache file to an invalid destination</p>
  410. <code class="phpdocumentor-code phpdocumentor-signature ">
  411. <span class="phpdocumentor-signature__visibility">public</span>
  412. <span class="phpdocumentor-signature__name">testSaveException</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  413. <div class="phpdocumentor-label-line">
  414. </div>
  415. </article>
  416. <article
  417. class="phpdocumentor-element
  418. -method
  419. -public
  420. -abstract "
  421. >
  422. <h4 class="phpdocumentor-element__name" id="method_testSetModuleValues">
  423. testSetModuleValues()
  424. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_testSetModuleValues" class="headerlink"><i class="fas fa-link"></i></a>
  425. </h4>
  426. <aside class="phpdocumentor-element-found-in">
  427. <abbr class="phpdocumentor-element-found-in__file" title="tests/Output/QROutputTestAbstract.php"><a href="files/tests-output-qroutputtestabstract.html"><abbr title="tests/Output/QROutputTestAbstract.php">QROutputTestAbstract.php</abbr></a></abbr>
  428. :
  429. <span class="phpdocumentor-element-found-in__line">75</span>
  430. </aside>
  431. <p class="phpdocumentor-summary">covers the module values settings</p>
  432. <code class="phpdocumentor-code phpdocumentor-signature ">
  433. <span class="phpdocumentor-signature__visibility">public</span>
  434. <span class="phpdocumentor-signature__abstract">abstract</span> <span class="phpdocumentor-signature__name">testSetModuleValues</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  435. <div class="phpdocumentor-label-line">
  436. </div>
  437. </article>
  438. <article
  439. class="phpdocumentor-element
  440. -method
  441. -public
  442. "
  443. >
  444. <h4 class="phpdocumentor-element__name" id="method_testValidateModuleValues">
  445. testValidateModuleValues()
  446. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_testValidateModuleValues" class="headerlink"><i class="fas fa-link"></i></a>
  447. </h4>
  448. <aside class="phpdocumentor-element-found-in">
  449. <abbr class="phpdocumentor-element-found-in__file" title="tests/Output/QROutputTestAbstract.php"><a href="files/tests-output-qroutputtestabstract.html"><abbr title="tests/Output/QROutputTestAbstract.php">QROutputTestAbstract.php</abbr></a></abbr>
  450. :
  451. <span class="phpdocumentor-element-found-in__line">63</span>
  452. </aside>
  453. <code class="phpdocumentor-code phpdocumentor-signature ">
  454. <span class="phpdocumentor-signature__visibility">public</span>
  455. <span class="phpdocumentor-signature__name">testValidateModuleValues</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed&nbsp;</span><span class="phpdocumentor-signature__argument__name">$value</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool&nbsp;</span><span class="phpdocumentor-signature__argument__name">$expected</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  456. <div class="phpdocumentor-label-line">
  457. </div>
  458. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  459. <dl class="phpdocumentor-argument-list">
  460. <dt class="phpdocumentor-argument-list__entry">
  461. <span class="phpdocumentor-signature__argument__name">$value</span>
  462. : <span class="phpdocumentor-signature__argument__return-type">mixed</span>
  463. </dt>
  464. <dd class="phpdocumentor-argument-list__definition">
  465. </dd>
  466. <dt class="phpdocumentor-argument-list__entry">
  467. <span class="phpdocumentor-signature__argument__name">$expected</span>
  468. : <span class="phpdocumentor-signature__argument__return-type">bool</span>
  469. </dt>
  470. <dd class="phpdocumentor-argument-list__definition">
  471. </dd>
  472. </dl>
  473. </article>
  474. <article
  475. class="phpdocumentor-element
  476. -method
  477. -protected
  478. "
  479. >
  480. <h4 class="phpdocumentor-element__name" id="method_createBuildDir">
  481. createBuildDir()
  482. <a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_createBuildDir" class="headerlink"><i class="fas fa-link"></i></a>
  483. </h4>
  484. <aside class="phpdocumentor-element-found-in">
  485. <abbr class="phpdocumentor-element-found-in__file" title="tests/BuildDirTrait.php"><a href="files/tests-builddirtrait.html"><abbr title="tests/BuildDirTrait.php">BuildDirTrait.php</abbr></a></abbr>
  486. :
  487. <span class="phpdocumentor-element-found-in__line">35</span>
  488. </aside>
  489. <p class="phpdocumentor-summary">attempts to create the build dir</p>
  490. <code class="phpdocumentor-code phpdocumentor-signature ">
  491. <span class="phpdocumentor-signature__visibility">protected</span>
  492. <span class="phpdocumentor-signature__name">createBuildDir</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$subPath</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  493. <div class="phpdocumentor-label-line">
  494. </div>
  495. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  496. <dl class="phpdocumentor-argument-list">
  497. <dt class="phpdocumentor-argument-list__entry">
  498. <span class="phpdocumentor-signature__argument__name">$subPath</span>
  499. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  500. </dt>
  501. <dd class="phpdocumentor-argument-list__definition">
  502. </dd>
  503. </dl>
  504. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  505. Tags
  506. <a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_createBuildDir#tags" class="headerlink"><i class="fas fa-link"></i></a>
  507. </h5>
  508. <dl class="phpdocumentor-tag-list">
  509. <dt class="phpdocumentor-tag-list__entry">
  510. <span class="phpdocumentor-tag__name">throws</span>
  511. </dt>
  512. <dd class="phpdocumentor-tag-list__definition">
  513. <span class="phpdocumentor-tag-link"><abbr title="\RuntimeException">RuntimeException</abbr></span>
  514. </dd>
  515. </dl>
  516. </article>
  517. <article
  518. class="phpdocumentor-element
  519. -method
  520. -protected
  521. "
  522. >
  523. <h4 class="phpdocumentor-element__name" id="method_getBuildDir">
  524. getBuildDir()
  525. <a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_getBuildDir" class="headerlink"><i class="fas fa-link"></i></a>
  526. </h4>
  527. <aside class="phpdocumentor-element-found-in">
  528. <abbr class="phpdocumentor-element-found-in__file" title="tests/BuildDirTrait.php"><a href="files/tests-builddirtrait.html"><abbr title="tests/BuildDirTrait.php">BuildDirTrait.php</abbr></a></abbr>
  529. :
  530. <span class="phpdocumentor-element-found-in__line">53</span>
  531. </aside>
  532. <p class="phpdocumentor-summary">returns the full (real) path to the given build path</p>
  533. <code class="phpdocumentor-code phpdocumentor-signature ">
  534. <span class="phpdocumentor-signature__visibility">protected</span>
  535. <span class="phpdocumentor-signature__name">getBuildDir</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$subPath</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">&#039;&#039;</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
  536. <div class="phpdocumentor-label-line">
  537. </div>
  538. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  539. <dl class="phpdocumentor-argument-list">
  540. <dt class="phpdocumentor-argument-list__entry">
  541. <span class="phpdocumentor-signature__argument__name">$subPath</span>
  542. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  543. = <span class="phpdocumentor-signature__argument__default-value">&#039;&#039;</span> </dt>
  544. <dd class="phpdocumentor-argument-list__definition">
  545. </dd>
  546. </dl>
  547. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  548. Tags
  549. <a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_getBuildDir#tags" class="headerlink"><i class="fas fa-link"></i></a>
  550. </h5>
  551. <dl class="phpdocumentor-tag-list">
  552. <dt class="phpdocumentor-tag-list__entry">
  553. <span class="phpdocumentor-tag__name">throws</span>
  554. </dt>
  555. <dd class="phpdocumentor-tag-list__definition">
  556. <span class="phpdocumentor-tag-link"><abbr title="\RuntimeException">RuntimeException</abbr></span>
  557. </dd>
  558. </dl>
  559. <section>
  560. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  561. <span class="phpdocumentor-signature__response_type">string</span>
  562. </section>
  563. </article>
  564. <article
  565. class="phpdocumentor-element
  566. -method
  567. -protected
  568. "
  569. >
  570. <h4 class="phpdocumentor-element__name" id="method_getBuildFileContent">
  571. getBuildFileContent()
  572. <a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_getBuildFileContent" class="headerlink"><i class="fas fa-link"></i></a>
  573. </h4>
  574. <aside class="phpdocumentor-element-found-in">
  575. <abbr class="phpdocumentor-element-found-in__file" title="tests/BuildDirTrait.php"><a href="files/tests-builddirtrait.html"><abbr title="tests/BuildDirTrait.php">BuildDirTrait.php</abbr></a></abbr>
  576. :
  577. <span class="phpdocumentor-element-found-in__line">85</span>
  578. </aside>
  579. <p class="phpdocumentor-summary">returns the contents of the given build file</p>
  580. <code class="phpdocumentor-code phpdocumentor-signature ">
  581. <span class="phpdocumentor-signature__visibility">protected</span>
  582. <span class="phpdocumentor-signature__name">getBuildFileContent</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$fileSubPath</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
  583. <div class="phpdocumentor-label-line">
  584. </div>
  585. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  586. <dl class="phpdocumentor-argument-list">
  587. <dt class="phpdocumentor-argument-list__entry">
  588. <span class="phpdocumentor-signature__argument__name">$fileSubPath</span>
  589. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  590. </dt>
  591. <dd class="phpdocumentor-argument-list__definition">
  592. </dd>
  593. </dl>
  594. <section>
  595. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  596. <span class="phpdocumentor-signature__response_type">string</span>
  597. </section>
  598. </article>
  599. <article
  600. class="phpdocumentor-element
  601. -method
  602. -protected
  603. "
  604. >
  605. <h4 class="phpdocumentor-element__name" id="method_getBuildFilePath">
  606. getBuildFilePath()
  607. <a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_getBuildFilePath" class="headerlink"><i class="fas fa-link"></i></a>
  608. </h4>
  609. <aside class="phpdocumentor-element-found-in">
  610. <abbr class="phpdocumentor-element-found-in__file" title="tests/BuildDirTrait.php"><a href="files/tests-builddirtrait.html"><abbr title="tests/BuildDirTrait.php">BuildDirTrait.php</abbr></a></abbr>
  611. :
  612. <span class="phpdocumentor-element-found-in__line">68</span>
  613. </aside>
  614. <p class="phpdocumentor-summary">returns the full (real) path to the given build file</p>
  615. <code class="phpdocumentor-code phpdocumentor-signature ">
  616. <span class="phpdocumentor-signature__visibility">protected</span>
  617. <span class="phpdocumentor-signature__name">getBuildFilePath</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$fileSubPath</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
  618. <div class="phpdocumentor-label-line">
  619. </div>
  620. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  621. <dl class="phpdocumentor-argument-list">
  622. <dt class="phpdocumentor-argument-list__entry">
  623. <span class="phpdocumentor-signature__argument__name">$fileSubPath</span>
  624. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  625. </dt>
  626. <dd class="phpdocumentor-argument-list__definition">
  627. </dd>
  628. </dl>
  629. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  630. Tags
  631. <a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_getBuildFilePath#tags" class="headerlink"><i class="fas fa-link"></i></a>
  632. </h5>
  633. <dl class="phpdocumentor-tag-list">
  634. <dt class="phpdocumentor-tag-list__entry">
  635. <span class="phpdocumentor-tag__name">throws</span>
  636. </dt>
  637. <dd class="phpdocumentor-tag-list__definition">
  638. <span class="phpdocumentor-tag-link"><abbr title="\RuntimeException">RuntimeException</abbr></span>
  639. </dd>
  640. </dl>
  641. <section>
  642. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  643. <span class="phpdocumentor-signature__response_type">string</span>
  644. </section>
  645. </article>
  646. <article
  647. class="phpdocumentor-element
  648. -method
  649. -protected
  650. "
  651. >
  652. <h4 class="phpdocumentor-element__name" id="method_getBuildPath">
  653. getBuildPath()
  654. <a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_getBuildPath" class="headerlink"><i class="fas fa-link"></i></a>
  655. </h4>
  656. <aside class="phpdocumentor-element-found-in">
  657. <abbr class="phpdocumentor-element-found-in__file" title="tests/BuildDirTrait.php"><a href="files/tests-builddirtrait.html"><abbr title="tests/BuildDirTrait.php">BuildDirTrait.php</abbr></a></abbr>
  658. :
  659. <span class="phpdocumentor-element-found-in__line">26</span>
  660. </aside>
  661. <p class="phpdocumentor-summary">returns the full raw path to the build dir</p>
  662. <code class="phpdocumentor-code phpdocumentor-signature ">
  663. <span class="phpdocumentor-signature__visibility">protected</span>
  664. <span class="phpdocumentor-signature__name">getBuildPath</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$subPath</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
  665. <div class="phpdocumentor-label-line">
  666. </div>
  667. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  668. <dl class="phpdocumentor-argument-list">
  669. <dt class="phpdocumentor-argument-list__entry">
  670. <span class="phpdocumentor-signature__argument__name">$subPath</span>
  671. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  672. </dt>
  673. <dd class="phpdocumentor-argument-list__definition">
  674. </dd>
  675. </dl>
  676. <section>
  677. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  678. <span class="phpdocumentor-signature__response_type">string</span>
  679. </section>
  680. </article>
  681. <article
  682. class="phpdocumentor-element
  683. -method
  684. -protected
  685. "
  686. >
  687. <h4 class="phpdocumentor-element__name" id="method_getOutputInterface">
  688. getOutputInterface()
  689. <a href="classes/chillerlan-QRCodeTest-Output-QRMarkupXMLTest.html#method_getOutputInterface" class="headerlink"><i class="fas fa-link"></i></a>
  690. </h4>
  691. <aside class="phpdocumentor-element-found-in">
  692. <abbr class="phpdocumentor-element-found-in__file" title="tests/Output/QRMarkupXMLTest.php"><a href="files/tests-output-qrmarkupxmltest.html"><abbr title="tests/Output/QRMarkupXMLTest.php">QRMarkupXMLTest.php</abbr></a></abbr>
  693. :
  694. <span class="phpdocumentor-element-found-in__line">23</span>
  695. </aside>
  696. <code class="phpdocumentor-code phpdocumentor-signature ">
  697. <span class="phpdocumentor-signature__visibility">protected</span>
  698. <span class="phpdocumentor-signature__name">getOutputInterface</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><abbr title="\chillerlan\Settings\SettingsContainerInterface">SettingsContainerInterface</abbr>|<a href="classes/chillerlan-QRCode-QROptions.html"><abbr title="\chillerlan\QRCode\QROptions">QROptions</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$options</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$matrix</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/chillerlan-QRCode-Output-QROutputInterface.html"><abbr title="\chillerlan\QRCode\Output\QROutputInterface">QROutputInterface</abbr></a></span></code>
  699. <div class="phpdocumentor-label-line">
  700. </div>
  701. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  702. <dl class="phpdocumentor-argument-list">
  703. <dt class="phpdocumentor-argument-list__entry">
  704. <span class="phpdocumentor-signature__argument__name">$options</span>
  705. : <span class="phpdocumentor-signature__argument__return-type"><abbr title="\chillerlan\Settings\SettingsContainerInterface">SettingsContainerInterface</abbr>|<a href="classes/chillerlan-QRCode-QROptions.html"><abbr title="\chillerlan\QRCode\QROptions">QROptions</abbr></a></span>
  706. </dt>
  707. <dd class="phpdocumentor-argument-list__definition">
  708. </dd>
  709. <dt class="phpdocumentor-argument-list__entry">
  710. <span class="phpdocumentor-signature__argument__name">$matrix</span>
  711. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a></span>
  712. </dt>
  713. <dd class="phpdocumentor-argument-list__definition">
  714. </dd>
  715. </dl>
  716. <section>
  717. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  718. <span class="phpdocumentor-signature__response_type"><a href="classes/chillerlan-QRCode-Output-QROutputInterface.html"><abbr title="\chillerlan\QRCode\Output\QROutputInterface">QROutputInterface</abbr></a></span>
  719. </section>
  720. </article>
  721. <article
  722. class="phpdocumentor-element
  723. -method
  724. -protected
  725. "
  726. >
  727. <h4 class="phpdocumentor-element__name" id="method_setUp">
  728. setUp()
  729. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_setUp" class="headerlink"><i class="fas fa-link"></i></a>
  730. </h4>
  731. <aside class="phpdocumentor-element-found-in">
  732. <abbr class="phpdocumentor-element-found-in__file" title="tests/Output/QROutputTestAbstract.php"><a href="files/tests-output-qroutputtestabstract.html"><abbr title="tests/Output/QROutputTestAbstract.php">QROutputTestAbstract.php</abbr></a></abbr>
  733. :
  734. <span class="phpdocumentor-element-found-in__line">38</span>
  735. </aside>
  736. <p class="phpdocumentor-summary">Attempts to create a directory under /.build and instances several required objects</p>
  737. <code class="phpdocumentor-code phpdocumentor-signature ">
  738. <span class="phpdocumentor-signature__visibility">protected</span>
  739. <span class="phpdocumentor-signature__name">setUp</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  740. <div class="phpdocumentor-label-line">
  741. </div>
  742. </article>
  743. </section>
  744. <div class="phpdocumentor-modal" id="source-view">
  745. <div class="phpdocumentor-modal-bg" data-exit-button></div>
  746. <div class="phpdocumentor-modal-container">
  747. <div class="phpdocumentor-modal-content">
  748. <pre style="max-height: 500px; overflow-y: scroll" data-src="files/tests/Output/QRMarkupXMLTest.php.txt" class="language-php line-numbers linkable-line-numbers"></pre>
  749. </div>
  750. <button data-exit-button class="phpdocumentor-modal__close">&times;</button>
  751. </div>
  752. </div>
  753. <script type="text/javascript">
  754. (function () {
  755. function loadExternalCodeSnippet(el, url, line) {
  756. Array.prototype.slice.call(el.querySelectorAll('pre[data-src]')).forEach((pre) => {
  757. const src = url || pre.getAttribute('data-src').replace(/\\/g, '/');
  758. const language = 'php';
  759. const code = document.createElement('code');
  760. code.className = 'language-' + language;
  761. pre.textContent = '';
  762. pre.setAttribute('data-line', line)
  763. code.textContent = 'Loading…';
  764. pre.appendChild(code);
  765. var xhr = new XMLHttpRequest();
  766. xhr.open('GET', src, true);
  767. xhr.onreadystatechange = function () {
  768. if (xhr.readyState !== 4) {
  769. return;
  770. }
  771. if (xhr.status < 400 && xhr.responseText) {
  772. code.textContent = xhr.responseText;
  773. Prism.highlightElement(code);
  774. return;
  775. }
  776. if (xhr.status === 404) {
  777. code.textContent = '✖ Error: File could not be found';
  778. return;
  779. }
  780. if (xhr.status >= 400) {
  781. code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
  782. return;
  783. }
  784. code.textContent = '✖ Error: An unknown error occurred';
  785. };
  786. xhr.send(null);
  787. });
  788. }
  789. const modalButtons = document.querySelectorAll("[data-modal]");
  790. const openedAsLocalFile = window.location.protocol === 'file:';
  791. if (modalButtons.length > 0 && openedAsLocalFile) {
  792. console.warn(
  793. 'Viewing the source code is unavailable because you are opening this page from the file:// scheme; ' +
  794. 'browsers block XHR requests when a page is opened this way'
  795. );
  796. }
  797. modalButtons.forEach(function (trigger) {
  798. if (openedAsLocalFile) {
  799. trigger.setAttribute("hidden", "hidden");
  800. }
  801. trigger.addEventListener("click", function (event) {
  802. event.preventDefault();
  803. const modal = document.getElementById(trigger.dataset.modal);
  804. if (!modal) {
  805. console.error(`Modal with id "${trigger.dataset.modal}" could not be found`);
  806. return;
  807. }
  808. modal.classList.add("phpdocumentor-modal__open");
  809. loadExternalCodeSnippet(modal, trigger.dataset.src || null, trigger.dataset.line)
  810. const exits = modal.querySelectorAll("[data-exit-button]");
  811. exits.forEach(function (exit) {
  812. exit.addEventListener("click", function (event) {
  813. event.preventDefault();
  814. modal.classList.remove("phpdocumentor-modal__open");
  815. });
  816. });
  817. });
  818. });
  819. })();
  820. </script>
  821. </article>
  822. </section>
  823. <section class="phpdocumentor-on-this-page__sidebar">
  824. <section class="phpdocumentor-on-this-page__content">
  825. <strong class="phpdocumentor-on-this-page__title">On this page</strong>
  826. <ul class="phpdocumentor-list -clean">
  827. <li class="phpdocumentor-on-this-page-section__title">Table Of Contents</li>
  828. <li>
  829. <ul class="phpdocumentor-list -clean">
  830. <li><a href="classes/chillerlan-QRCodeTest-Output-QRMarkupXMLTest.html#toc-constants">Constants</a></li>
  831. <li><a href="classes/chillerlan-QRCodeTest-Output-QRMarkupXMLTest.html#toc-properties">Properties</a></li>
  832. <li><a href="classes/chillerlan-QRCodeTest-Output-QRMarkupXMLTest.html#toc-methods">Methods</a></li>
  833. </ul>
  834. </li>
  835. <li class="phpdocumentor-on-this-page-section__title">Constants</li>
  836. <li>
  837. <ul class="phpdocumentor-list -clean">
  838. <li><a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#constant_buildDir">buildDir</a></li>
  839. </ul>
  840. </li>
  841. <li class="phpdocumentor-on-this-page-section__title">Properties</li>
  842. <li>
  843. <ul class="phpdocumentor-list -clean">
  844. <li><a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#property_matrix">$matrix<a href="classes/chillerlan-QRCodeTest-Output-QRMarkupXMLTest.html"></li>
  845. <li><a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#property_options">$options<a href="classes/chillerlan-QRCodeTest-Output-QRMarkupXMLTest.html"></li>
  846. <li><a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#property_outputInterface">$outputInterface<a href="classes/chillerlan-QRCodeTest-Output-QRMarkupXMLTest.html"></li>
  847. </ul>
  848. </li>
  849. <li class="phpdocumentor-on-this-page-section__title">Methods</li>
  850. <li>
  851. <ul class="phpdocumentor-list -clean">
  852. <li><a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_moduleValueProvider">moduleValueProvider()</a></li>
  853. <li><a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_testRenderToCacheFile">testRenderToCacheFile()</a></li>
  854. <li><a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_testSaveException">testSaveException()</a></li>
  855. <li><a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_testSetModuleValues">testSetModuleValues()</a></li>
  856. <li><a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_testValidateModuleValues">testValidateModuleValues()</a></li>
  857. <li><a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_createBuildDir">createBuildDir()</a></li>
  858. <li><a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_getBuildDir">getBuildDir()</a></li>
  859. <li><a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_getBuildFileContent">getBuildFileContent()</a></li>
  860. <li><a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_getBuildFilePath">getBuildFilePath()</a></li>
  861. <li><a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_getBuildPath">getBuildPath()</a></li>
  862. <li><a href="classes/chillerlan-QRCodeTest-Output-QRMarkupXMLTest.html#method_getOutputInterface">getOutputInterface()</a></li>
  863. <li><a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_setUp">setUp()</a></li>
  864. </ul>
  865. </li>
  866. </ul>
  867. </section>
  868. </section>
  869. </div>
  870. <section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
  871. <section class="phpdocumentor-search-results__dialog">
  872. <header class="phpdocumentor-search-results__header">
  873. <h2 class="phpdocumentor-search-results__title">Search results</h2>
  874. <button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
  875. </header>
  876. <section class="phpdocumentor-search-results__body">
  877. <ul class="phpdocumentor-search-results__entries"></ul>
  878. </section>
  879. </section>
  880. </section>
  881. </div>
  882. <a href="classes/chillerlan-QRCodeTest-Output-QRMarkupXMLTest.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
  883. </main>
  884. <script>
  885. cssVars({});
  886. </script>
  887. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
  888. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
  889. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
  890. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
  891. </body>
  892. </html>