chillerlan-QRCodeTest-Output-QRStringTestAbstract.html 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690
  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=Source+Sans+Pro:wght@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/search.js"></script>
  22. <script defer src="js/searchIndex.js"></script>
  23. </head>
  24. <body id="top">
  25. <header class="phpdocumentor-header phpdocumentor-section">
  26. <h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
  27. <input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
  28. <label class="phpdocumentor-header__menu-icon" for="menu-button">
  29. <i class="fas fa-bars"></i>
  30. </label>
  31. <section data-search-form class="phpdocumentor-search">
  32. <label>
  33. <span class="visually-hidden">Search for</span>
  34. <svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
  35. <circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
  36. <line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
  37. </svg>
  38. <input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
  39. </label>
  40. </section>
  41. <nav class="phpdocumentor-topnav">
  42. <ul class="phpdocumentor-topnav__menu">
  43. </ul>
  44. </nav>
  45. </header>
  46. <main class="phpdocumentor">
  47. <div class="phpdocumentor-section">
  48. <input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
  49. <label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
  50. Menu
  51. </label>
  52. <aside class="phpdocumentor-column -four phpdocumentor-sidebar">
  53. <section class="phpdocumentor-sidebar__category">
  54. <h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
  55. <h4 class="phpdocumentor-sidebar__root-namespace"><a href="namespaces/chillerlan.html">chillerlan</a></h4>
  56. <ul class="phpdocumentor-list">
  57. <li>
  58. <a href="namespaces/chillerlan-qrcode.html">QRCode</a>
  59. </li>
  60. <li>
  61. <a href="namespaces/chillerlan-qrcodetest.html">QRCodeTest</a>
  62. </li>
  63. </ul>
  64. </section>
  65. <section class="phpdocumentor-sidebar__category">
  66. <h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
  67. <h4 class="phpdocumentor-sidebar__root-namespace"><a href="packages/Application.html">Application</a></h4>
  68. </section>
  69. <section class="phpdocumentor-sidebar__category">
  70. <h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
  71. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
  72. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
  73. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
  74. </section>
  75. <section class="phpdocumentor-sidebar__category">
  76. <h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
  77. <h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
  78. </section>
  79. </aside>
  80. <div class="phpdocumentor-column -eight phpdocumentor-content">
  81. <ul class="phpdocumentor-breadcrumbs">
  82. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan.html">chillerlan</a></li>
  83. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcodetest.html">QRCodeTest</a></li>
  84. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcodetest-output.html">Output</a></li>
  85. </ul>
  86. <article class="phpdocumentor-element -class">
  87. <h2 class="phpdocumentor-content__title">
  88. QRStringTestAbstract
  89. <span class="phpdocumentor-element__extends">
  90. extends <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html"><abbr title="\chillerlan\QRCodeTest\Output\QROutputTestAbstract">QROutputTestAbstract</abbr></a>
  91. </span>
  92. <div class="phpdocumentor-element__package">
  93. in package
  94. <ul class="phpdocumentor-breadcrumbs">
  95. <li class="phpdocumentor-breadcrumb"><a href="packages/Application.html">Application</a></li>
  96. </ul>
  97. </div>
  98. </h2>
  99. <aside class="phpdocumentor-element-found-in">
  100. <abbr class="phpdocumentor-element-found-in__file" title="tests/Output/QRStringTestAbstract.php"><a href="files/tests-output-qrstringtestabstract.html"><abbr title="tests/Output/QRStringTestAbstract.php">QRStringTestAbstract.php</abbr></a></abbr>
  101. :
  102. <span class="phpdocumentor-element-found-in__line">18</span>
  103. </aside>
  104. <p class="phpdocumentor-summary">Tests the QRString output module</p>
  105. <h3 id="toc">
  106. Table of Contents
  107. <a href="#toc" class="headerlink"><i class="fas fa-link"></i></a>
  108. </h3>
  109. <dl class="phpdocumentor-table-of-contents">
  110. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  111. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#property_builddir">$builddir</a>
  112. <span>
  113. &nbsp;: string </span>
  114. </dt>
  115. <dd></dd>
  116. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  117. <a href="classes/chillerlan-QRCodeTest-Output-QRStringTestAbstract.html#property_FQN">$FQN</a>
  118. <span>
  119. &nbsp;: string </span>
  120. </dt>
  121. <dd></dd>
  122. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  123. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#property_matrix">$matrix</a>
  124. <span>
  125. &nbsp;: <a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a> </span>
  126. </dt>
  127. <dd></dd>
  128. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  129. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#property_options">$options</a>
  130. <span>
  131. &nbsp;: <a href="classes/chillerlan-QRCode-QROptions.html"><abbr title="\chillerlan\QRCode\QROptions">QROptions</abbr></a> </span>
  132. </dt>
  133. <dd></dd>
  134. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  135. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#property_outputInterface">$outputInterface</a>
  136. <span>
  137. &nbsp;: <a href="classes/chillerlan-QRCode-Output-QROutputInterface.html"><abbr title="\chillerlan\QRCode\Output\QROutputInterface">QROutputInterface</abbr></a> </span>
  138. </dt>
  139. <dd></dd>
  140. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  141. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#property_type">$type</a>
  142. <span>
  143. &nbsp;: string </span>
  144. </dt>
  145. <dd></dd>
  146. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  147. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_testInstance">testInstance()</a>
  148. <span>
  149. &nbsp;: void </span>
  150. </dt>
  151. <dd>Validate the instance of the interface</dd>
  152. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  153. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_testRenderToCacheFile">testRenderToCacheFile()</a>
  154. <span>
  155. &nbsp;: void </span>
  156. </dt>
  157. <dd>coverage of the built-in output modules</dd>
  158. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  159. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_testSaveException">testSaveException()</a>
  160. <span>
  161. &nbsp;: void </span>
  162. </dt>
  163. <dd>Tests if an exception is thrown when trying to write a cache file to an invalid destination</dd>
  164. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  165. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_testSetModuleValues">testSetModuleValues()</a>
  166. <span>
  167. &nbsp;: void </span>
  168. </dt>
  169. <dd>covers the module values settings</dd>
  170. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  171. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_setUp">setUp()</a>
  172. <span>
  173. &nbsp;: void </span>
  174. </dt>
  175. <dd>Attempts to create a directory under /.build and instances several required objects</dd>
  176. </dl>
  177. <section class="phpdocumentor-properties">
  178. <h3 class="phpdocumentor-elements__header" id="properties">
  179. Properties
  180. <a href="classes/chillerlan-QRCodeTest-Output-QRStringTestAbstract.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
  181. </h3>
  182. <article
  183. class="
  184. phpdocumentor-element
  185. -property
  186. -protected
  187. "
  188. >
  189. <h4 class="phpdocumentor-element__name" id="property_builddir">
  190. $builddir
  191. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#property_builddir" class="headerlink"><i class="fas fa-link"></i></a>
  192. <span class="phpdocumentor-element__modifiers">
  193. </span>
  194. </h4>
  195. <aside class="phpdocumentor-element-found-in">
  196. <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>
  197. :
  198. <span class="phpdocumentor-element-found-in__line">31</span>
  199. </aside>
  200. <code class="phpdocumentor-code phpdocumentor-signature ">
  201. <span class="phpdocumentor-signature__visibility">protected</span>
  202. <span class="phpdocumentor-signature__type">string</span>
  203. <span class="phpdocumentor-signature__name">$builddir</span>
  204. = <span class="phpdocumentor-signature__default-value">__DIR__ . &#039;/../../.build/output_test&#039;</span></code>
  205. <section class="phpdocumentor-description"></section>
  206. <section class="phpdocumentor-description"></section>
  207. </article>
  208. <article
  209. class="
  210. phpdocumentor-element
  211. -property
  212. -protected
  213. "
  214. >
  215. <h4 class="phpdocumentor-element__name" id="property_FQN">
  216. $FQN
  217. <a href="classes/chillerlan-QRCodeTest-Output-QRStringTestAbstract.html#property_FQN" class="headerlink"><i class="fas fa-link"></i></a>
  218. <span class="phpdocumentor-element__modifiers">
  219. </span>
  220. </h4>
  221. <aside class="phpdocumentor-element-found-in">
  222. <abbr class="phpdocumentor-element-found-in__file" title="tests/Output/QRStringTestAbstract.php"><a href="files/tests-output-qrstringtestabstract.html"><abbr title="tests/Output/QRStringTestAbstract.php">QRStringTestAbstract.php</abbr></a></abbr>
  223. :
  224. <span class="phpdocumentor-element-found-in__line">20</span>
  225. </aside>
  226. <code class="phpdocumentor-code phpdocumentor-signature ">
  227. <span class="phpdocumentor-signature__visibility">protected</span>
  228. <span class="phpdocumentor-signature__type">string</span>
  229. <span class="phpdocumentor-signature__name">$FQN</span>
  230. = <span class="phpdocumentor-signature__default-value">chillerlanQRCodeOutputQRString::class</span></code>
  231. <section class="phpdocumentor-description"></section>
  232. <section class="phpdocumentor-description"></section>
  233. </article>
  234. <article
  235. class="
  236. phpdocumentor-element
  237. -property
  238. -protected
  239. "
  240. >
  241. <h4 class="phpdocumentor-element__name" id="property_matrix">
  242. $matrix
  243. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#property_matrix" class="headerlink"><i class="fas fa-link"></i></a>
  244. <span class="phpdocumentor-element__modifiers">
  245. </span>
  246. </h4>
  247. <aside class="phpdocumentor-element-found-in">
  248. <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>
  249. :
  250. <span class="phpdocumentor-element-found-in__line">30</span>
  251. </aside>
  252. <code class="phpdocumentor-code phpdocumentor-signature ">
  253. <span class="phpdocumentor-signature__visibility">protected</span>
  254. <span class="phpdocumentor-signature__type"><a href="classes/chillerlan-QRCode-Data-QRMatrix.html"><abbr title="\chillerlan\QRCode\Data\QRMatrix">QRMatrix</abbr></a></span>
  255. <span class="phpdocumentor-signature__name">$matrix</span>
  256. </code>
  257. <section class="phpdocumentor-description"></section>
  258. <section class="phpdocumentor-description"></section>
  259. </article>
  260. <article
  261. class="
  262. phpdocumentor-element
  263. -property
  264. -protected
  265. "
  266. >
  267. <h4 class="phpdocumentor-element__name" id="property_options">
  268. $options
  269. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#property_options" class="headerlink"><i class="fas fa-link"></i></a>
  270. <span class="phpdocumentor-element__modifiers">
  271. </span>
  272. </h4>
  273. <aside class="phpdocumentor-element-found-in">
  274. <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>
  275. :
  276. <span class="phpdocumentor-element-found-in__line">28</span>
  277. </aside>
  278. <code class="phpdocumentor-code phpdocumentor-signature ">
  279. <span class="phpdocumentor-signature__visibility">protected</span>
  280. <span class="phpdocumentor-signature__type"><a href="classes/chillerlan-QRCode-QROptions.html"><abbr title="\chillerlan\QRCode\QROptions">QROptions</abbr></a></span>
  281. <span class="phpdocumentor-signature__name">$options</span>
  282. </code>
  283. </article>
  284. <article
  285. class="
  286. phpdocumentor-element
  287. -property
  288. -protected
  289. "
  290. >
  291. <h4 class="phpdocumentor-element__name" id="property_outputInterface">
  292. $outputInterface
  293. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#property_outputInterface" class="headerlink"><i class="fas fa-link"></i></a>
  294. <span class="phpdocumentor-element__modifiers">
  295. </span>
  296. </h4>
  297. <aside class="phpdocumentor-element-found-in">
  298. <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>
  299. :
  300. <span class="phpdocumentor-element-found-in__line">29</span>
  301. </aside>
  302. <code class="phpdocumentor-code phpdocumentor-signature ">
  303. <span class="phpdocumentor-signature__visibility">protected</span>
  304. <span class="phpdocumentor-signature__type"><a href="classes/chillerlan-QRCode-Output-QROutputInterface.html"><abbr title="\chillerlan\QRCode\Output\QROutputInterface">QROutputInterface</abbr></a></span>
  305. <span class="phpdocumentor-signature__name">$outputInterface</span>
  306. </code>
  307. <section class="phpdocumentor-description"></section>
  308. <section class="phpdocumentor-description"></section>
  309. </article>
  310. <article
  311. class="
  312. phpdocumentor-element
  313. -property
  314. -protected
  315. "
  316. >
  317. <h4 class="phpdocumentor-element__name" id="property_type">
  318. $type
  319. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#property_type" class="headerlink"><i class="fas fa-link"></i></a>
  320. <span class="phpdocumentor-element__modifiers">
  321. </span>
  322. </h4>
  323. <aside class="phpdocumentor-element-found-in">
  324. <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>
  325. :
  326. <span class="phpdocumentor-element-found-in__line">33</span>
  327. </aside>
  328. <code class="phpdocumentor-code phpdocumentor-signature ">
  329. <span class="phpdocumentor-signature__visibility">protected</span>
  330. <span class="phpdocumentor-signature__type">string</span>
  331. <span class="phpdocumentor-signature__name">$type</span>
  332. </code>
  333. <section class="phpdocumentor-description"></section>
  334. <section class="phpdocumentor-description"></section>
  335. </article>
  336. </section>
  337. <section class="phpdocumentor-methods">
  338. <h3 class="phpdocumentor-elements__header" id="methods">
  339. Methods
  340. <a href="classes/chillerlan-QRCodeTest-Output-QRStringTestAbstract.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
  341. </h3>
  342. <article
  343. class="phpdocumentor-element
  344. -method
  345. -public
  346. "
  347. >
  348. <h4 class="phpdocumentor-element__name" id="method_testInstance">
  349. testInstance()
  350. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_testInstance" class="headerlink"><i class="fas fa-link"></i></a>
  351. </h4>
  352. <aside class="phpdocumentor-element-found-in">
  353. <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>
  354. :
  355. <span class="phpdocumentor-element-found-in__line">55</span>
  356. </aside>
  357. <p class="phpdocumentor-summary">Validate the instance of the interface</p>
  358. <code class="phpdocumentor-code phpdocumentor-signature ">
  359. <span class="phpdocumentor-signature__visibility">public</span>
  360. <span class="phpdocumentor-signature__name">testInstance</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  361. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  362. <span class="phpdocumentor-signature__response_type">void</span>
  363. &mdash;
  364. </article>
  365. <article
  366. class="phpdocumentor-element
  367. -method
  368. -public
  369. "
  370. >
  371. <h4 class="phpdocumentor-element__name" id="method_testRenderToCacheFile">
  372. testRenderToCacheFile()
  373. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_testRenderToCacheFile" class="headerlink"><i class="fas fa-link"></i></a>
  374. </h4>
  375. <aside class="phpdocumentor-element-found-in">
  376. <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>
  377. :
  378. <span class="phpdocumentor-element-found-in__line">83</span>
  379. </aside>
  380. <p class="phpdocumentor-summary">coverage of the built-in output modules</p>
  381. <code class="phpdocumentor-code phpdocumentor-signature ">
  382. <span class="phpdocumentor-signature__visibility">public</span>
  383. <span class="phpdocumentor-signature__name">testRenderToCacheFile</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  384. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  385. <span class="phpdocumentor-signature__response_type">void</span>
  386. &mdash;
  387. </article>
  388. <article
  389. class="phpdocumentor-element
  390. -method
  391. -public
  392. "
  393. >
  394. <h4 class="phpdocumentor-element__name" id="method_testSaveException">
  395. testSaveException()
  396. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_testSaveException" class="headerlink"><i class="fas fa-link"></i></a>
  397. </h4>
  398. <aside class="phpdocumentor-element-found-in">
  399. <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>
  400. :
  401. <span class="phpdocumentor-element-found-in__line">62</span>
  402. </aside>
  403. <p class="phpdocumentor-summary">Tests if an exception is thrown when trying to write a cache file to an invalid destination</p>
  404. <code class="phpdocumentor-code phpdocumentor-signature ">
  405. <span class="phpdocumentor-signature__visibility">public</span>
  406. <span class="phpdocumentor-signature__name">testSaveException</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  407. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  408. <span class="phpdocumentor-signature__response_type">void</span>
  409. &mdash;
  410. </article>
  411. <article
  412. class="phpdocumentor-element
  413. -method
  414. -public
  415. -abstract "
  416. >
  417. <h4 class="phpdocumentor-element__name" id="method_testSetModuleValues">
  418. testSetModuleValues()
  419. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_testSetModuleValues" class="headerlink"><i class="fas fa-link"></i></a>
  420. </h4>
  421. <aside class="phpdocumentor-element-found-in">
  422. <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>
  423. :
  424. <span class="phpdocumentor-element-found-in__line">74</span>
  425. </aside>
  426. <p class="phpdocumentor-summary">covers the module values settings</p>
  427. <code class="phpdocumentor-code phpdocumentor-signature ">
  428. <span class="phpdocumentor-signature__visibility">public</span>
  429. <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>
  430. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  431. <span class="phpdocumentor-signature__response_type">void</span>
  432. &mdash;
  433. </article>
  434. <article
  435. class="phpdocumentor-element
  436. -method
  437. -protected
  438. "
  439. >
  440. <h4 class="phpdocumentor-element__name" id="method_setUp">
  441. setUp()
  442. <a href="classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html#method_setUp" class="headerlink"><i class="fas fa-link"></i></a>
  443. </h4>
  444. <aside class="phpdocumentor-element-found-in">
  445. <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>
  446. :
  447. <span class="phpdocumentor-element-found-in__line">38</span>
  448. </aside>
  449. <p class="phpdocumentor-summary">Attempts to create a directory under /.build and instances several required objects</p>
  450. <code class="phpdocumentor-code phpdocumentor-signature ">
  451. <span class="phpdocumentor-signature__visibility">protected</span>
  452. <span class="phpdocumentor-signature__name">setUp</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  453. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  454. <span class="phpdocumentor-signature__response_type">void</span>
  455. &mdash;
  456. </article>
  457. </section>
  458. <script type="text/javascript">
  459. function loadExternalCodeSnippets(line) {
  460. Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach((pre) => {
  461. var src = pre.getAttribute('data-src').replace( /\\/g, '/');
  462. var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
  463. var language = 'php';
  464. var code = document.createElement('code');
  465. code.className = 'language-' + language;
  466. pre.textContent = '';
  467. pre.setAttribute('data-line', line)
  468. code.textContent = 'Loading…';
  469. pre.appendChild(code);
  470. var xhr = new XMLHttpRequest();
  471. xhr.open('GET', src, true);
  472. xhr.onreadystatechange = function () {
  473. if (xhr.readyState == 4) {
  474. if (xhr.status < 400 && xhr.responseText) {
  475. code.textContent = xhr.responseText;
  476. Prism.highlightElement(code);
  477. }
  478. else if (xhr.status >= 400) {
  479. code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
  480. }
  481. else {
  482. code.textContent = '✖ Error: File does not exist, is empty or trying to view from localhost';
  483. }
  484. }
  485. };
  486. xhr.send(null);
  487. });
  488. }
  489. var modals = document.querySelectorAll("[data-modal]");
  490. modals.forEach(function (trigger) {
  491. trigger.addEventListener("click", function (event) {
  492. //event.preventDefault();
  493. const modal = document.getElementById(trigger.dataset.modal);
  494. modal.classList.add("phpdocumentor-modal__open");
  495. loadExternalCodeSnippets(trigger.dataset.line)
  496. const exits = modal.querySelectorAll("[data-exit-button]");
  497. exits.forEach(function (exit) {
  498. exit.addEventListener("click", function (event) {
  499. event.preventDefault();
  500. modal.classList.remove("phpdocumentor-modal__open");
  501. });
  502. });
  503. });
  504. });
  505. </script>
  506. </article>
  507. <section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
  508. <section class="phpdocumentor-search-results__dialog">
  509. <header class="phpdocumentor-search-results__header">
  510. <h2 class="phpdocumentor-search-results__title">Search results</h2>
  511. <button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
  512. </header>
  513. <section class="phpdocumentor-search-results__body">
  514. <ul class="phpdocumentor-search-results__entries"></ul>
  515. </section>
  516. </section>
  517. </section>
  518. </div>
  519. </div>
  520. <a href="classes/chillerlan-QRCodeTest-Output-QRStringTestAbstract.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
  521. </main>
  522. <script>
  523. cssVars({});
  524. </script>
  525. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
  526. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
  527. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
  528. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
  529. </body>
  530. </html>