chillerlan-QRCodeTest-QRCodeTest.html 47 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069
  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. <li class="phpdocumentor-topnav__menu-item -social">
  59. <a href="https://github.com/chillerlan/php-qrcode/discussions">
  60. <span>
  61. <i class="fas fa-envelope-open-text"></i>
  62. </span>
  63. </a>
  64. </li>
  65. </ul>
  66. </nav>
  67. </header>
  68. <main class="phpdocumentor">
  69. <div class="phpdocumentor-section">
  70. <input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
  71. <label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
  72. Menu
  73. </label>
  74. <aside class="phpdocumentor-column -three phpdocumentor-sidebar">
  75. <section class="phpdocumentor-sidebar__category -namespaces">
  76. <h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
  77. <h4 class="phpdocumentor-sidebar__root-namespace">
  78. <a href="namespaces/chillerlan.html" class="">chillerlan</a>
  79. </h4>
  80. <ul class="phpdocumentor-list">
  81. <li>
  82. <a href="namespaces/chillerlan-qrcode.html" class="">QRCode</a>
  83. </li>
  84. <li>
  85. <a href="namespaces/chillerlan-qrcodetest.html" class="">QRCodeTest</a>
  86. </li>
  87. </ul>
  88. </section>
  89. <section class="phpdocumentor-sidebar__category -packages">
  90. <h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
  91. <h4 class="phpdocumentor-sidebar__root-namespace">
  92. <a href="packages/Application.html" class="">Application</a>
  93. </h4>
  94. </section>
  95. <section class="phpdocumentor-sidebar__category -reports">
  96. <h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
  97. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
  98. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
  99. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
  100. </section>
  101. <section class="phpdocumentor-sidebar__category -indices">
  102. <h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
  103. <h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
  104. </section>
  105. </aside>
  106. <div class="phpdocumentor-column -nine phpdocumentor-content">
  107. <section>
  108. <ul class="phpdocumentor-breadcrumbs">
  109. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan.html">chillerlan</a></li>
  110. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcodetest.html">QRCodeTest</a></li>
  111. </ul>
  112. <article class="phpdocumentor-element -class">
  113. <h2 class="phpdocumentor-content__title">
  114. QRCodeTest
  115. <span class="phpdocumentor-element__extends">
  116. extends <abbr title="\PHPUnit\Framework\TestCase">TestCase</abbr>
  117. </span>
  118. <div class="phpdocumentor-element__package">
  119. in package
  120. <ul class="phpdocumentor-breadcrumbs">
  121. <li class="phpdocumentor-breadcrumb"><a href="packages/Application.html">Application</a></li>
  122. </ul>
  123. </div>
  124. <span class="phpdocumentor-element__extends">
  125. uses
  126. <a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html"><abbr title="\chillerlan\QRCodeTest\BuildDirTrait">BuildDirTrait</abbr></a> </span>
  127. </h2>
  128. <div class="phpdocumentor-label-line">
  129. <div class="phpdocumentor-label phpdocumentor-label--success"><span>Final</span><span>Yes</span></div>
  130. </div>
  131. <aside class="phpdocumentor-element-found-in">
  132. <abbr class="phpdocumentor-element-found-in__file" title="tests/QRCodeTest.php"><a href="files/tests-qrcodetest.html"><abbr title="tests/QRCodeTest.php">QRCodeTest.php</abbr></a></abbr>
  133. :
  134. <span class="phpdocumentor-element-found-in__line">22</span>
  135. </aside>
  136. <p class="phpdocumentor-summary">Tests basic functions of the QRCode class</p>
  137. <h3 id="toc">
  138. Table of Contents
  139. <a href="classes/chillerlan-QRCodeTest-QRCodeTest.html#toc" class="headerlink"><i class="fas fa-link"></i></a>
  140. </h3>
  141. <h4 id="toc-constants">
  142. Constants
  143. <a href="classes/chillerlan-QRCodeTest-QRCodeTest.html#toc-constants" class="headerlink"><i class="fas fa-link"></i></a>
  144. </h4>
  145. <dl class="phpdocumentor-table-of-contents">
  146. <dt class="phpdocumentor-table-of-contents__entry -constant -private">
  147. <a class="" href="classes/chillerlan-QRCodeTest-QRCodeTest.html#constant_buildDir">buildDir</a>
  148. <span>
  149. &nbsp;= &#039;output-test&#039; </span>
  150. </dt>
  151. </dl>
  152. <h4 id="toc-properties">
  153. Properties
  154. <a href="classes/chillerlan-QRCodeTest-QRCodeTest.html#toc-properties" class="headerlink"><i class="fas fa-link"></i></a>
  155. </h4>
  156. <dl class="phpdocumentor-table-of-contents">
  157. <dt class="phpdocumentor-table-of-contents__entry -property -private">
  158. <a class="" href="classes/chillerlan-QRCodeTest-QRCodeTest.html#property_options">$options</a>
  159. <span>
  160. &nbsp;: <a href="classes/chillerlan-QRCode-QROptions.html"><abbr title="\chillerlan\QRCode\QROptions">QROptions</abbr></a> </span>
  161. </dt>
  162. <dt class="phpdocumentor-table-of-contents__entry -property -private">
  163. <a class="" href="classes/chillerlan-QRCodeTest-QRCodeTest.html#property_qrcode">$qrcode</a>
  164. <span>
  165. &nbsp;: <a href="classes/chillerlan-QRCode-QRCode.html"><abbr title="\chillerlan\QRCode\QRCode">QRCode</abbr></a> </span>
  166. </dt>
  167. </dl>
  168. <h4 id="toc-methods">
  169. Methods
  170. <a href="classes/chillerlan-QRCodeTest-QRCodeTest.html#toc-methods" class="headerlink"><i class="fas fa-link"></i></a>
  171. </h4>
  172. <dl class="phpdocumentor-table-of-contents">
  173. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  174. <a class="" href="classes/chillerlan-QRCodeTest-QRCodeTest.html#method_testInitCustomOutputInterfaceNotExistsException">testInitCustomOutputInterfaceNotExistsException()</a>
  175. <span>
  176. &nbsp;: void </span>
  177. </dt>
  178. <dd>tests if an exception is thrown if the given output class does not exist</dd>
  179. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  180. <a class="" href="classes/chillerlan-QRCodeTest-QRCodeTest.html#method_testInitCustomOutputInterfaceNotImplementsException">testInitCustomOutputInterfaceNotImplementsException()</a>
  181. <span>
  182. &nbsp;: void </span>
  183. </dt>
  184. <dd>tests if an exception is thrown if the given output class does not implement QROutputInterface</dd>
  185. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  186. <a class="" href="classes/chillerlan-QRCodeTest-QRCodeTest.html#method_testRenderToCacheFile">testRenderToCacheFile()</a>
  187. <span>
  188. &nbsp;: void </span>
  189. </dt>
  190. <dd>Tests if a cache file is properly saved in the given path</dd>
  191. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  192. <a class="" href="classes/chillerlan-QRCodeTest-QRCodeTest.html#method_testSaveException">testSaveException()</a>
  193. <span>
  194. &nbsp;: void </span>
  195. </dt>
  196. <dd>Tests if an exception is thrown when trying to write a cache file to an invalid destination</dd>
  197. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  198. <a class="" href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_createBuildDir">createBuildDir()</a>
  199. <span>
  200. &nbsp;: void </span>
  201. </dt>
  202. <dd>attempts to create the build dir</dd>
  203. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  204. <a class="" href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_getBuildDir">getBuildDir()</a>
  205. <span>
  206. &nbsp;: string </span>
  207. </dt>
  208. <dd>returns the full (real) path to the given build path</dd>
  209. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  210. <a class="" href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_getBuildFileContent">getBuildFileContent()</a>
  211. <span>
  212. &nbsp;: string </span>
  213. </dt>
  214. <dd>returns the contents of the given build file</dd>
  215. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  216. <a class="" href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_getBuildFilePath">getBuildFilePath()</a>
  217. <span>
  218. &nbsp;: string </span>
  219. </dt>
  220. <dd>returns the full (real) path to the given build file</dd>
  221. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  222. <a class="" href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_getBuildPath">getBuildPath()</a>
  223. <span>
  224. &nbsp;: string </span>
  225. </dt>
  226. <dd>returns the full raw path to the build dir</dd>
  227. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  228. <a class="" href="classes/chillerlan-QRCodeTest-QRCodeTest.html#method_setUp">setUp()</a>
  229. <span>
  230. &nbsp;: void </span>
  231. </dt>
  232. <dd>invoke test instances</dd>
  233. </dl>
  234. <section class="phpdocumentor-constants">
  235. <h3 class="phpdocumentor-elements__header" id="constants">
  236. Constants
  237. <a href="classes/chillerlan-QRCodeTest-QRCodeTest.html#constants" class="headerlink"><i class="fas fa-link"></i></a>
  238. </h3>
  239. <article class="phpdocumentor-element -constant -private ">
  240. <h4 class="phpdocumentor-element__name" id="constant_buildDir">
  241. buildDir
  242. <a href="classes/chillerlan-QRCodeTest-QRCodeTest.html#constant_buildDir" class="headerlink"><i class="fas fa-link"></i></a>
  243. </h4>
  244. <aside class="phpdocumentor-element-found-in">
  245. <abbr class="phpdocumentor-element-found-in__file" title="tests/QRCodeTest.php"><a href="files/tests-qrcodetest.html"><abbr title="tests/QRCodeTest.php">QRCodeTest.php</abbr></a></abbr>
  246. :
  247. <span class="phpdocumentor-element-found-in__line">28</span>
  248. </aside>
  249. <code class="phpdocumentor-signature phpdocumentor-code ">
  250. <span class="phpdocumentor-signature__visibility">private</span>
  251. <span class="phpdocumentor-signature__type">mixed</span>
  252. <span class="phpdocumentor-signature__name">buildDir</span>
  253. = <span class="phpdocumentor-signature__default-value">&#039;output-test&#039;</span>
  254. </code>
  255. </article>
  256. </section>
  257. <section class="phpdocumentor-properties">
  258. <h3 class="phpdocumentor-elements__header" id="properties">
  259. Properties
  260. <a href="classes/chillerlan-QRCodeTest-QRCodeTest.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
  261. </h3>
  262. <article
  263. class="
  264. phpdocumentor-element
  265. -property
  266. -private
  267. "
  268. >
  269. <h4 class="phpdocumentor-element__name" id="property_options">
  270. $options
  271. <a href="classes/chillerlan-QRCodeTest-QRCodeTest.html#property_options" class="headerlink"><i class="fas fa-link"></i></a>
  272. <span class="phpdocumentor-element__modifiers">
  273. </span>
  274. </h4>
  275. <aside class="phpdocumentor-element-found-in">
  276. <abbr class="phpdocumentor-element-found-in__file" title="tests/QRCodeTest.php"><a href="files/tests-qrcodetest.html"><abbr title="tests/QRCodeTest.php">QRCodeTest.php</abbr></a></abbr>
  277. :
  278. <span class="phpdocumentor-element-found-in__line">26</span>
  279. </aside>
  280. <code class="phpdocumentor-code phpdocumentor-signature ">
  281. <span class="phpdocumentor-signature__visibility">private</span>
  282. <span class="phpdocumentor-signature__type"><a href="classes/chillerlan-QRCode-QROptions.html"><abbr title="\chillerlan\QRCode\QROptions">QROptions</abbr></a></span>
  283. <span class="phpdocumentor-signature__name">$options</span>
  284. </code>
  285. </article>
  286. <article
  287. class="
  288. phpdocumentor-element
  289. -property
  290. -private
  291. "
  292. >
  293. <h4 class="phpdocumentor-element__name" id="property_qrcode">
  294. $qrcode
  295. <a href="classes/chillerlan-QRCodeTest-QRCodeTest.html#property_qrcode" class="headerlink"><i class="fas fa-link"></i></a>
  296. <span class="phpdocumentor-element__modifiers">
  297. </span>
  298. </h4>
  299. <aside class="phpdocumentor-element-found-in">
  300. <abbr class="phpdocumentor-element-found-in__file" title="tests/QRCodeTest.php"><a href="files/tests-qrcodetest.html"><abbr title="tests/QRCodeTest.php">QRCodeTest.php</abbr></a></abbr>
  301. :
  302. <span class="phpdocumentor-element-found-in__line">25</span>
  303. </aside>
  304. <code class="phpdocumentor-code phpdocumentor-signature ">
  305. <span class="phpdocumentor-signature__visibility">private</span>
  306. <span class="phpdocumentor-signature__type"><a href="classes/chillerlan-QRCode-QRCode.html"><abbr title="\chillerlan\QRCode\QRCode">QRCode</abbr></a></span>
  307. <span class="phpdocumentor-signature__name">$qrcode</span>
  308. </code>
  309. </article>
  310. </section>
  311. <section class="phpdocumentor-methods">
  312. <h3 class="phpdocumentor-elements__header" id="methods">
  313. Methods
  314. <a href="classes/chillerlan-QRCodeTest-QRCodeTest.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
  315. </h3>
  316. <article
  317. class="phpdocumentor-element
  318. -method
  319. -public
  320. "
  321. >
  322. <h4 class="phpdocumentor-element__name" id="method_testInitCustomOutputInterfaceNotExistsException">
  323. testInitCustomOutputInterfaceNotExistsException()
  324. <a href="classes/chillerlan-QRCodeTest-QRCodeTest.html#method_testInitCustomOutputInterfaceNotExistsException" class="headerlink"><i class="fas fa-link"></i></a>
  325. </h4>
  326. <aside class="phpdocumentor-element-found-in">
  327. <abbr class="phpdocumentor-element-found-in__file" title="tests/QRCodeTest.php"><a href="files/tests-qrcodetest.html"><abbr title="tests/QRCodeTest.php">QRCodeTest.php</abbr></a></abbr>
  328. :
  329. <span class="phpdocumentor-element-found-in__line">43</span>
  330. </aside>
  331. <p class="phpdocumentor-summary">tests if an exception is thrown if the given output class does not exist</p>
  332. <code class="phpdocumentor-code phpdocumentor-signature ">
  333. <span class="phpdocumentor-signature__visibility">public</span>
  334. <span class="phpdocumentor-signature__name">testInitCustomOutputInterfaceNotExistsException</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  335. <div class="phpdocumentor-label-line">
  336. </div>
  337. </article>
  338. <article
  339. class="phpdocumentor-element
  340. -method
  341. -public
  342. "
  343. >
  344. <h4 class="phpdocumentor-element__name" id="method_testInitCustomOutputInterfaceNotImplementsException">
  345. testInitCustomOutputInterfaceNotImplementsException()
  346. <a href="classes/chillerlan-QRCodeTest-QRCodeTest.html#method_testInitCustomOutputInterfaceNotImplementsException" class="headerlink"><i class="fas fa-link"></i></a>
  347. </h4>
  348. <aside class="phpdocumentor-element-found-in">
  349. <abbr class="phpdocumentor-element-found-in__file" title="tests/QRCodeTest.php"><a href="files/tests-qrcodetest.html"><abbr title="tests/QRCodeTest.php">QRCodeTest.php</abbr></a></abbr>
  350. :
  351. <span class="phpdocumentor-element-found-in__line">55</span>
  352. </aside>
  353. <p class="phpdocumentor-summary">tests if an exception is thrown if the given output class does not implement QROutputInterface</p>
  354. <code class="phpdocumentor-code phpdocumentor-signature ">
  355. <span class="phpdocumentor-signature__visibility">public</span>
  356. <span class="phpdocumentor-signature__name">testInitCustomOutputInterfaceNotImplementsException</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  357. <div class="phpdocumentor-label-line">
  358. </div>
  359. </article>
  360. <article
  361. class="phpdocumentor-element
  362. -method
  363. -public
  364. "
  365. >
  366. <h4 class="phpdocumentor-element__name" id="method_testRenderToCacheFile">
  367. testRenderToCacheFile()
  368. <a href="classes/chillerlan-QRCodeTest-QRCodeTest.html#method_testRenderToCacheFile" class="headerlink"><i class="fas fa-link"></i></a>
  369. </h4>
  370. <aside class="phpdocumentor-element-found-in">
  371. <abbr class="phpdocumentor-element-found-in__file" title="tests/QRCodeTest.php"><a href="files/tests-qrcodetest.html"><abbr title="tests/QRCodeTest.php">QRCodeTest.php</abbr></a></abbr>
  372. :
  373. <span class="phpdocumentor-element-found-in__line">79</span>
  374. </aside>
  375. <p class="phpdocumentor-summary">Tests if a cache file is properly saved in the given path</p>
  376. <code class="phpdocumentor-code phpdocumentor-signature ">
  377. <span class="phpdocumentor-signature__visibility">public</span>
  378. <span class="phpdocumentor-signature__name">testRenderToCacheFile</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  379. <div class="phpdocumentor-label-line">
  380. </div>
  381. </article>
  382. <article
  383. class="phpdocumentor-element
  384. -method
  385. -public
  386. "
  387. >
  388. <h4 class="phpdocumentor-element__name" id="method_testSaveException">
  389. testSaveException()
  390. <a href="classes/chillerlan-QRCodeTest-QRCodeTest.html#method_testSaveException" class="headerlink"><i class="fas fa-link"></i></a>
  391. </h4>
  392. <aside class="phpdocumentor-element-found-in">
  393. <abbr class="phpdocumentor-element-found-in__file" title="tests/QRCodeTest.php"><a href="files/tests-qrcodetest.html"><abbr title="tests/QRCodeTest.php">QRCodeTest.php</abbr></a></abbr>
  394. :
  395. <span class="phpdocumentor-element-found-in__line">67</span>
  396. </aside>
  397. <p class="phpdocumentor-summary">Tests if an exception is thrown when trying to write a cache file to an invalid destination</p>
  398. <code class="phpdocumentor-code phpdocumentor-signature ">
  399. <span class="phpdocumentor-signature__visibility">public</span>
  400. <span class="phpdocumentor-signature__name">testSaveException</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  401. <div class="phpdocumentor-label-line">
  402. </div>
  403. </article>
  404. <article
  405. class="phpdocumentor-element
  406. -method
  407. -protected
  408. "
  409. >
  410. <h4 class="phpdocumentor-element__name" id="method_createBuildDir">
  411. createBuildDir()
  412. <a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_createBuildDir" class="headerlink"><i class="fas fa-link"></i></a>
  413. </h4>
  414. <aside class="phpdocumentor-element-found-in">
  415. <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>
  416. :
  417. <span class="phpdocumentor-element-found-in__line">36</span>
  418. </aside>
  419. <p class="phpdocumentor-summary">attempts to create the build dir</p>
  420. <code class="phpdocumentor-code phpdocumentor-signature ">
  421. <span class="phpdocumentor-signature__visibility">protected</span>
  422. <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>
  423. <div class="phpdocumentor-label-line">
  424. </div>
  425. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  426. <dl class="phpdocumentor-argument-list">
  427. <dt class="phpdocumentor-argument-list__entry">
  428. <span class="phpdocumentor-signature__argument__name">$subPath</span>
  429. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  430. </dt>
  431. <dd class="phpdocumentor-argument-list__definition">
  432. </dd>
  433. </dl>
  434. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  435. Tags
  436. <a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_createBuildDir#tags" class="headerlink"><i class="fas fa-link"></i></a>
  437. </h5>
  438. <dl class="phpdocumentor-tag-list">
  439. <dt class="phpdocumentor-tag-list__entry">
  440. <span class="phpdocumentor-tag__name">throws</span>
  441. </dt>
  442. <dd class="phpdocumentor-tag-list__definition">
  443. <span class="phpdocumentor-tag-link"><abbr title="\RuntimeException">RuntimeException</abbr></span>
  444. </dd>
  445. </dl>
  446. </article>
  447. <article
  448. class="phpdocumentor-element
  449. -method
  450. -protected
  451. "
  452. >
  453. <h4 class="phpdocumentor-element__name" id="method_getBuildDir">
  454. getBuildDir()
  455. <a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_getBuildDir" class="headerlink"><i class="fas fa-link"></i></a>
  456. </h4>
  457. <aside class="phpdocumentor-element-found-in">
  458. <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>
  459. :
  460. <span class="phpdocumentor-element-found-in__line">54</span>
  461. </aside>
  462. <p class="phpdocumentor-summary">returns the full (real) path to the given build path</p>
  463. <code class="phpdocumentor-code phpdocumentor-signature ">
  464. <span class="phpdocumentor-signature__visibility">protected</span>
  465. <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>
  466. <div class="phpdocumentor-label-line">
  467. </div>
  468. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  469. <dl class="phpdocumentor-argument-list">
  470. <dt class="phpdocumentor-argument-list__entry">
  471. <span class="phpdocumentor-signature__argument__name">$subPath</span>
  472. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  473. = <span class="phpdocumentor-signature__argument__default-value">&#039;&#039;</span> </dt>
  474. <dd class="phpdocumentor-argument-list__definition">
  475. </dd>
  476. </dl>
  477. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  478. Tags
  479. <a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_getBuildDir#tags" class="headerlink"><i class="fas fa-link"></i></a>
  480. </h5>
  481. <dl class="phpdocumentor-tag-list">
  482. <dt class="phpdocumentor-tag-list__entry">
  483. <span class="phpdocumentor-tag__name">throws</span>
  484. </dt>
  485. <dd class="phpdocumentor-tag-list__definition">
  486. <span class="phpdocumentor-tag-link"><abbr title="\RuntimeException">RuntimeException</abbr></span>
  487. </dd>
  488. </dl>
  489. <section>
  490. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  491. <span class="phpdocumentor-signature__response_type">string</span>
  492. </section>
  493. </article>
  494. <article
  495. class="phpdocumentor-element
  496. -method
  497. -protected
  498. "
  499. >
  500. <h4 class="phpdocumentor-element__name" id="method_getBuildFileContent">
  501. getBuildFileContent()
  502. <a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_getBuildFileContent" class="headerlink"><i class="fas fa-link"></i></a>
  503. </h4>
  504. <aside class="phpdocumentor-element-found-in">
  505. <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>
  506. :
  507. <span class="phpdocumentor-element-found-in__line">88</span>
  508. </aside>
  509. <p class="phpdocumentor-summary">returns the contents of the given build file</p>
  510. <code class="phpdocumentor-code phpdocumentor-signature ">
  511. <span class="phpdocumentor-signature__visibility">protected</span>
  512. <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>
  513. <div class="phpdocumentor-label-line">
  514. </div>
  515. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  516. <dl class="phpdocumentor-argument-list">
  517. <dt class="phpdocumentor-argument-list__entry">
  518. <span class="phpdocumentor-signature__argument__name">$fileSubPath</span>
  519. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  520. </dt>
  521. <dd class="phpdocumentor-argument-list__definition">
  522. </dd>
  523. </dl>
  524. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  525. Tags
  526. <a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_getBuildFileContent#tags" class="headerlink"><i class="fas fa-link"></i></a>
  527. </h5>
  528. <dl class="phpdocumentor-tag-list">
  529. <dt class="phpdocumentor-tag-list__entry">
  530. <span class="phpdocumentor-tag__name">throws</span>
  531. </dt>
  532. <dd class="phpdocumentor-tag-list__definition">
  533. <span class="phpdocumentor-tag-link"><abbr title="\RuntimeException">RuntimeException</abbr></span>
  534. </dd>
  535. </dl>
  536. <section>
  537. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  538. <span class="phpdocumentor-signature__response_type">string</span>
  539. </section>
  540. </article>
  541. <article
  542. class="phpdocumentor-element
  543. -method
  544. -protected
  545. "
  546. >
  547. <h4 class="phpdocumentor-element__name" id="method_getBuildFilePath">
  548. getBuildFilePath()
  549. <a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_getBuildFilePath" class="headerlink"><i class="fas fa-link"></i></a>
  550. </h4>
  551. <aside class="phpdocumentor-element-found-in">
  552. <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>
  553. :
  554. <span class="phpdocumentor-element-found-in__line">69</span>
  555. </aside>
  556. <p class="phpdocumentor-summary">returns the full (real) path to the given build file</p>
  557. <code class="phpdocumentor-code phpdocumentor-signature ">
  558. <span class="phpdocumentor-signature__visibility">protected</span>
  559. <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>
  560. <div class="phpdocumentor-label-line">
  561. </div>
  562. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  563. <dl class="phpdocumentor-argument-list">
  564. <dt class="phpdocumentor-argument-list__entry">
  565. <span class="phpdocumentor-signature__argument__name">$fileSubPath</span>
  566. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  567. </dt>
  568. <dd class="phpdocumentor-argument-list__definition">
  569. </dd>
  570. </dl>
  571. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  572. Tags
  573. <a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_getBuildFilePath#tags" class="headerlink"><i class="fas fa-link"></i></a>
  574. </h5>
  575. <dl class="phpdocumentor-tag-list">
  576. <dt class="phpdocumentor-tag-list__entry">
  577. <span class="phpdocumentor-tag__name">throws</span>
  578. </dt>
  579. <dd class="phpdocumentor-tag-list__definition">
  580. <span class="phpdocumentor-tag-link"><abbr title="\RuntimeException">RuntimeException</abbr></span>
  581. </dd>
  582. </dl>
  583. <section>
  584. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  585. <span class="phpdocumentor-signature__response_type">string</span>
  586. </section>
  587. </article>
  588. <article
  589. class="phpdocumentor-element
  590. -method
  591. -protected
  592. "
  593. >
  594. <h4 class="phpdocumentor-element__name" id="method_getBuildPath">
  595. getBuildPath()
  596. <a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_getBuildPath" class="headerlink"><i class="fas fa-link"></i></a>
  597. </h4>
  598. <aside class="phpdocumentor-element-found-in">
  599. <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>
  600. :
  601. <span class="phpdocumentor-element-found-in__line">27</span>
  602. </aside>
  603. <p class="phpdocumentor-summary">returns the full raw path to the build dir</p>
  604. <code class="phpdocumentor-code phpdocumentor-signature ">
  605. <span class="phpdocumentor-signature__visibility">protected</span>
  606. <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>
  607. <div class="phpdocumentor-label-line">
  608. </div>
  609. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  610. <dl class="phpdocumentor-argument-list">
  611. <dt class="phpdocumentor-argument-list__entry">
  612. <span class="phpdocumentor-signature__argument__name">$subPath</span>
  613. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  614. </dt>
  615. <dd class="phpdocumentor-argument-list__definition">
  616. </dd>
  617. </dl>
  618. <section>
  619. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  620. <span class="phpdocumentor-signature__response_type">string</span>
  621. </section>
  622. </article>
  623. <article
  624. class="phpdocumentor-element
  625. -method
  626. -protected
  627. "
  628. >
  629. <h4 class="phpdocumentor-element__name" id="method_setUp">
  630. setUp()
  631. <a href="classes/chillerlan-QRCodeTest-QRCodeTest.html#method_setUp" class="headerlink"><i class="fas fa-link"></i></a>
  632. </h4>
  633. <aside class="phpdocumentor-element-found-in">
  634. <abbr class="phpdocumentor-element-found-in__file" title="tests/QRCodeTest.php"><a href="files/tests-qrcodetest.html"><abbr title="tests/QRCodeTest.php">QRCodeTest.php</abbr></a></abbr>
  635. :
  636. <span class="phpdocumentor-element-found-in__line">33</span>
  637. </aside>
  638. <p class="phpdocumentor-summary">invoke test instances</p>
  639. <code class="phpdocumentor-code phpdocumentor-signature ">
  640. <span class="phpdocumentor-signature__visibility">protected</span>
  641. <span class="phpdocumentor-signature__name">setUp</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  642. <div class="phpdocumentor-label-line">
  643. </div>
  644. </article>
  645. </section>
  646. <div class="phpdocumentor-modal" id="source-view">
  647. <div class="phpdocumentor-modal-bg" data-exit-button></div>
  648. <div class="phpdocumentor-modal-container">
  649. <div class="phpdocumentor-modal-content">
  650. <pre style="max-height: 500px; overflow-y: scroll" data-src="files/tests/QRCodeTest.php.txt" class="language-php line-numbers linkable-line-numbers"></pre>
  651. </div>
  652. <button data-exit-button class="phpdocumentor-modal__close">&times;</button>
  653. </div>
  654. </div>
  655. <script type="text/javascript">
  656. (function () {
  657. function loadExternalCodeSnippet(el, url, line) {
  658. Array.prototype.slice.call(el.querySelectorAll('pre[data-src]')).forEach((pre) => {
  659. const src = url || pre.getAttribute('data-src').replace(/\\/g, '/');
  660. const language = 'php';
  661. const code = document.createElement('code');
  662. code.className = 'language-' + language;
  663. pre.textContent = '';
  664. pre.setAttribute('data-line', line)
  665. code.textContent = 'Loading…';
  666. pre.appendChild(code);
  667. var xhr = new XMLHttpRequest();
  668. xhr.open('GET', src, true);
  669. xhr.onreadystatechange = function () {
  670. if (xhr.readyState !== 4) {
  671. return;
  672. }
  673. if (xhr.status < 400 && xhr.responseText) {
  674. code.textContent = xhr.responseText;
  675. Prism.highlightElement(code);
  676. return;
  677. }
  678. if (xhr.status === 404) {
  679. code.textContent = '✖ Error: File could not be found';
  680. return;
  681. }
  682. if (xhr.status >= 400) {
  683. code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
  684. return;
  685. }
  686. code.textContent = '✖ Error: An unknown error occurred';
  687. };
  688. xhr.send(null);
  689. });
  690. }
  691. const modalButtons = document.querySelectorAll("[data-modal]");
  692. const openedAsLocalFile = window.location.protocol === 'file:';
  693. if (modalButtons.length > 0 && openedAsLocalFile) {
  694. console.warn(
  695. 'Viewing the source code is unavailable because you are opening this page from the file:// scheme; ' +
  696. 'browsers block XHR requests when a page is opened this way'
  697. );
  698. }
  699. modalButtons.forEach(function (trigger) {
  700. if (openedAsLocalFile) {
  701. trigger.setAttribute("hidden", "hidden");
  702. }
  703. trigger.addEventListener("click", function (event) {
  704. event.preventDefault();
  705. const modal = document.getElementById(trigger.dataset.modal);
  706. if (!modal) {
  707. console.error(`Modal with id "${trigger.dataset.modal}" could not be found`);
  708. return;
  709. }
  710. modal.classList.add("phpdocumentor-modal__open");
  711. loadExternalCodeSnippet(modal, trigger.dataset.src || null, trigger.dataset.line)
  712. const exits = modal.querySelectorAll("[data-exit-button]");
  713. exits.forEach(function (exit) {
  714. exit.addEventListener("click", function (event) {
  715. event.preventDefault();
  716. modal.classList.remove("phpdocumentor-modal__open");
  717. });
  718. });
  719. });
  720. });
  721. })();
  722. </script>
  723. </article>
  724. </section>
  725. <section class="phpdocumentor-on-this-page__sidebar">
  726. <section class="phpdocumentor-on-this-page__content">
  727. <strong class="phpdocumentor-on-this-page__title">On this page</strong>
  728. <ul class="phpdocumentor-list -clean">
  729. <li class="phpdocumentor-on-this-page-section__title">Table Of Contents</li>
  730. <li>
  731. <ul class="phpdocumentor-list -clean">
  732. <li><a href="classes/chillerlan-QRCodeTest-QRCodeTest.html#toc-constants">Constants</a></li>
  733. <li><a href="classes/chillerlan-QRCodeTest-QRCodeTest.html#toc-properties">Properties</a></li>
  734. <li><a href="classes/chillerlan-QRCodeTest-QRCodeTest.html#toc-methods">Methods</a></li>
  735. </ul>
  736. </li>
  737. <li class="phpdocumentor-on-this-page-section__title">Constants</li>
  738. <li>
  739. <ul class="phpdocumentor-list -clean">
  740. <li class=""><a href="classes/chillerlan-QRCodeTest-QRCodeTest.html#constant_buildDir">buildDir</a></li>
  741. </ul>
  742. </li>
  743. <li class="phpdocumentor-on-this-page-section__title">Properties</li>
  744. <li>
  745. <ul class="phpdocumentor-list -clean">
  746. <li class=""><a href="classes/chillerlan-QRCodeTest-QRCodeTest.html#property_options">$options</a></li>
  747. <li class=""><a href="classes/chillerlan-QRCodeTest-QRCodeTest.html#property_qrcode">$qrcode</a></li>
  748. </ul>
  749. </li>
  750. <li class="phpdocumentor-on-this-page-section__title">Methods</li>
  751. <li>
  752. <ul class="phpdocumentor-list -clean">
  753. <li class=""><a href="classes/chillerlan-QRCodeTest-QRCodeTest.html#method_testInitCustomOutputInterfaceNotExistsException">testInitCustomOutputInterfaceNotExistsException()</a></li>
  754. <li class=""><a href="classes/chillerlan-QRCodeTest-QRCodeTest.html#method_testInitCustomOutputInterfaceNotImplementsException">testInitCustomOutputInterfaceNotImplementsException()</a></li>
  755. <li class=""><a href="classes/chillerlan-QRCodeTest-QRCodeTest.html#method_testRenderToCacheFile">testRenderToCacheFile()</a></li>
  756. <li class=""><a href="classes/chillerlan-QRCodeTest-QRCodeTest.html#method_testSaveException">testSaveException()</a></li>
  757. <li class=""><a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_createBuildDir">createBuildDir()</a></li>
  758. <li class=""><a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_getBuildDir">getBuildDir()</a></li>
  759. <li class=""><a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_getBuildFileContent">getBuildFileContent()</a></li>
  760. <li class=""><a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_getBuildFilePath">getBuildFilePath()</a></li>
  761. <li class=""><a href="classes/chillerlan-QRCodeTest-BuildDirTrait.html#method_getBuildPath">getBuildPath()</a></li>
  762. <li class=""><a href="classes/chillerlan-QRCodeTest-QRCodeTest.html#method_setUp">setUp()</a></li>
  763. </ul>
  764. </li>
  765. </ul>
  766. </section>
  767. </section>
  768. </div>
  769. <section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
  770. <section class="phpdocumentor-search-results__dialog">
  771. <header class="phpdocumentor-search-results__header">
  772. <h2 class="phpdocumentor-search-results__title">Search results</h2>
  773. <button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
  774. </header>
  775. <section class="phpdocumentor-search-results__body">
  776. <ul class="phpdocumentor-search-results__entries"></ul>
  777. </section>
  778. </section>
  779. </section>
  780. </div>
  781. <a href="classes/chillerlan-QRCodeTest-QRCodeTest.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
  782. </main>
  783. <script>
  784. cssVars({});
  785. </script>
  786. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
  787. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
  788. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
  789. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
  790. </body>
  791. </html>