chillerlan-QRCodeTest-Output-QRStringTEXTTest.html 30 KB

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