chillerlan-QRCodeTest-Data-ByteTest.html 72 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Documentation</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <base href="../">
  8. <link rel="icon" href="images/favicon.ico"/>
  9. <link rel="stylesheet" href="css/normalize.css">
  10. <link rel="stylesheet" href="css/base.css">
  11. <link rel="preconnect" href="https://fonts.gstatic.com">
  12. <link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@100;200;300;400;600;700&display=swap" rel="stylesheet">
  13. <link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
  14. <link rel="stylesheet" href="css/template.css">
  15. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
  16. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-okaidia.css">
  17. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.css">
  18. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.css">
  19. <script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
  20. <script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
  21. <script src="js/template.js"></script>
  22. <script src="js/search.js"></script>
  23. <script defer src="js/searchIndex.js"></script>
  24. </head>
  25. <body id="top">
  26. <header class="phpdocumentor-header phpdocumentor-section">
  27. <h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
  28. <input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
  29. <label class="phpdocumentor-header__menu-icon" for="menu-button">
  30. <i class="fas fa-bars"></i>
  31. </label>
  32. <section data-search-form class="phpdocumentor-search">
  33. <label>
  34. <span class="visually-hidden">Search for</span>
  35. <svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
  36. <circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
  37. <line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
  38. </svg>
  39. <input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
  40. </label>
  41. </section>
  42. <nav class="phpdocumentor-topnav">
  43. <ul class="phpdocumentor-topnav__menu">
  44. <li class="phpdocumentor-topnav__menu-item -menu">
  45. <a href="https://php-qrcode.readthedocs.io">
  46. <span>
  47. User Manual
  48. </span>
  49. </a>
  50. </li>
  51. <li class="phpdocumentor-topnav__menu-item -social">
  52. <a href="https://github.com/chillerlan/php-qrcode">
  53. <span>
  54. <i class="fab fa-github"></i>
  55. </span>
  56. </a>
  57. </li>
  58. </ul>
  59. </nav>
  60. </header>
  61. <main class="phpdocumentor">
  62. <div class="phpdocumentor-section">
  63. <input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
  64. <label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
  65. Menu
  66. </label>
  67. <aside class="phpdocumentor-column -three phpdocumentor-sidebar">
  68. <section class="phpdocumentor-sidebar__category">
  69. <h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
  70. <h4 class="phpdocumentor-sidebar__root-namespace">
  71. <a href="namespaces/chillerlan.html" class="">chillerlan</a>
  72. </h4>
  73. <ul class="phpdocumentor-list">
  74. <li>
  75. <a href="namespaces/chillerlan-qrcode.html" class="">QRCode</a>
  76. </li>
  77. <li>
  78. <a href="namespaces/chillerlan-qrcodetest.html" class="">QRCodeTest</a>
  79. </li>
  80. </ul>
  81. <h4 class="phpdocumentor-sidebar__root-namespace">
  82. <a href="namespaces/output.html" class="">Output</a>
  83. </h4>
  84. </section>
  85. <section class="phpdocumentor-sidebar__category">
  86. <h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
  87. <h4 class="phpdocumentor-sidebar__root-namespace">
  88. <a href="packages/Application.html" class="">Application</a>
  89. </h4>
  90. </section>
  91. <section class="phpdocumentor-sidebar__category">
  92. <h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
  93. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
  94. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
  95. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
  96. </section>
  97. <section class="phpdocumentor-sidebar__category">
  98. <h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
  99. <h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
  100. </section>
  101. </aside>
  102. <div class="phpdocumentor-column -nine phpdocumentor-content">
  103. <section>
  104. <ul class="phpdocumentor-breadcrumbs">
  105. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan.html">chillerlan</a></li>
  106. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcodetest.html">QRCodeTest</a></li>
  107. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcodetest-data.html">Data</a></li>
  108. </ul>
  109. <article class="phpdocumentor-element -class">
  110. <h2 class="phpdocumentor-content__title">
  111. ByteTest
  112. <span class="phpdocumentor-element__extends">
  113. extends <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html"><abbr title="\chillerlan\QRCodeTest\Data\DataInterfaceTestAbstract">DataInterfaceTestAbstract</abbr></a>
  114. </span>
  115. <div class="phpdocumentor-element__package">
  116. in package
  117. <ul class="phpdocumentor-breadcrumbs">
  118. <li class="phpdocumentor-breadcrumb"><a href="packages/Application.html">Application</a></li>
  119. </ul>
  120. </div>
  121. </h2>
  122. <div class="phpdocumentor-label-line">
  123. <div class="phpdocumentor-label phpdocumentor-label--success"><span>Final</span><span>Yes</span></div>
  124. </div>
  125. <aside class="phpdocumentor-element-found-in">
  126. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/ByteTest.php"><a href="files/tests-data-bytetest.html"><abbr title="tests/Data/ByteTest.php">ByteTest.php</abbr></a></abbr>
  127. :
  128. <span class="phpdocumentor-element-found-in__line">19</span>
  129. </aside>
  130. <p class="phpdocumentor-summary">Tests the Byte class</p>
  131. <h3 id="toc">
  132. Table of Contents
  133. <a href="classes/chillerlan-QRCodeTest-Data-ByteTest.html#toc" class="headerlink"><i class="fas fa-link"></i></a>
  134. </h3>
  135. <h4 id="toc-constants">
  136. Constants
  137. <a href="classes/chillerlan-QRCodeTest-Data-ByteTest.html#toc-constants" class="headerlink"><i class="fas fa-link"></i></a>
  138. </h4>
  139. <dl class="phpdocumentor-table-of-contents">
  140. <dt class="phpdocumentor-table-of-contents__entry -constant -protected">
  141. <a href="classes/chillerlan-QRCodeTest-Data-ByteTest.html#constant_testData">testData</a>
  142. <span>
  143. &nbsp;= &#039;[¯\\_(ツ)_/¯]&#039; </span>
  144. </dt>
  145. </dl>
  146. <h4 id="toc-properties">
  147. Properties
  148. <a href="classes/chillerlan-QRCodeTest-Data-ByteTest.html#toc-properties" class="headerlink"><i class="fas fa-link"></i></a>
  149. </h4>
  150. <dl class="phpdocumentor-table-of-contents">
  151. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  152. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#property_dataMode">$dataMode</a>
  153. <span>
  154. &nbsp;: <a href="classes/chillerlan-QRCode-Data-QRDataModeInterface.html"><abbr title="\chillerlan\QRCode\Data\QRDataModeInterface">QRDataModeInterface</abbr></a> </span>
  155. </dt>
  156. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  157. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#property_QRData">$QRData</a>
  158. <span>
  159. &nbsp;: <a href="classes/chillerlan-QRCode-Data-QRData.html"><abbr title="\chillerlan\QRCode\Data\QRData">QRData</abbr></a> </span>
  160. </dt>
  161. </dl>
  162. <h4 id="toc-methods">
  163. Methods
  164. <a href="classes/chillerlan-QRCodeTest-Data-ByteTest.html#toc-methods" class="headerlink"><i class="fas fa-link"></i></a>
  165. </h4>
  166. <dl class="phpdocumentor-table-of-contents">
  167. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  168. <a href="classes/chillerlan-QRCodeTest-QRMaxLengthTrait.html#method_getMaxLengthForMode">getMaxLengthForMode()</a>
  169. <span>
  170. &nbsp;: int </span>
  171. </dt>
  172. <dd>the maximum character count for the given $mode and $eccLevel</dd>
  173. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  174. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_maskPatternProvider">maskPatternProvider()</a>
  175. <span>
  176. &nbsp;: array&lt;string|int, array&lt;string|int, int&gt;&gt; </span>
  177. </dt>
  178. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  179. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_maxLengthProvider">maxLengthProvider()</a>
  180. <span>
  181. &nbsp;: <abbr title="\Generator">Generator</abbr> </span>
  182. </dt>
  183. <dd>Generates test data for each data mode:</dd>
  184. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  185. <a href="classes/chillerlan-QRCodeTest-Data-ByteTest.html#method_stringValidateProvider">stringValidateProvider()</a>
  186. <span>
  187. &nbsp;: array&lt;string|int, mixed&gt; </span>
  188. </dt>
  189. <dd>isByte() passses any binary string and only fails on empty strings</dd>
  190. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  191. <a href="classes/chillerlan-QRCodeTest-Data-ByteTest.html#method_testBinaryStringInvalid">testBinaryStringInvalid()</a>
  192. <span>
  193. &nbsp;: void </span>
  194. </dt>
  195. <dd>Tests if a random binary string is properly validated as false</dd>
  196. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  197. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testDecodeSegment">testDecodeSegment()</a>
  198. <span>
  199. &nbsp;: void </span>
  200. </dt>
  201. <dd>Tests decoding a data segment from a given BitBuffer</dd>
  202. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  203. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testGetMinimumVersion">testGetMinimumVersion()</a>
  204. <span>
  205. &nbsp;: void </span>
  206. </dt>
  207. <dd>Tests getting the minimum QR version for the given data</dd>
  208. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  209. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testGetMinimumVersionException">testGetMinimumVersionException()</a>
  210. <span>
  211. &nbsp;: void </span>
  212. </dt>
  213. <dd>Tests if an exception is thrown when the data exceeds the maximum version while auto-detecting</dd>
  214. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  215. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testInitMatrix">testInitMatrix()</a>
  216. <span>
  217. &nbsp;: void </span>
  218. </dt>
  219. <dd>Tests initializing the data matrix</dd>
  220. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  221. <a href="classes/chillerlan-QRCodeTest-Data-ByteTest.html#method_testInvalidDataException">testInvalidDataException()</a>
  222. <span>
  223. &nbsp;: void </span>
  224. </dt>
  225. <dd>Tests if an exception is thrown when an invalid character is encountered</dd>
  226. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  227. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testInvalidDataOnEmptyException">testInvalidDataOnEmptyException()</a>
  228. <span>
  229. &nbsp;: void </span>
  230. </dt>
  231. <dd>Tests if an exception is thrown if the given string is empty</dd>
  232. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  233. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testMaxLength">testMaxLength()</a>
  234. <span>
  235. &nbsp;: void </span>
  236. </dt>
  237. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  238. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testMaxLengthOverflowException">testMaxLengthOverflowException()</a>
  239. <span>
  240. &nbsp;: void </span>
  241. </dt>
  242. <dd>Tests if an exception is thrown on data overflow</dd>
  243. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  244. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testValidateString">testValidateString()</a>
  245. <span>
  246. &nbsp;: void </span>
  247. </dt>
  248. <dd>Tests if a string is properly validated for the respective data mode</dd>
  249. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  250. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_versionBreakpointProvider">versionBreakpointProvider()</a>
  251. <span>
  252. &nbsp;: array&lt;string|int, mixed&gt; </span>
  253. </dt>
  254. <dd>returns versions within the version breakpoints 1-9, 10-26 and 27-40</dd>
  255. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  256. <a href="classes/chillerlan-QRCodeTest-Data-ByteTest.html#method_getDataModeInterface">getDataModeInterface()</a>
  257. <span>
  258. &nbsp;: <a href="classes/chillerlan-QRCode-Data-QRDataModeInterface.html"><abbr title="\chillerlan\QRCode\Data\QRDataModeInterface">QRDataModeInterface</abbr></a> </span>
  259. </dt>
  260. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  261. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_setUp">setUp()</a>
  262. <span>
  263. &nbsp;: void </span>
  264. </dt>
  265. </dl>
  266. <section class="phpdocumentor-constants">
  267. <h3 class="phpdocumentor-elements__header" id="constants">
  268. Constants
  269. <a href="classes/chillerlan-QRCodeTest-Data-ByteTest.html#constants" class="headerlink"><i class="fas fa-link"></i></a>
  270. </h3>
  271. <article class="phpdocumentor-element -constant -protected ">
  272. <h4 class="phpdocumentor-element__name" id="constant_testData">
  273. testData
  274. <a href="classes/chillerlan-QRCodeTest-Data-ByteTest.html#constant_testData" class="headerlink"><i class="fas fa-link"></i></a>
  275. </h4>
  276. <aside class="phpdocumentor-element-found-in">
  277. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/ByteTest.php"><a href="files/tests-data-bytetest.html"><abbr title="tests/Data/ByteTest.php">ByteTest.php</abbr></a></abbr>
  278. :
  279. <span class="phpdocumentor-element-found-in__line">21</span>
  280. </aside>
  281. <code class="phpdocumentor-signature phpdocumentor-code ">
  282. <span class="phpdocumentor-signature__visibility">protected</span>
  283. <span class="phpdocumentor-signature__type">mixed</span>
  284. <span class="phpdocumentor-signature__name">testData</span>
  285. = <span class="phpdocumentor-signature__default-value">&#039;[¯\\_(ツ)_/¯]&#039;</span>
  286. </code>
  287. </article>
  288. </section>
  289. <section class="phpdocumentor-properties">
  290. <h3 class="phpdocumentor-elements__header" id="properties">
  291. Properties
  292. <a href="classes/chillerlan-QRCodeTest-Data-ByteTest.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
  293. </h3>
  294. <article
  295. class="
  296. phpdocumentor-element
  297. -property
  298. -protected
  299. "
  300. >
  301. <h4 class="phpdocumentor-element__name" id="property_dataMode">
  302. $dataMode
  303. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#property_dataMode" class="headerlink"><i class="fas fa-link"></i></a>
  304. <span class="phpdocumentor-element__modifiers">
  305. </span>
  306. </h4>
  307. <aside class="phpdocumentor-element-found-in">
  308. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/DataInterfaceTestAbstract.php"><a href="files/tests-data-datainterfacetestabstract.html"><abbr title="tests/Data/DataInterfaceTestAbstract.php">DataInterfaceTestAbstract.php</abbr></a></abbr>
  309. :
  310. <span class="phpdocumentor-element-found-in__line">30</span>
  311. </aside>
  312. <code class="phpdocumentor-code phpdocumentor-signature ">
  313. <span class="phpdocumentor-signature__visibility">protected</span>
  314. <span class="phpdocumentor-signature__type"><a href="classes/chillerlan-QRCode-Data-QRDataModeInterface.html"><abbr title="\chillerlan\QRCode\Data\QRDataModeInterface">QRDataModeInterface</abbr></a></span>
  315. <span class="phpdocumentor-signature__name">$dataMode</span>
  316. </code>
  317. </article>
  318. <article
  319. class="
  320. phpdocumentor-element
  321. -property
  322. -protected
  323. "
  324. >
  325. <h4 class="phpdocumentor-element__name" id="property_QRData">
  326. $QRData
  327. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#property_QRData" class="headerlink"><i class="fas fa-link"></i></a>
  328. <span class="phpdocumentor-element__modifiers">
  329. </span>
  330. </h4>
  331. <aside class="phpdocumentor-element-found-in">
  332. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/DataInterfaceTestAbstract.php"><a href="files/tests-data-datainterfacetestabstract.html"><abbr title="tests/Data/DataInterfaceTestAbstract.php">DataInterfaceTestAbstract.php</abbr></a></abbr>
  333. :
  334. <span class="phpdocumentor-element-found-in__line">29</span>
  335. </aside>
  336. <code class="phpdocumentor-code phpdocumentor-signature ">
  337. <span class="phpdocumentor-signature__visibility">protected</span>
  338. <span class="phpdocumentor-signature__type"><a href="classes/chillerlan-QRCode-Data-QRData.html"><abbr title="\chillerlan\QRCode\Data\QRData">QRData</abbr></a></span>
  339. <span class="phpdocumentor-signature__name">$QRData</span>
  340. </code>
  341. </article>
  342. </section>
  343. <section class="phpdocumentor-methods">
  344. <h3 class="phpdocumentor-elements__header" id="methods">
  345. Methods
  346. <a href="classes/chillerlan-QRCodeTest-Data-ByteTest.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
  347. </h3>
  348. <article
  349. class="phpdocumentor-element
  350. -method
  351. -public
  352. -static "
  353. >
  354. <h4 class="phpdocumentor-element__name" id="method_getMaxLengthForMode">
  355. getMaxLengthForMode()
  356. <a href="classes/chillerlan-QRCodeTest-QRMaxLengthTrait.html#method_getMaxLengthForMode" class="headerlink"><i class="fas fa-link"></i></a>
  357. </h4>
  358. <aside class="phpdocumentor-element-found-in">
  359. <abbr class="phpdocumentor-element-found-in__file" title="tests/QRMaxLengthTrait.php"><a href="files/tests-qrmaxlengthtrait.html"><abbr title="tests/QRMaxLengthTrait.php">QRMaxLengthTrait.php</abbr></a></abbr>
  360. :
  361. <span class="phpdocumentor-element-found-in__line">79</span>
  362. </aside>
  363. <p class="phpdocumentor-summary">the maximum character count for the given $mode and $eccLevel</p>
  364. <code class="phpdocumentor-code phpdocumentor-signature ">
  365. <span class="phpdocumentor-signature__visibility">public</span>
  366. <span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">getMaxLengthForMode</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$mode</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-Version.html"><abbr title="\chillerlan\QRCode\Common\Version">Version</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$version</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-EccLevel.html"><abbr title="\chillerlan\QRCode\Common\EccLevel">EccLevel</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$eccLevel</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
  367. <div class="phpdocumentor-label-line">
  368. </div>
  369. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  370. <dl class="phpdocumentor-argument-list">
  371. <dt class="phpdocumentor-argument-list__entry">
  372. <span class="phpdocumentor-signature__argument__name">$mode</span>
  373. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  374. </dt>
  375. <dd class="phpdocumentor-argument-list__definition">
  376. </dd>
  377. <dt class="phpdocumentor-argument-list__entry">
  378. <span class="phpdocumentor-signature__argument__name">$version</span>
  379. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-Version.html"><abbr title="\chillerlan\QRCode\Common\Version">Version</abbr></a></span>
  380. </dt>
  381. <dd class="phpdocumentor-argument-list__definition">
  382. </dd>
  383. <dt class="phpdocumentor-argument-list__entry">
  384. <span class="phpdocumentor-signature__argument__name">$eccLevel</span>
  385. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-EccLevel.html"><abbr title="\chillerlan\QRCode\Common\EccLevel">EccLevel</abbr></a></span>
  386. </dt>
  387. <dd class="phpdocumentor-argument-list__definition">
  388. </dd>
  389. </dl>
  390. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  391. Tags
  392. <a href="classes/chillerlan-QRCodeTest-QRMaxLengthTrait.html#method_getMaxLengthForMode#tags" class="headerlink"><i class="fas fa-link"></i></a>
  393. </h5>
  394. <dl class="phpdocumentor-tag-list">
  395. <dt class="phpdocumentor-tag-list__entry">
  396. <span class="phpdocumentor-tag__name">throws</span>
  397. </dt>
  398. <dd class="phpdocumentor-tag-list__definition">
  399. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-QRCodeException.html"><abbr title="\chillerlan\QRCode\QRCodeException">QRCodeException</abbr></a></span>
  400. </dd>
  401. <dt class="phpdocumentor-tag-list__entry">
  402. <span class="phpdocumentor-tag__name">codeCoverageIgnore</span>
  403. </dt>
  404. <dd class="phpdocumentor-tag-list__definition">
  405. </dd>
  406. </dl>
  407. <section>
  408. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  409. <span class="phpdocumentor-signature__response_type">int</span>
  410. </section>
  411. </article>
  412. <article
  413. class="phpdocumentor-element
  414. -method
  415. -public
  416. -static "
  417. >
  418. <h4 class="phpdocumentor-element__name" id="method_maskPatternProvider">
  419. maskPatternProvider()
  420. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_maskPatternProvider" class="headerlink"><i class="fas fa-link"></i></a>
  421. </h4>
  422. <aside class="phpdocumentor-element-found-in">
  423. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/DataInterfaceTestAbstract.php"><a href="files/tests-data-datainterfacetestabstract.html"><abbr title="tests/Data/DataInterfaceTestAbstract.php">DataInterfaceTestAbstract.php</abbr></a></abbr>
  424. :
  425. <span class="phpdocumentor-element-found-in__line">44</span>
  426. </aside>
  427. <code class="phpdocumentor-code phpdocumentor-signature ">
  428. <span class="phpdocumentor-signature__visibility">public</span>
  429. <span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">maskPatternProvider</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, array&lt;string|int, int&gt;&gt;</span></code>
  430. <div class="phpdocumentor-label-line">
  431. </div>
  432. <section>
  433. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  434. <span class="phpdocumentor-signature__response_type">array&lt;string|int, array&lt;string|int, int&gt;&gt;</span>
  435. </section>
  436. </article>
  437. <article
  438. class="phpdocumentor-element
  439. -method
  440. -public
  441. -static "
  442. >
  443. <h4 class="phpdocumentor-element__name" id="method_maxLengthProvider">
  444. maxLengthProvider()
  445. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_maxLengthProvider" class="headerlink"><i class="fas fa-link"></i></a>
  446. </h4>
  447. <aside class="phpdocumentor-element-found-in">
  448. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/DataInterfaceTestAbstract.php"><a href="files/tests-data-datainterfacetestabstract.html"><abbr title="tests/Data/DataInterfaceTestAbstract.php">DataInterfaceTestAbstract.php</abbr></a></abbr>
  449. :
  450. <span class="phpdocumentor-element-found-in__line">118</span>
  451. </aside>
  452. <p class="phpdocumentor-summary">Generates test data for each data mode:</p>
  453. <code class="phpdocumentor-code phpdocumentor-signature ">
  454. <span class="phpdocumentor-signature__visibility">public</span>
  455. <span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">maxLengthProvider</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><abbr title="\Generator">Generator</abbr></span></code>
  456. <div class="phpdocumentor-label-line">
  457. </div>
  458. <section class="phpdocumentor-description"><ul>
  459. <li>version</li>
  460. <li>ECC level</li>
  461. <li>a string that contains the maximum amount of characters for the given mode</li>
  462. <li>a string that contains characters for the given mode and that exceeds the maximum length by one/two character(s)</li>
  463. <li>the maximum allowed character length</li>
  464. </ul>
  465. </section>
  466. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  467. Tags
  468. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_maxLengthProvider#tags" class="headerlink"><i class="fas fa-link"></i></a>
  469. </h5>
  470. <dl class="phpdocumentor-tag-list">
  471. <dt class="phpdocumentor-tag-list__entry">
  472. <span class="phpdocumentor-tag__name">throws</span>
  473. </dt>
  474. <dd class="phpdocumentor-tag-list__definition">
  475. <span class="phpdocumentor-tag-link"><abbr title="\Exception">Exception</abbr></span>
  476. </dd>
  477. </dl>
  478. <section>
  479. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  480. <span class="phpdocumentor-signature__response_type"><abbr title="\Generator">Generator</abbr></span>
  481. </section>
  482. </article>
  483. <article
  484. class="phpdocumentor-element
  485. -method
  486. -public
  487. -static "
  488. >
  489. <h4 class="phpdocumentor-element__name" id="method_stringValidateProvider">
  490. stringValidateProvider()
  491. <a href="classes/chillerlan-QRCodeTest-Data-ByteTest.html#method_stringValidateProvider" class="headerlink"><i class="fas fa-link"></i></a>
  492. </h4>
  493. <aside class="phpdocumentor-element-found-in">
  494. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/ByteTest.php"><a href="files/tests-data-bytetest.html"><abbr title="tests/Data/ByteTest.php">ByteTest.php</abbr></a></abbr>
  495. :
  496. <span class="phpdocumentor-element-found-in__line">30</span>
  497. </aside>
  498. <p class="phpdocumentor-summary">isByte() passses any binary string and only fails on empty strings</p>
  499. <code class="phpdocumentor-code phpdocumentor-signature ">
  500. <span class="phpdocumentor-signature__visibility">public</span>
  501. <span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">stringValidateProvider</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
  502. <div class="phpdocumentor-label-line">
  503. </div>
  504. <section>
  505. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  506. <span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
  507. </section>
  508. </article>
  509. <article
  510. class="phpdocumentor-element
  511. -method
  512. -public
  513. "
  514. >
  515. <h4 class="phpdocumentor-element__name" id="method_testBinaryStringInvalid">
  516. testBinaryStringInvalid()
  517. <a href="classes/chillerlan-QRCodeTest-Data-ByteTest.html#method_testBinaryStringInvalid" class="headerlink"><i class="fas fa-link"></i></a>
  518. </h4>
  519. <aside class="phpdocumentor-element-found-in">
  520. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/ByteTest.php"><a href="files/tests-data-bytetest.html"><abbr title="tests/Data/ByteTest.php">ByteTest.php</abbr></a></abbr>
  521. :
  522. <span class="phpdocumentor-element-found-in__line">49</span>
  523. </aside>
  524. <p class="phpdocumentor-summary">Tests if a random binary string is properly validated as false</p>
  525. <code class="phpdocumentor-code phpdocumentor-signature ">
  526. <span class="phpdocumentor-signature__visibility">public</span>
  527. <span class="phpdocumentor-signature__name">testBinaryStringInvalid</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  528. <div class="phpdocumentor-label-line">
  529. </div>
  530. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  531. Tags
  532. <a href="classes/chillerlan-QRCodeTest-Data-ByteTest.html#method_testBinaryStringInvalid#tags" class="headerlink"><i class="fas fa-link"></i></a>
  533. </h5>
  534. <dl class="phpdocumentor-tag-list">
  535. <dt class="phpdocumentor-tag-list__entry">
  536. <span class="phpdocumentor-tag__name">inheritDoc</span>
  537. </dt>
  538. <dd class="phpdocumentor-tag-list__definition">
  539. </dd>
  540. </dl>
  541. </article>
  542. <article
  543. class="phpdocumentor-element
  544. -method
  545. -public
  546. "
  547. >
  548. <h4 class="phpdocumentor-element__name" id="method_testDecodeSegment">
  549. testDecodeSegment()
  550. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testDecodeSegment" class="headerlink"><i class="fas fa-link"></i></a>
  551. </h4>
  552. <aside class="phpdocumentor-element-found-in">
  553. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/DataInterfaceTestAbstract.php"><a href="files/tests-data-datainterfacetestabstract.html"><abbr title="tests/Data/DataInterfaceTestAbstract.php">DataInterfaceTestAbstract.php</abbr></a></abbr>
  554. :
  555. <span class="phpdocumentor-element-found-in__line">92</span>
  556. </aside>
  557. <p class="phpdocumentor-summary">Tests decoding a data segment from a given BitBuffer</p>
  558. <code class="phpdocumentor-code phpdocumentor-signature ">
  559. <span class="phpdocumentor-signature__visibility">public</span>
  560. <span class="phpdocumentor-signature__name">testDecodeSegment</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$version</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  561. <div class="phpdocumentor-label-line">
  562. </div>
  563. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  564. <dl class="phpdocumentor-argument-list">
  565. <dt class="phpdocumentor-argument-list__entry">
  566. <span class="phpdocumentor-signature__argument__name">$version</span>
  567. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  568. </dt>
  569. <dd class="phpdocumentor-argument-list__definition">
  570. </dd>
  571. </dl>
  572. </article>
  573. <article
  574. class="phpdocumentor-element
  575. -method
  576. -public
  577. "
  578. >
  579. <h4 class="phpdocumentor-element__name" id="method_testGetMinimumVersion">
  580. testGetMinimumVersion()
  581. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testGetMinimumVersion" class="headerlink"><i class="fas fa-link"></i></a>
  582. </h4>
  583. <aside class="phpdocumentor-element-found-in">
  584. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/DataInterfaceTestAbstract.php"><a href="files/tests-data-datainterfacetestabstract.html"><abbr title="tests/Data/DataInterfaceTestAbstract.php">DataInterfaceTestAbstract.php</abbr></a></abbr>
  585. :
  586. <span class="phpdocumentor-element-found-in__line">167</span>
  587. </aside>
  588. <p class="phpdocumentor-summary">Tests getting the minimum QR version for the given data</p>
  589. <code class="phpdocumentor-code phpdocumentor-signature ">
  590. <span class="phpdocumentor-signature__visibility">public</span>
  591. <span class="phpdocumentor-signature__name">testGetMinimumVersion</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-Version.html"><abbr title="\chillerlan\QRCode\Common\Version">Version</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$version</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-EccLevel.html"><abbr title="\chillerlan\QRCode\Common\EccLevel">EccLevel</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$eccLevel</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">$str</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  592. <div class="phpdocumentor-label-line">
  593. </div>
  594. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  595. <dl class="phpdocumentor-argument-list">
  596. <dt class="phpdocumentor-argument-list__entry">
  597. <span class="phpdocumentor-signature__argument__name">$version</span>
  598. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-Version.html"><abbr title="\chillerlan\QRCode\Common\Version">Version</abbr></a></span>
  599. </dt>
  600. <dd class="phpdocumentor-argument-list__definition">
  601. </dd>
  602. <dt class="phpdocumentor-argument-list__entry">
  603. <span class="phpdocumentor-signature__argument__name">$eccLevel</span>
  604. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-EccLevel.html"><abbr title="\chillerlan\QRCode\Common\EccLevel">EccLevel</abbr></a></span>
  605. </dt>
  606. <dd class="phpdocumentor-argument-list__definition">
  607. </dd>
  608. <dt class="phpdocumentor-argument-list__entry">
  609. <span class="phpdocumentor-signature__argument__name">$str</span>
  610. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  611. </dt>
  612. <dd class="phpdocumentor-argument-list__definition">
  613. </dd>
  614. </dl>
  615. </article>
  616. <article
  617. class="phpdocumentor-element
  618. -method
  619. -public
  620. "
  621. >
  622. <h4 class="phpdocumentor-element__name" id="method_testGetMinimumVersionException">
  623. testGetMinimumVersionException()
  624. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testGetMinimumVersionException" class="headerlink"><i class="fas fa-link"></i></a>
  625. </h4>
  626. <aside class="phpdocumentor-element-found-in">
  627. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/DataInterfaceTestAbstract.php"><a href="files/tests-data-datainterfacetestabstract.html"><abbr title="tests/Data/DataInterfaceTestAbstract.php">DataInterfaceTestAbstract.php</abbr></a></abbr>
  628. :
  629. <span class="phpdocumentor-element-found-in__line">213</span>
  630. </aside>
  631. <p class="phpdocumentor-summary">Tests if an exception is thrown when the data exceeds the maximum version while auto-detecting</p>
  632. <code class="phpdocumentor-code phpdocumentor-signature ">
  633. <span class="phpdocumentor-signature__visibility">public</span>
  634. <span class="phpdocumentor-signature__name">testGetMinimumVersionException</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  635. <div class="phpdocumentor-label-line">
  636. </div>
  637. </article>
  638. <article
  639. class="phpdocumentor-element
  640. -method
  641. -public
  642. "
  643. >
  644. <h4 class="phpdocumentor-element__name" id="method_testInitMatrix">
  645. testInitMatrix()
  646. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testInitMatrix" class="headerlink"><i class="fas fa-link"></i></a>
  647. </h4>
  648. <aside class="phpdocumentor-element-found-in">
  649. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/DataInterfaceTestAbstract.php"><a href="files/tests-data-datainterfacetestabstract.html"><abbr title="tests/Data/DataInterfaceTestAbstract.php">DataInterfaceTestAbstract.php</abbr></a></abbr>
  650. :
  651. <span class="phpdocumentor-element-found-in__line">51</span>
  652. </aside>
  653. <p class="phpdocumentor-summary">Tests initializing the data matrix</p>
  654. <code class="phpdocumentor-code phpdocumentor-signature ">
  655. <span class="phpdocumentor-signature__visibility">public</span>
  656. <span class="phpdocumentor-signature__name">testInitMatrix</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$pattern</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  657. <div class="phpdocumentor-label-line">
  658. </div>
  659. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  660. <dl class="phpdocumentor-argument-list">
  661. <dt class="phpdocumentor-argument-list__entry">
  662. <span class="phpdocumentor-signature__argument__name">$pattern</span>
  663. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  664. </dt>
  665. <dd class="phpdocumentor-argument-list__definition">
  666. </dd>
  667. </dl>
  668. </article>
  669. <article
  670. class="phpdocumentor-element
  671. -method
  672. -public
  673. "
  674. >
  675. <h4 class="phpdocumentor-element__name" id="method_testInvalidDataException">
  676. testInvalidDataException()
  677. <a href="classes/chillerlan-QRCodeTest-Data-ByteTest.html#method_testInvalidDataException" class="headerlink"><i class="fas fa-link"></i></a>
  678. </h4>
  679. <aside class="phpdocumentor-element-found-in">
  680. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/ByteTest.php"><a href="files/tests-data-bytetest.html"><abbr title="tests/Data/ByteTest.php">ByteTest.php</abbr></a></abbr>
  681. :
  682. <span class="phpdocumentor-element-found-in__line">42</span>
  683. </aside>
  684. <p class="phpdocumentor-summary">Tests if an exception is thrown when an invalid character is encountered</p>
  685. <code class="phpdocumentor-code phpdocumentor-signature ">
  686. <span class="phpdocumentor-signature__visibility">public</span>
  687. <span class="phpdocumentor-signature__name">testInvalidDataException</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  688. <div class="phpdocumentor-label-line">
  689. </div>
  690. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  691. Tags
  692. <a href="classes/chillerlan-QRCodeTest-Data-ByteTest.html#method_testInvalidDataException#tags" class="headerlink"><i class="fas fa-link"></i></a>
  693. </h5>
  694. <dl class="phpdocumentor-tag-list">
  695. <dt class="phpdocumentor-tag-list__entry">
  696. <span class="phpdocumentor-tag__name">inheritDoc</span>
  697. </dt>
  698. <dd class="phpdocumentor-tag-list__definition">
  699. </dd>
  700. </dl>
  701. </article>
  702. <article
  703. class="phpdocumentor-element
  704. -method
  705. -public
  706. "
  707. >
  708. <h4 class="phpdocumentor-element__name" id="method_testInvalidDataOnEmptyException">
  709. testInvalidDataOnEmptyException()
  710. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testInvalidDataOnEmptyException" class="headerlink"><i class="fas fa-link"></i></a>
  711. </h4>
  712. <aside class="phpdocumentor-element-found-in">
  713. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/DataInterfaceTestAbstract.php"><a href="files/tests-data-datainterfacetestabstract.html"><abbr title="tests/Data/DataInterfaceTestAbstract.php">DataInterfaceTestAbstract.php</abbr></a></abbr>
  714. :
  715. <span class="phpdocumentor-element-found-in__line">233</span>
  716. </aside>
  717. <p class="phpdocumentor-summary">Tests if an exception is thrown if the given string is empty</p>
  718. <code class="phpdocumentor-code phpdocumentor-signature ">
  719. <span class="phpdocumentor-signature__visibility">public</span>
  720. <span class="phpdocumentor-signature__name">testInvalidDataOnEmptyException</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  721. <div class="phpdocumentor-label-line">
  722. </div>
  723. </article>
  724. <article
  725. class="phpdocumentor-element
  726. -method
  727. -public
  728. "
  729. >
  730. <h4 class="phpdocumentor-element__name" id="method_testMaxLength">
  731. testMaxLength()
  732. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testMaxLength" class="headerlink"><i class="fas fa-link"></i></a>
  733. </h4>
  734. <aside class="phpdocumentor-element-found-in">
  735. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/DataInterfaceTestAbstract.php"><a href="files/tests-data-datainterfacetestabstract.html"><abbr title="tests/Data/DataInterfaceTestAbstract.php">DataInterfaceTestAbstract.php</abbr></a></abbr>
  736. :
  737. <span class="phpdocumentor-element-found-in__line">149</span>
  738. </aside>
  739. <code class="phpdocumentor-code phpdocumentor-signature ">
  740. <span class="phpdocumentor-signature__visibility">public</span>
  741. <span class="phpdocumentor-signature__name">testMaxLength</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-Version.html"><abbr title="\chillerlan\QRCode\Common\Version">Version</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$version</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-EccLevel.html"><abbr title="\chillerlan\QRCode\Common\EccLevel">EccLevel</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$eccLevel</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">$str</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  742. <div class="phpdocumentor-label-line">
  743. </div>
  744. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  745. <dl class="phpdocumentor-argument-list">
  746. <dt class="phpdocumentor-argument-list__entry">
  747. <span class="phpdocumentor-signature__argument__name">$version</span>
  748. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-Version.html"><abbr title="\chillerlan\QRCode\Common\Version">Version</abbr></a></span>
  749. </dt>
  750. <dd class="phpdocumentor-argument-list__definition">
  751. </dd>
  752. <dt class="phpdocumentor-argument-list__entry">
  753. <span class="phpdocumentor-signature__argument__name">$eccLevel</span>
  754. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-EccLevel.html"><abbr title="\chillerlan\QRCode\Common\EccLevel">EccLevel</abbr></a></span>
  755. </dt>
  756. <dd class="phpdocumentor-argument-list__definition">
  757. </dd>
  758. <dt class="phpdocumentor-argument-list__entry">
  759. <span class="phpdocumentor-signature__argument__name">$str</span>
  760. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  761. </dt>
  762. <dd class="phpdocumentor-argument-list__definition">
  763. </dd>
  764. </dl>
  765. </article>
  766. <article
  767. class="phpdocumentor-element
  768. -method
  769. -public
  770. "
  771. >
  772. <h4 class="phpdocumentor-element__name" id="method_testMaxLengthOverflowException">
  773. testMaxLengthOverflowException()
  774. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testMaxLengthOverflowException" class="headerlink"><i class="fas fa-link"></i></a>
  775. </h4>
  776. <aside class="phpdocumentor-element-found-in">
  777. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/DataInterfaceTestAbstract.php"><a href="files/tests-data-datainterfacetestabstract.html"><abbr title="tests/Data/DataInterfaceTestAbstract.php">DataInterfaceTestAbstract.php</abbr></a></abbr>
  778. :
  779. <span class="phpdocumentor-element-found-in__line">197</span>
  780. </aside>
  781. <p class="phpdocumentor-summary">Tests if an exception is thrown on data overflow</p>
  782. <code class="phpdocumentor-code phpdocumentor-signature ">
  783. <span class="phpdocumentor-signature__visibility">public</span>
  784. <span class="phpdocumentor-signature__name">testMaxLengthOverflowException</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-Version.html"><abbr title="\chillerlan\QRCode\Common\Version">Version</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$version</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-EccLevel.html"><abbr title="\chillerlan\QRCode\Common\EccLevel">EccLevel</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$eccLevel</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">$str</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">$str1</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  785. <div class="phpdocumentor-label-line">
  786. </div>
  787. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  788. <dl class="phpdocumentor-argument-list">
  789. <dt class="phpdocumentor-argument-list__entry">
  790. <span class="phpdocumentor-signature__argument__name">$version</span>
  791. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-Version.html"><abbr title="\chillerlan\QRCode\Common\Version">Version</abbr></a></span>
  792. </dt>
  793. <dd class="phpdocumentor-argument-list__definition">
  794. </dd>
  795. <dt class="phpdocumentor-argument-list__entry">
  796. <span class="phpdocumentor-signature__argument__name">$eccLevel</span>
  797. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-EccLevel.html"><abbr title="\chillerlan\QRCode\Common\EccLevel">EccLevel</abbr></a></span>
  798. </dt>
  799. <dd class="phpdocumentor-argument-list__definition">
  800. </dd>
  801. <dt class="phpdocumentor-argument-list__entry">
  802. <span class="phpdocumentor-signature__argument__name">$str</span>
  803. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  804. </dt>
  805. <dd class="phpdocumentor-argument-list__definition">
  806. </dd>
  807. <dt class="phpdocumentor-argument-list__entry">
  808. <span class="phpdocumentor-signature__argument__name">$str1</span>
  809. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  810. </dt>
  811. <dd class="phpdocumentor-argument-list__definition">
  812. </dd>
  813. </dl>
  814. </article>
  815. <article
  816. class="phpdocumentor-element
  817. -method
  818. -public
  819. "
  820. >
  821. <h4 class="phpdocumentor-element__name" id="method_testValidateString">
  822. testValidateString()
  823. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testValidateString" class="headerlink"><i class="fas fa-link"></i></a>
  824. </h4>
  825. <aside class="phpdocumentor-element-found-in">
  826. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/DataInterfaceTestAbstract.php"><a href="files/tests-data-datainterfacetestabstract.html"><abbr title="tests/Data/DataInterfaceTestAbstract.php">DataInterfaceTestAbstract.php</abbr></a></abbr>
  827. :
  828. <span class="phpdocumentor-element-found-in__line">68</span>
  829. </aside>
  830. <p class="phpdocumentor-summary">Tests if a string is properly validated for the respective data mode</p>
  831. <code class="phpdocumentor-code phpdocumentor-signature ">
  832. <span class="phpdocumentor-signature__visibility">public</span>
  833. <span class="phpdocumentor-signature__name">testValidateString</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$string</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">bool&nbsp;</span><span class="phpdocumentor-signature__argument__name">$expected</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  834. <div class="phpdocumentor-label-line">
  835. </div>
  836. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  837. <dl class="phpdocumentor-argument-list">
  838. <dt class="phpdocumentor-argument-list__entry">
  839. <span class="phpdocumentor-signature__argument__name">$string</span>
  840. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  841. </dt>
  842. <dd class="phpdocumentor-argument-list__definition">
  843. </dd>
  844. <dt class="phpdocumentor-argument-list__entry">
  845. <span class="phpdocumentor-signature__argument__name">$expected</span>
  846. : <span class="phpdocumentor-signature__argument__return-type">bool</span>
  847. </dt>
  848. <dd class="phpdocumentor-argument-list__definition">
  849. </dd>
  850. </dl>
  851. </article>
  852. <article
  853. class="phpdocumentor-element
  854. -method
  855. -public
  856. -static "
  857. >
  858. <h4 class="phpdocumentor-element__name" id="method_versionBreakpointProvider">
  859. versionBreakpointProvider()
  860. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_versionBreakpointProvider" class="headerlink"><i class="fas fa-link"></i></a>
  861. </h4>
  862. <aside class="phpdocumentor-element-found-in">
  863. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/DataInterfaceTestAbstract.php"><a href="files/tests-data-datainterfacetestabstract.html"><abbr title="tests/Data/DataInterfaceTestAbstract.php">DataInterfaceTestAbstract.php</abbr></a></abbr>
  864. :
  865. <span class="phpdocumentor-element-found-in__line">85</span>
  866. </aside>
  867. <p class="phpdocumentor-summary">returns versions within the version breakpoints 1-9, 10-26 and 27-40</p>
  868. <code class="phpdocumentor-code phpdocumentor-signature ">
  869. <span class="phpdocumentor-signature__visibility">public</span>
  870. <span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">versionBreakpointProvider</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span></code>
  871. <div class="phpdocumentor-label-line">
  872. </div>
  873. <section>
  874. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  875. <span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
  876. </section>
  877. </article>
  878. <article
  879. class="phpdocumentor-element
  880. -method
  881. -protected
  882. -static "
  883. >
  884. <h4 class="phpdocumentor-element__name" id="method_getDataModeInterface">
  885. getDataModeInterface()
  886. <a href="classes/chillerlan-QRCodeTest-Data-ByteTest.html#method_getDataModeInterface" class="headerlink"><i class="fas fa-link"></i></a>
  887. </h4>
  888. <aside class="phpdocumentor-element-found-in">
  889. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/ByteTest.php"><a href="files/tests-data-bytetest.html"><abbr title="tests/Data/ByteTest.php">ByteTest.php</abbr></a></abbr>
  890. :
  891. <span class="phpdocumentor-element-found-in__line">23</span>
  892. </aside>
  893. <code class="phpdocumentor-code phpdocumentor-signature ">
  894. <span class="phpdocumentor-signature__visibility">protected</span>
  895. <span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">getDataModeInterface</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$data</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/chillerlan-QRCode-Data-QRDataModeInterface.html"><abbr title="\chillerlan\QRCode\Data\QRDataModeInterface">QRDataModeInterface</abbr></a></span></code>
  896. <div class="phpdocumentor-label-line">
  897. </div>
  898. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  899. <dl class="phpdocumentor-argument-list">
  900. <dt class="phpdocumentor-argument-list__entry">
  901. <span class="phpdocumentor-signature__argument__name">$data</span>
  902. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  903. </dt>
  904. <dd class="phpdocumentor-argument-list__definition">
  905. </dd>
  906. </dl>
  907. <section>
  908. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  909. <span class="phpdocumentor-signature__response_type"><a href="classes/chillerlan-QRCode-Data-QRDataModeInterface.html"><abbr title="\chillerlan\QRCode\Data\QRDataModeInterface">QRDataModeInterface</abbr></a></span>
  910. </section>
  911. </article>
  912. <article
  913. class="phpdocumentor-element
  914. -method
  915. -protected
  916. "
  917. >
  918. <h4 class="phpdocumentor-element__name" id="method_setUp">
  919. setUp()
  920. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_setUp" class="headerlink"><i class="fas fa-link"></i></a>
  921. </h4>
  922. <aside class="phpdocumentor-element-found-in">
  923. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/DataInterfaceTestAbstract.php"><a href="files/tests-data-datainterfacetestabstract.html"><abbr title="tests/Data/DataInterfaceTestAbstract.php">DataInterfaceTestAbstract.php</abbr></a></abbr>
  924. :
  925. <span class="phpdocumentor-element-found-in__line">34</span>
  926. </aside>
  927. <code class="phpdocumentor-code phpdocumentor-signature ">
  928. <span class="phpdocumentor-signature__visibility">protected</span>
  929. <span class="phpdocumentor-signature__name">setUp</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  930. <div class="phpdocumentor-label-line">
  931. </div>
  932. </article>
  933. </section>
  934. <div class="phpdocumentor-modal" id="source-view">
  935. <div class="phpdocumentor-modal-bg" data-exit-button></div>
  936. <div class="phpdocumentor-modal-container">
  937. <div class="phpdocumentor-modal-content">
  938. <pre style="max-height: 500px; overflow-y: scroll" data-src="files/tests/Data/ByteTest.php.txt" class="language-php line-numbers linkable-line-numbers"></pre>
  939. </div>
  940. <button data-exit-button class="phpdocumentor-modal__close">&times;</button>
  941. </div>
  942. </div>
  943. <script type="text/javascript">
  944. (function () {
  945. function loadExternalCodeSnippet(el, url, line) {
  946. Array.prototype.slice.call(el.querySelectorAll('pre[data-src]')).forEach((pre) => {
  947. const src = url || pre.getAttribute('data-src').replace(/\\/g, '/');
  948. const language = 'php';
  949. const code = document.createElement('code');
  950. code.className = 'language-' + language;
  951. pre.textContent = '';
  952. pre.setAttribute('data-line', line)
  953. code.textContent = 'Loading…';
  954. pre.appendChild(code);
  955. var xhr = new XMLHttpRequest();
  956. xhr.open('GET', src, true);
  957. xhr.onreadystatechange = function () {
  958. if (xhr.readyState !== 4) {
  959. return;
  960. }
  961. if (xhr.status < 400 && xhr.responseText) {
  962. code.textContent = xhr.responseText;
  963. Prism.highlightElement(code);
  964. return;
  965. }
  966. if (xhr.status === 404) {
  967. code.textContent = '✖ Error: File could not be found';
  968. return;
  969. }
  970. if (xhr.status >= 400) {
  971. code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
  972. return;
  973. }
  974. code.textContent = '✖ Error: An unknown error occurred';
  975. };
  976. xhr.send(null);
  977. });
  978. }
  979. const modalButtons = document.querySelectorAll("[data-modal]");
  980. const openedAsLocalFile = window.location.protocol === 'file:';
  981. if (modalButtons.length > 0 && openedAsLocalFile) {
  982. console.warn(
  983. 'Viewing the source code is unavailable because you are opening this page from the file:// scheme; ' +
  984. 'browsers block XHR requests when a page is opened this way'
  985. );
  986. }
  987. modalButtons.forEach(function (trigger) {
  988. if (openedAsLocalFile) {
  989. trigger.setAttribute("hidden", "hidden");
  990. }
  991. trigger.addEventListener("click", function (event) {
  992. event.preventDefault();
  993. const modal = document.getElementById(trigger.dataset.modal);
  994. if (!modal) {
  995. console.error(`Modal with id "${trigger.dataset.modal}" could not be found`);
  996. return;
  997. }
  998. modal.classList.add("phpdocumentor-modal__open");
  999. loadExternalCodeSnippet(modal, trigger.dataset.src || null, trigger.dataset.line)
  1000. const exits = modal.querySelectorAll("[data-exit-button]");
  1001. exits.forEach(function (exit) {
  1002. exit.addEventListener("click", function (event) {
  1003. event.preventDefault();
  1004. modal.classList.remove("phpdocumentor-modal__open");
  1005. });
  1006. });
  1007. });
  1008. });
  1009. })();
  1010. </script>
  1011. </article>
  1012. </section>
  1013. <section class="phpdocumentor-on-this-page__sidebar">
  1014. <section class="phpdocumentor-on-this-page__content">
  1015. <strong class="phpdocumentor-on-this-page__title">On this page</strong>
  1016. <ul class="phpdocumentor-list -clean">
  1017. <li class="phpdocumentor-on-this-page-section__title">Table Of Contents</li>
  1018. <li>
  1019. <ul class="phpdocumentor-list -clean">
  1020. <li><a href="classes/chillerlan-QRCodeTest-Data-ByteTest.html#toc-constants">Constants</a></li>
  1021. <li><a href="classes/chillerlan-QRCodeTest-Data-ByteTest.html#toc-properties">Properties</a></li>
  1022. <li><a href="classes/chillerlan-QRCodeTest-Data-ByteTest.html#toc-methods">Methods</a></li>
  1023. </ul>
  1024. </li>
  1025. <li class="phpdocumentor-on-this-page-section__title">Constants</li>
  1026. <li>
  1027. <ul class="phpdocumentor-list -clean">
  1028. <li><a href="classes/chillerlan-QRCodeTest-Data-ByteTest.html#constant_testData">testData</a></li>
  1029. </ul>
  1030. </li>
  1031. <li class="phpdocumentor-on-this-page-section__title">Properties</li>
  1032. <li>
  1033. <ul class="phpdocumentor-list -clean">
  1034. <li><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#property_dataMode">$dataMode<a href="classes/chillerlan-QRCodeTest-Data-ByteTest.html"></li>
  1035. <li><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#property_QRData">$QRData<a href="classes/chillerlan-QRCodeTest-Data-ByteTest.html"></li>
  1036. </ul>
  1037. </li>
  1038. <li class="phpdocumentor-on-this-page-section__title">Methods</li>
  1039. <li>
  1040. <ul class="phpdocumentor-list -clean">
  1041. <li><a href="classes/chillerlan-QRCodeTest-QRMaxLengthTrait.html#method_getMaxLengthForMode">getMaxLengthForMode()</a></li>
  1042. <li><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_maskPatternProvider">maskPatternProvider()</a></li>
  1043. <li><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_maxLengthProvider">maxLengthProvider()</a></li>
  1044. <li><a href="classes/chillerlan-QRCodeTest-Data-ByteTest.html#method_stringValidateProvider">stringValidateProvider()</a></li>
  1045. <li><a href="classes/chillerlan-QRCodeTest-Data-ByteTest.html#method_testBinaryStringInvalid">testBinaryStringInvalid()</a></li>
  1046. <li><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testDecodeSegment">testDecodeSegment()</a></li>
  1047. <li><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testGetMinimumVersion">testGetMinimumVersion()</a></li>
  1048. <li><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testGetMinimumVersionException">testGetMinimumVersionException()</a></li>
  1049. <li><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testInitMatrix">testInitMatrix()</a></li>
  1050. <li><a href="classes/chillerlan-QRCodeTest-Data-ByteTest.html#method_testInvalidDataException">testInvalidDataException()</a></li>
  1051. <li><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testInvalidDataOnEmptyException">testInvalidDataOnEmptyException()</a></li>
  1052. <li><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testMaxLength">testMaxLength()</a></li>
  1053. <li><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testMaxLengthOverflowException">testMaxLengthOverflowException()</a></li>
  1054. <li><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testValidateString">testValidateString()</a></li>
  1055. <li><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_versionBreakpointProvider">versionBreakpointProvider()</a></li>
  1056. <li><a href="classes/chillerlan-QRCodeTest-Data-ByteTest.html#method_getDataModeInterface">getDataModeInterface()</a></li>
  1057. <li><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_setUp">setUp()</a></li>
  1058. </ul>
  1059. </li>
  1060. </ul>
  1061. </section>
  1062. </section>
  1063. </div>
  1064. <section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
  1065. <section class="phpdocumentor-search-results__dialog">
  1066. <header class="phpdocumentor-search-results__header">
  1067. <h2 class="phpdocumentor-search-results__title">Search results</h2>
  1068. <button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
  1069. </header>
  1070. <section class="phpdocumentor-search-results__body">
  1071. <ul class="phpdocumentor-search-results__entries"></ul>
  1072. </section>
  1073. </section>
  1074. </section>
  1075. </div>
  1076. <a href="classes/chillerlan-QRCodeTest-Data-ByteTest.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
  1077. </main>
  1078. <script>
  1079. cssVars({});
  1080. </script>
  1081. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
  1082. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
  1083. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
  1084. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
  1085. </body>
  1086. </html>