chillerlan-QRCodeTest-Data-KanjiTest.html 76 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494
  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. KanjiTest
  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/KanjiTest.php"><a href="files/tests-data-kanjitest.html"><abbr title="tests/Data/KanjiTest.php">KanjiTest.php</abbr></a></abbr>
  127. :
  128. <span class="phpdocumentor-element-found-in__line">23</span>
  129. </aside>
  130. <p class="phpdocumentor-summary">Tests the Kanji class</p>
  131. <h3 id="toc">
  132. Table of Contents
  133. <a href="classes/chillerlan-QRCodeTest-Data-KanjiTest.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-KanjiTest.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-KanjiTest.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-KanjiTest.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-KanjiTest.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-KanjiTest.html#method_kanjiProvider">kanjiProvider()</a>
  175. <span>
  176. &nbsp;: <abbr title="\Generator">Generator</abbr> </span>
  177. </dt>
  178. <dd>lists the valid SJIS kanji</dd>
  179. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  180. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_maskPatternProvider">maskPatternProvider()</a>
  181. <span>
  182. &nbsp;: array&lt;string|int, array&lt;string|int, int&gt;&gt; </span>
  183. </dt>
  184. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  185. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_maxLengthProvider">maxLengthProvider()</a>
  186. <span>
  187. &nbsp;: <abbr title="\Generator">Generator</abbr> </span>
  188. </dt>
  189. <dd>Generates test data for each data mode:</dd>
  190. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  191. <a href="classes/chillerlan-QRCodeTest-Data-KanjiTest.html#method_stringValidateProvider">stringValidateProvider()</a>
  192. <span>
  193. &nbsp;: array&lt;string|int, mixed&gt; </span>
  194. </dt>
  195. <dd>isKanji() should pass on Kanji/SJIS characters and fail on everything else</dd>
  196. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  197. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testBinaryStringInvalid">testBinaryStringInvalid()</a>
  198. <span>
  199. &nbsp;: void </span>
  200. </dt>
  201. <dd>Tests if a random binary string is properly validated as false</dd>
  202. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  203. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testDecodeSegment">testDecodeSegment()</a>
  204. <span>
  205. &nbsp;: void </span>
  206. </dt>
  207. <dd>Tests decoding a data segment from a given BitBuffer</dd>
  208. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  209. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testGetMinimumVersion">testGetMinimumVersion()</a>
  210. <span>
  211. &nbsp;: void </span>
  212. </dt>
  213. <dd>Tests getting the minimum QR version for the given data</dd>
  214. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  215. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testGetMinimumVersionException">testGetMinimumVersionException()</a>
  216. <span>
  217. &nbsp;: void </span>
  218. </dt>
  219. <dd>Tests if an exception is thrown when the data exceeds the maximum version while auto-detecting</dd>
  220. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  221. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testInitMatrix">testInitMatrix()</a>
  222. <span>
  223. &nbsp;: void </span>
  224. </dt>
  225. <dd>Tests initializing the data matrix</dd>
  226. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  227. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testInvalidDataException">testInvalidDataException()</a>
  228. <span>
  229. &nbsp;: void </span>
  230. </dt>
  231. <dd>Tests if an exception is thrown when an invalid character is encountered</dd>
  232. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  233. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testInvalidDataOnEmptyException">testInvalidDataOnEmptyException()</a>
  234. <span>
  235. &nbsp;: void </span>
  236. </dt>
  237. <dd>Tests if an exception is thrown if the given string is empty</dd>
  238. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  239. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testMaxLength">testMaxLength()</a>
  240. <span>
  241. &nbsp;: void </span>
  242. </dt>
  243. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  244. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testMaxLengthOverflowException">testMaxLengthOverflowException()</a>
  245. <span>
  246. &nbsp;: void </span>
  247. </dt>
  248. <dd>Tests if an exception is thrown on data overflow</dd>
  249. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  250. <a href="classes/chillerlan-QRCodeTest-Data-KanjiTest.html#method_testValidateSJIS">testValidateSJIS()</a>
  251. <span>
  252. &nbsp;: void </span>
  253. </dt>
  254. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  255. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testValidateString">testValidateString()</a>
  256. <span>
  257. &nbsp;: void </span>
  258. </dt>
  259. <dd>Tests if a string is properly validated for the respective data mode</dd>
  260. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  261. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_versionBreakpointProvider">versionBreakpointProvider()</a>
  262. <span>
  263. &nbsp;: array&lt;string|int, mixed&gt; </span>
  264. </dt>
  265. <dd>returns versions within the version breakpoints 1-9, 10-26 and 27-40</dd>
  266. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  267. <a href="classes/chillerlan-QRCodeTest-Data-KanjiTest.html#method_getDataModeInterface">getDataModeInterface()</a>
  268. <span>
  269. &nbsp;: <a href="classes/chillerlan-QRCode-Data-QRDataModeInterface.html"><abbr title="\chillerlan\QRCode\Data\QRDataModeInterface">QRDataModeInterface</abbr></a> </span>
  270. </dt>
  271. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  272. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_setUp">setUp()</a>
  273. <span>
  274. &nbsp;: void </span>
  275. </dt>
  276. </dl>
  277. <section class="phpdocumentor-constants">
  278. <h3 class="phpdocumentor-elements__header" id="constants">
  279. Constants
  280. <a href="classes/chillerlan-QRCodeTest-Data-KanjiTest.html#constants" class="headerlink"><i class="fas fa-link"></i></a>
  281. </h3>
  282. <article class="phpdocumentor-element -constant -protected ">
  283. <h4 class="phpdocumentor-element__name" id="constant_testData">
  284. testData
  285. <a href="classes/chillerlan-QRCodeTest-Data-KanjiTest.html#constant_testData" class="headerlink"><i class="fas fa-link"></i></a>
  286. </h4>
  287. <aside class="phpdocumentor-element-found-in">
  288. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/KanjiTest.php"><a href="files/tests-data-kanjitest.html"><abbr title="tests/Data/KanjiTest.php">KanjiTest.php</abbr></a></abbr>
  289. :
  290. <span class="phpdocumentor-element-found-in__line">25</span>
  291. </aside>
  292. <code class="phpdocumentor-signature phpdocumentor-code ">
  293. <span class="phpdocumentor-signature__visibility">protected</span>
  294. <span class="phpdocumentor-signature__type">mixed</span>
  295. <span class="phpdocumentor-signature__name">testData</span>
  296. = <span class="phpdocumentor-signature__default-value">&#039;漂う花の香り&#039;</span>
  297. </code>
  298. </article>
  299. </section>
  300. <section class="phpdocumentor-properties">
  301. <h3 class="phpdocumentor-elements__header" id="properties">
  302. Properties
  303. <a href="classes/chillerlan-QRCodeTest-Data-KanjiTest.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
  304. </h3>
  305. <article
  306. class="
  307. phpdocumentor-element
  308. -property
  309. -protected
  310. "
  311. >
  312. <h4 class="phpdocumentor-element__name" id="property_dataMode">
  313. $dataMode
  314. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#property_dataMode" class="headerlink"><i class="fas fa-link"></i></a>
  315. <span class="phpdocumentor-element__modifiers">
  316. </span>
  317. </h4>
  318. <aside class="phpdocumentor-element-found-in">
  319. <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>
  320. :
  321. <span class="phpdocumentor-element-found-in__line">30</span>
  322. </aside>
  323. <code class="phpdocumentor-code phpdocumentor-signature ">
  324. <span class="phpdocumentor-signature__visibility">protected</span>
  325. <span class="phpdocumentor-signature__type"><a href="classes/chillerlan-QRCode-Data-QRDataModeInterface.html"><abbr title="\chillerlan\QRCode\Data\QRDataModeInterface">QRDataModeInterface</abbr></a></span>
  326. <span class="phpdocumentor-signature__name">$dataMode</span>
  327. </code>
  328. </article>
  329. <article
  330. class="
  331. phpdocumentor-element
  332. -property
  333. -protected
  334. "
  335. >
  336. <h4 class="phpdocumentor-element__name" id="property_QRData">
  337. $QRData
  338. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#property_QRData" class="headerlink"><i class="fas fa-link"></i></a>
  339. <span class="phpdocumentor-element__modifiers">
  340. </span>
  341. </h4>
  342. <aside class="phpdocumentor-element-found-in">
  343. <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>
  344. :
  345. <span class="phpdocumentor-element-found-in__line">29</span>
  346. </aside>
  347. <code class="phpdocumentor-code phpdocumentor-signature ">
  348. <span class="phpdocumentor-signature__visibility">protected</span>
  349. <span class="phpdocumentor-signature__type"><a href="classes/chillerlan-QRCode-Data-QRData.html"><abbr title="\chillerlan\QRCode\Data\QRData">QRData</abbr></a></span>
  350. <span class="phpdocumentor-signature__name">$QRData</span>
  351. </code>
  352. </article>
  353. </section>
  354. <section class="phpdocumentor-methods">
  355. <h3 class="phpdocumentor-elements__header" id="methods">
  356. Methods
  357. <a href="classes/chillerlan-QRCodeTest-Data-KanjiTest.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
  358. </h3>
  359. <article
  360. class="phpdocumentor-element
  361. -method
  362. -public
  363. -static "
  364. >
  365. <h4 class="phpdocumentor-element__name" id="method_getMaxLengthForMode">
  366. getMaxLengthForMode()
  367. <a href="classes/chillerlan-QRCodeTest-QRMaxLengthTrait.html#method_getMaxLengthForMode" class="headerlink"><i class="fas fa-link"></i></a>
  368. </h4>
  369. <aside class="phpdocumentor-element-found-in">
  370. <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>
  371. :
  372. <span class="phpdocumentor-element-found-in__line">79</span>
  373. </aside>
  374. <p class="phpdocumentor-summary">the maximum character count for the given $mode and $eccLevel</p>
  375. <code class="phpdocumentor-code phpdocumentor-signature ">
  376. <span class="phpdocumentor-signature__visibility">public</span>
  377. <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>
  378. <div class="phpdocumentor-label-line">
  379. </div>
  380. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  381. <dl class="phpdocumentor-argument-list">
  382. <dt class="phpdocumentor-argument-list__entry">
  383. <span class="phpdocumentor-signature__argument__name">$mode</span>
  384. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  385. </dt>
  386. <dd class="phpdocumentor-argument-list__definition">
  387. </dd>
  388. <dt class="phpdocumentor-argument-list__entry">
  389. <span class="phpdocumentor-signature__argument__name">$version</span>
  390. : <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>
  391. </dt>
  392. <dd class="phpdocumentor-argument-list__definition">
  393. </dd>
  394. <dt class="phpdocumentor-argument-list__entry">
  395. <span class="phpdocumentor-signature__argument__name">$eccLevel</span>
  396. : <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>
  397. </dt>
  398. <dd class="phpdocumentor-argument-list__definition">
  399. </dd>
  400. </dl>
  401. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  402. Tags
  403. <a href="classes/chillerlan-QRCodeTest-QRMaxLengthTrait.html#method_getMaxLengthForMode#tags" class="headerlink"><i class="fas fa-link"></i></a>
  404. </h5>
  405. <dl class="phpdocumentor-tag-list">
  406. <dt class="phpdocumentor-tag-list__entry">
  407. <span class="phpdocumentor-tag__name">throws</span>
  408. </dt>
  409. <dd class="phpdocumentor-tag-list__definition">
  410. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-QRCodeException.html"><abbr title="\chillerlan\QRCode\QRCodeException">QRCodeException</abbr></a></span>
  411. </dd>
  412. <dt class="phpdocumentor-tag-list__entry">
  413. <span class="phpdocumentor-tag__name">codeCoverageIgnore</span>
  414. </dt>
  415. <dd class="phpdocumentor-tag-list__definition">
  416. </dd>
  417. </dl>
  418. <section>
  419. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  420. <span class="phpdocumentor-signature__response_type">int</span>
  421. </section>
  422. </article>
  423. <article
  424. class="phpdocumentor-element
  425. -method
  426. -public
  427. -static "
  428. >
  429. <h4 class="phpdocumentor-element__name" id="method_kanjiProvider">
  430. kanjiProvider()
  431. <a href="classes/chillerlan-QRCodeTest-Data-KanjiTest.html#method_kanjiProvider" class="headerlink"><i class="fas fa-link"></i></a>
  432. </h4>
  433. <aside class="phpdocumentor-element-found-in">
  434. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/KanjiTest.php"><a href="files/tests-data-kanjitest.html"><abbr title="tests/Data/KanjiTest.php">KanjiTest.php</abbr></a></abbr>
  435. :
  436. <span class="phpdocumentor-element-found-in__line">48</span>
  437. </aside>
  438. <p class="phpdocumentor-summary">lists the valid SJIS kanji</p>
  439. <code class="phpdocumentor-code phpdocumentor-signature ">
  440. <span class="phpdocumentor-signature__visibility">public</span>
  441. <span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">kanjiProvider</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><abbr title="\Generator">Generator</abbr></span></code>
  442. <div class="phpdocumentor-label-line">
  443. </div>
  444. <section>
  445. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  446. <span class="phpdocumentor-signature__response_type"><abbr title="\Generator">Generator</abbr></span>
  447. </section>
  448. </article>
  449. <article
  450. class="phpdocumentor-element
  451. -method
  452. -public
  453. -static "
  454. >
  455. <h4 class="phpdocumentor-element__name" id="method_maskPatternProvider">
  456. maskPatternProvider()
  457. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_maskPatternProvider" class="headerlink"><i class="fas fa-link"></i></a>
  458. </h4>
  459. <aside class="phpdocumentor-element-found-in">
  460. <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>
  461. :
  462. <span class="phpdocumentor-element-found-in__line">44</span>
  463. </aside>
  464. <code class="phpdocumentor-code phpdocumentor-signature ">
  465. <span class="phpdocumentor-signature__visibility">public</span>
  466. <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>
  467. <div class="phpdocumentor-label-line">
  468. </div>
  469. <section>
  470. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  471. <span class="phpdocumentor-signature__response_type">array&lt;string|int, array&lt;string|int, int&gt;&gt;</span>
  472. </section>
  473. </article>
  474. <article
  475. class="phpdocumentor-element
  476. -method
  477. -public
  478. -static "
  479. >
  480. <h4 class="phpdocumentor-element__name" id="method_maxLengthProvider">
  481. maxLengthProvider()
  482. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_maxLengthProvider" class="headerlink"><i class="fas fa-link"></i></a>
  483. </h4>
  484. <aside class="phpdocumentor-element-found-in">
  485. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/DataInterfaceTestAbstract.php"><a href="files/tests-data-datainterfacetestabstract.html"><abbr title="tests/Data/DataInterfaceTestAbstract.php">DataInterfaceTestAbstract.php</abbr></a></abbr>
  486. :
  487. <span class="phpdocumentor-element-found-in__line">118</span>
  488. </aside>
  489. <p class="phpdocumentor-summary">Generates test data for each data mode:</p>
  490. <code class="phpdocumentor-code phpdocumentor-signature ">
  491. <span class="phpdocumentor-signature__visibility">public</span>
  492. <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>
  493. <div class="phpdocumentor-label-line">
  494. </div>
  495. <section class="phpdocumentor-description"><ul>
  496. <li>version</li>
  497. <li>ECC level</li>
  498. <li>a string that contains the maximum amount of characters for the given mode</li>
  499. <li>a string that contains characters for the given mode and that exceeds the maximum length by one/two character(s)</li>
  500. <li>the maximum allowed character length</li>
  501. </ul>
  502. </section>
  503. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  504. Tags
  505. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_maxLengthProvider#tags" class="headerlink"><i class="fas fa-link"></i></a>
  506. </h5>
  507. <dl class="phpdocumentor-tag-list">
  508. <dt class="phpdocumentor-tag-list__entry">
  509. <span class="phpdocumentor-tag__name">throws</span>
  510. </dt>
  511. <dd class="phpdocumentor-tag-list__definition">
  512. <span class="phpdocumentor-tag-link"><abbr title="\Exception">Exception</abbr></span>
  513. </dd>
  514. </dl>
  515. <section>
  516. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  517. <span class="phpdocumentor-signature__response_type"><abbr title="\Generator">Generator</abbr></span>
  518. </section>
  519. </article>
  520. <article
  521. class="phpdocumentor-element
  522. -method
  523. -public
  524. -static "
  525. >
  526. <h4 class="phpdocumentor-element__name" id="method_stringValidateProvider">
  527. stringValidateProvider()
  528. <a href="classes/chillerlan-QRCodeTest-Data-KanjiTest.html#method_stringValidateProvider" class="headerlink"><i class="fas fa-link"></i></a>
  529. </h4>
  530. <aside class="phpdocumentor-element-found-in">
  531. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/KanjiTest.php"><a href="files/tests-data-kanjitest.html"><abbr title="tests/Data/KanjiTest.php">KanjiTest.php</abbr></a></abbr>
  532. :
  533. <span class="phpdocumentor-element-found-in__line">34</span>
  534. </aside>
  535. <p class="phpdocumentor-summary">isKanji() should pass on Kanji/SJIS characters and fail on everything else</p>
  536. <code class="phpdocumentor-code phpdocumentor-signature ">
  537. <span class="phpdocumentor-signature__visibility">public</span>
  538. <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>
  539. <div class="phpdocumentor-label-line">
  540. </div>
  541. <section>
  542. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  543. <span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
  544. </section>
  545. </article>
  546. <article
  547. class="phpdocumentor-element
  548. -method
  549. -public
  550. "
  551. >
  552. <h4 class="phpdocumentor-element__name" id="method_testBinaryStringInvalid">
  553. testBinaryStringInvalid()
  554. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testBinaryStringInvalid" class="headerlink"><i class="fas fa-link"></i></a>
  555. </h4>
  556. <aside class="phpdocumentor-element-found-in">
  557. <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>
  558. :
  559. <span class="phpdocumentor-element-found-in__line">78</span>
  560. </aside>
  561. <p class="phpdocumentor-summary">Tests if a random binary string is properly validated as false</p>
  562. <code class="phpdocumentor-code phpdocumentor-signature ">
  563. <span class="phpdocumentor-signature__visibility">public</span>
  564. <span class="phpdocumentor-signature__name">testBinaryStringInvalid</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  565. <div class="phpdocumentor-label-line">
  566. </div>
  567. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  568. Tags
  569. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testBinaryStringInvalid#tags" class="headerlink"><i class="fas fa-link"></i></a>
  570. </h5>
  571. <dl class="phpdocumentor-tag-list">
  572. <dt class="phpdocumentor-tag-list__entry">
  573. <span class="phpdocumentor-tag__name">see</span>
  574. </dt>
  575. <dd class="phpdocumentor-tag-list__definition">
  576. <span class="phpdocumentor-tag-link"><a href="https://github.com/chillerlan/php-qrcode/issues/182">https://github.com/chillerlan/php-qrcode/issues/182</a></span>
  577. </dd>
  578. </dl>
  579. </article>
  580. <article
  581. class="phpdocumentor-element
  582. -method
  583. -public
  584. "
  585. >
  586. <h4 class="phpdocumentor-element__name" id="method_testDecodeSegment">
  587. testDecodeSegment()
  588. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testDecodeSegment" class="headerlink"><i class="fas fa-link"></i></a>
  589. </h4>
  590. <aside class="phpdocumentor-element-found-in">
  591. <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>
  592. :
  593. <span class="phpdocumentor-element-found-in__line">92</span>
  594. </aside>
  595. <p class="phpdocumentor-summary">Tests decoding a data segment from a given BitBuffer</p>
  596. <code class="phpdocumentor-code phpdocumentor-signature ">
  597. <span class="phpdocumentor-signature__visibility">public</span>
  598. <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>
  599. <div class="phpdocumentor-label-line">
  600. </div>
  601. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  602. <dl class="phpdocumentor-argument-list">
  603. <dt class="phpdocumentor-argument-list__entry">
  604. <span class="phpdocumentor-signature__argument__name">$version</span>
  605. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  606. </dt>
  607. <dd class="phpdocumentor-argument-list__definition">
  608. </dd>
  609. </dl>
  610. </article>
  611. <article
  612. class="phpdocumentor-element
  613. -method
  614. -public
  615. "
  616. >
  617. <h4 class="phpdocumentor-element__name" id="method_testGetMinimumVersion">
  618. testGetMinimumVersion()
  619. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testGetMinimumVersion" class="headerlink"><i class="fas fa-link"></i></a>
  620. </h4>
  621. <aside class="phpdocumentor-element-found-in">
  622. <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>
  623. :
  624. <span class="phpdocumentor-element-found-in__line">167</span>
  625. </aside>
  626. <p class="phpdocumentor-summary">Tests getting the minimum QR version for the given data</p>
  627. <code class="phpdocumentor-code phpdocumentor-signature ">
  628. <span class="phpdocumentor-signature__visibility">public</span>
  629. <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>
  630. <div class="phpdocumentor-label-line">
  631. </div>
  632. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  633. <dl class="phpdocumentor-argument-list">
  634. <dt class="phpdocumentor-argument-list__entry">
  635. <span class="phpdocumentor-signature__argument__name">$version</span>
  636. : <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>
  637. </dt>
  638. <dd class="phpdocumentor-argument-list__definition">
  639. </dd>
  640. <dt class="phpdocumentor-argument-list__entry">
  641. <span class="phpdocumentor-signature__argument__name">$eccLevel</span>
  642. : <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>
  643. </dt>
  644. <dd class="phpdocumentor-argument-list__definition">
  645. </dd>
  646. <dt class="phpdocumentor-argument-list__entry">
  647. <span class="phpdocumentor-signature__argument__name">$str</span>
  648. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  649. </dt>
  650. <dd class="phpdocumentor-argument-list__definition">
  651. </dd>
  652. </dl>
  653. </article>
  654. <article
  655. class="phpdocumentor-element
  656. -method
  657. -public
  658. "
  659. >
  660. <h4 class="phpdocumentor-element__name" id="method_testGetMinimumVersionException">
  661. testGetMinimumVersionException()
  662. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testGetMinimumVersionException" class="headerlink"><i class="fas fa-link"></i></a>
  663. </h4>
  664. <aside class="phpdocumentor-element-found-in">
  665. <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>
  666. :
  667. <span class="phpdocumentor-element-found-in__line">213</span>
  668. </aside>
  669. <p class="phpdocumentor-summary">Tests if an exception is thrown when the data exceeds the maximum version while auto-detecting</p>
  670. <code class="phpdocumentor-code phpdocumentor-signature ">
  671. <span class="phpdocumentor-signature__visibility">public</span>
  672. <span class="phpdocumentor-signature__name">testGetMinimumVersionException</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  673. <div class="phpdocumentor-label-line">
  674. </div>
  675. </article>
  676. <article
  677. class="phpdocumentor-element
  678. -method
  679. -public
  680. "
  681. >
  682. <h4 class="phpdocumentor-element__name" id="method_testInitMatrix">
  683. testInitMatrix()
  684. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testInitMatrix" class="headerlink"><i class="fas fa-link"></i></a>
  685. </h4>
  686. <aside class="phpdocumentor-element-found-in">
  687. <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>
  688. :
  689. <span class="phpdocumentor-element-found-in__line">51</span>
  690. </aside>
  691. <p class="phpdocumentor-summary">Tests initializing the data matrix</p>
  692. <code class="phpdocumentor-code phpdocumentor-signature ">
  693. <span class="phpdocumentor-signature__visibility">public</span>
  694. <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>
  695. <div class="phpdocumentor-label-line">
  696. </div>
  697. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  698. <dl class="phpdocumentor-argument-list">
  699. <dt class="phpdocumentor-argument-list__entry">
  700. <span class="phpdocumentor-signature__argument__name">$pattern</span>
  701. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  702. </dt>
  703. <dd class="phpdocumentor-argument-list__definition">
  704. </dd>
  705. </dl>
  706. </article>
  707. <article
  708. class="phpdocumentor-element
  709. -method
  710. -public
  711. "
  712. >
  713. <h4 class="phpdocumentor-element__name" id="method_testInvalidDataException">
  714. testInvalidDataException()
  715. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testInvalidDataException" class="headerlink"><i class="fas fa-link"></i></a>
  716. </h4>
  717. <aside class="phpdocumentor-element-found-in">
  718. <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>
  719. :
  720. <span class="phpdocumentor-element-found-in__line">223</span>
  721. </aside>
  722. <p class="phpdocumentor-summary">Tests if an exception is thrown when an invalid character is encountered</p>
  723. <code class="phpdocumentor-code phpdocumentor-signature ">
  724. <span class="phpdocumentor-signature__visibility">public</span>
  725. <span class="phpdocumentor-signature__name">testInvalidDataException</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  726. <div class="phpdocumentor-label-line">
  727. </div>
  728. </article>
  729. <article
  730. class="phpdocumentor-element
  731. -method
  732. -public
  733. "
  734. >
  735. <h4 class="phpdocumentor-element__name" id="method_testInvalidDataOnEmptyException">
  736. testInvalidDataOnEmptyException()
  737. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testInvalidDataOnEmptyException" class="headerlink"><i class="fas fa-link"></i></a>
  738. </h4>
  739. <aside class="phpdocumentor-element-found-in">
  740. <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>
  741. :
  742. <span class="phpdocumentor-element-found-in__line">233</span>
  743. </aside>
  744. <p class="phpdocumentor-summary">Tests if an exception is thrown if the given string is empty</p>
  745. <code class="phpdocumentor-code phpdocumentor-signature ">
  746. <span class="phpdocumentor-signature__visibility">public</span>
  747. <span class="phpdocumentor-signature__name">testInvalidDataOnEmptyException</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  748. <div class="phpdocumentor-label-line">
  749. </div>
  750. </article>
  751. <article
  752. class="phpdocumentor-element
  753. -method
  754. -public
  755. "
  756. >
  757. <h4 class="phpdocumentor-element__name" id="method_testMaxLength">
  758. testMaxLength()
  759. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testMaxLength" class="headerlink"><i class="fas fa-link"></i></a>
  760. </h4>
  761. <aside class="phpdocumentor-element-found-in">
  762. <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>
  763. :
  764. <span class="phpdocumentor-element-found-in__line">149</span>
  765. </aside>
  766. <code class="phpdocumentor-code phpdocumentor-signature ">
  767. <span class="phpdocumentor-signature__visibility">public</span>
  768. <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>
  769. <div class="phpdocumentor-label-line">
  770. </div>
  771. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  772. <dl class="phpdocumentor-argument-list">
  773. <dt class="phpdocumentor-argument-list__entry">
  774. <span class="phpdocumentor-signature__argument__name">$version</span>
  775. : <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>
  776. </dt>
  777. <dd class="phpdocumentor-argument-list__definition">
  778. </dd>
  779. <dt class="phpdocumentor-argument-list__entry">
  780. <span class="phpdocumentor-signature__argument__name">$eccLevel</span>
  781. : <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>
  782. </dt>
  783. <dd class="phpdocumentor-argument-list__definition">
  784. </dd>
  785. <dt class="phpdocumentor-argument-list__entry">
  786. <span class="phpdocumentor-signature__argument__name">$str</span>
  787. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  788. </dt>
  789. <dd class="phpdocumentor-argument-list__definition">
  790. </dd>
  791. </dl>
  792. </article>
  793. <article
  794. class="phpdocumentor-element
  795. -method
  796. -public
  797. "
  798. >
  799. <h4 class="phpdocumentor-element__name" id="method_testMaxLengthOverflowException">
  800. testMaxLengthOverflowException()
  801. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testMaxLengthOverflowException" class="headerlink"><i class="fas fa-link"></i></a>
  802. </h4>
  803. <aside class="phpdocumentor-element-found-in">
  804. <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>
  805. :
  806. <span class="phpdocumentor-element-found-in__line">197</span>
  807. </aside>
  808. <p class="phpdocumentor-summary">Tests if an exception is thrown on data overflow</p>
  809. <code class="phpdocumentor-code phpdocumentor-signature ">
  810. <span class="phpdocumentor-signature__visibility">public</span>
  811. <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>
  812. <div class="phpdocumentor-label-line">
  813. </div>
  814. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  815. <dl class="phpdocumentor-argument-list">
  816. <dt class="phpdocumentor-argument-list__entry">
  817. <span class="phpdocumentor-signature__argument__name">$version</span>
  818. : <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>
  819. </dt>
  820. <dd class="phpdocumentor-argument-list__definition">
  821. </dd>
  822. <dt class="phpdocumentor-argument-list__entry">
  823. <span class="phpdocumentor-signature__argument__name">$eccLevel</span>
  824. : <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>
  825. </dt>
  826. <dd class="phpdocumentor-argument-list__definition">
  827. </dd>
  828. <dt class="phpdocumentor-argument-list__entry">
  829. <span class="phpdocumentor-signature__argument__name">$str</span>
  830. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  831. </dt>
  832. <dd class="phpdocumentor-argument-list__definition">
  833. </dd>
  834. <dt class="phpdocumentor-argument-list__entry">
  835. <span class="phpdocumentor-signature__argument__name">$str1</span>
  836. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  837. </dt>
  838. <dd class="phpdocumentor-argument-list__definition">
  839. </dd>
  840. </dl>
  841. </article>
  842. <article
  843. class="phpdocumentor-element
  844. -method
  845. -public
  846. "
  847. >
  848. <h4 class="phpdocumentor-element__name" id="method_testValidateSJIS">
  849. testValidateSJIS()
  850. <a href="classes/chillerlan-QRCodeTest-Data-KanjiTest.html#method_testValidateSJIS" class="headerlink"><i class="fas fa-link"></i></a>
  851. </h4>
  852. <aside class="phpdocumentor-element-found-in">
  853. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/KanjiTest.php"><a href="files/tests-data-kanjitest.html"><abbr title="tests/Data/KanjiTest.php">KanjiTest.php</abbr></a></abbr>
  854. :
  855. <span class="phpdocumentor-element-found-in__line">97</span>
  856. </aside>
  857. <code class="phpdocumentor-code phpdocumentor-signature ">
  858. <span class="phpdocumentor-signature__visibility">public</span>
  859. <span class="phpdocumentor-signature__name">testValidateSJIS</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$chr</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  860. <div class="phpdocumentor-label-line">
  861. </div>
  862. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  863. <dl class="phpdocumentor-argument-list">
  864. <dt class="phpdocumentor-argument-list__entry">
  865. <span class="phpdocumentor-signature__argument__name">$chr</span>
  866. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  867. </dt>
  868. <dd class="phpdocumentor-argument-list__definition">
  869. </dd>
  870. </dl>
  871. </article>
  872. <article
  873. class="phpdocumentor-element
  874. -method
  875. -public
  876. "
  877. >
  878. <h4 class="phpdocumentor-element__name" id="method_testValidateString">
  879. testValidateString()
  880. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testValidateString" class="headerlink"><i class="fas fa-link"></i></a>
  881. </h4>
  882. <aside class="phpdocumentor-element-found-in">
  883. <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>
  884. :
  885. <span class="phpdocumentor-element-found-in__line">68</span>
  886. </aside>
  887. <p class="phpdocumentor-summary">Tests if a string is properly validated for the respective data mode</p>
  888. <code class="phpdocumentor-code phpdocumentor-signature ">
  889. <span class="phpdocumentor-signature__visibility">public</span>
  890. <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>
  891. <div class="phpdocumentor-label-line">
  892. </div>
  893. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  894. <dl class="phpdocumentor-argument-list">
  895. <dt class="phpdocumentor-argument-list__entry">
  896. <span class="phpdocumentor-signature__argument__name">$string</span>
  897. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  898. </dt>
  899. <dd class="phpdocumentor-argument-list__definition">
  900. </dd>
  901. <dt class="phpdocumentor-argument-list__entry">
  902. <span class="phpdocumentor-signature__argument__name">$expected</span>
  903. : <span class="phpdocumentor-signature__argument__return-type">bool</span>
  904. </dt>
  905. <dd class="phpdocumentor-argument-list__definition">
  906. </dd>
  907. </dl>
  908. </article>
  909. <article
  910. class="phpdocumentor-element
  911. -method
  912. -public
  913. -static "
  914. >
  915. <h4 class="phpdocumentor-element__name" id="method_versionBreakpointProvider">
  916. versionBreakpointProvider()
  917. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_versionBreakpointProvider" class="headerlink"><i class="fas fa-link"></i></a>
  918. </h4>
  919. <aside class="phpdocumentor-element-found-in">
  920. <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>
  921. :
  922. <span class="phpdocumentor-element-found-in__line">85</span>
  923. </aside>
  924. <p class="phpdocumentor-summary">returns versions within the version breakpoints 1-9, 10-26 and 27-40</p>
  925. <code class="phpdocumentor-code phpdocumentor-signature ">
  926. <span class="phpdocumentor-signature__visibility">public</span>
  927. <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>
  928. <div class="phpdocumentor-label-line">
  929. </div>
  930. <section>
  931. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  932. <span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
  933. </section>
  934. </article>
  935. <article
  936. class="phpdocumentor-element
  937. -method
  938. -protected
  939. -static "
  940. >
  941. <h4 class="phpdocumentor-element__name" id="method_getDataModeInterface">
  942. getDataModeInterface()
  943. <a href="classes/chillerlan-QRCodeTest-Data-KanjiTest.html#method_getDataModeInterface" class="headerlink"><i class="fas fa-link"></i></a>
  944. </h4>
  945. <aside class="phpdocumentor-element-found-in">
  946. <abbr class="phpdocumentor-element-found-in__file" title="tests/Data/KanjiTest.php"><a href="files/tests-data-kanjitest.html"><abbr title="tests/Data/KanjiTest.php">KanjiTest.php</abbr></a></abbr>
  947. :
  948. <span class="phpdocumentor-element-found-in__line">27</span>
  949. </aside>
  950. <code class="phpdocumentor-code phpdocumentor-signature ">
  951. <span class="phpdocumentor-signature__visibility">protected</span>
  952. <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>
  953. <div class="phpdocumentor-label-line">
  954. </div>
  955. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  956. <dl class="phpdocumentor-argument-list">
  957. <dt class="phpdocumentor-argument-list__entry">
  958. <span class="phpdocumentor-signature__argument__name">$data</span>
  959. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  960. </dt>
  961. <dd class="phpdocumentor-argument-list__definition">
  962. </dd>
  963. </dl>
  964. <section>
  965. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  966. <span class="phpdocumentor-signature__response_type"><a href="classes/chillerlan-QRCode-Data-QRDataModeInterface.html"><abbr title="\chillerlan\QRCode\Data\QRDataModeInterface">QRDataModeInterface</abbr></a></span>
  967. </section>
  968. </article>
  969. <article
  970. class="phpdocumentor-element
  971. -method
  972. -protected
  973. "
  974. >
  975. <h4 class="phpdocumentor-element__name" id="method_setUp">
  976. setUp()
  977. <a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_setUp" class="headerlink"><i class="fas fa-link"></i></a>
  978. </h4>
  979. <aside class="phpdocumentor-element-found-in">
  980. <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>
  981. :
  982. <span class="phpdocumentor-element-found-in__line">34</span>
  983. </aside>
  984. <code class="phpdocumentor-code phpdocumentor-signature ">
  985. <span class="phpdocumentor-signature__visibility">protected</span>
  986. <span class="phpdocumentor-signature__name">setUp</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
  987. <div class="phpdocumentor-label-line">
  988. </div>
  989. </article>
  990. </section>
  991. <div class="phpdocumentor-modal" id="source-view">
  992. <div class="phpdocumentor-modal-bg" data-exit-button></div>
  993. <div class="phpdocumentor-modal-container">
  994. <div class="phpdocumentor-modal-content">
  995. <pre style="max-height: 500px; overflow-y: scroll" data-src="files/tests/Data/KanjiTest.php.txt" class="language-php line-numbers linkable-line-numbers"></pre>
  996. </div>
  997. <button data-exit-button class="phpdocumentor-modal__close">&times;</button>
  998. </div>
  999. </div>
  1000. <script type="text/javascript">
  1001. (function () {
  1002. function loadExternalCodeSnippet(el, url, line) {
  1003. Array.prototype.slice.call(el.querySelectorAll('pre[data-src]')).forEach((pre) => {
  1004. const src = url || pre.getAttribute('data-src').replace(/\\/g, '/');
  1005. const language = 'php';
  1006. const code = document.createElement('code');
  1007. code.className = 'language-' + language;
  1008. pre.textContent = '';
  1009. pre.setAttribute('data-line', line)
  1010. code.textContent = 'Loading…';
  1011. pre.appendChild(code);
  1012. var xhr = new XMLHttpRequest();
  1013. xhr.open('GET', src, true);
  1014. xhr.onreadystatechange = function () {
  1015. if (xhr.readyState !== 4) {
  1016. return;
  1017. }
  1018. if (xhr.status < 400 && xhr.responseText) {
  1019. code.textContent = xhr.responseText;
  1020. Prism.highlightElement(code);
  1021. return;
  1022. }
  1023. if (xhr.status === 404) {
  1024. code.textContent = '✖ Error: File could not be found';
  1025. return;
  1026. }
  1027. if (xhr.status >= 400) {
  1028. code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
  1029. return;
  1030. }
  1031. code.textContent = '✖ Error: An unknown error occurred';
  1032. };
  1033. xhr.send(null);
  1034. });
  1035. }
  1036. const modalButtons = document.querySelectorAll("[data-modal]");
  1037. const openedAsLocalFile = window.location.protocol === 'file:';
  1038. if (modalButtons.length > 0 && openedAsLocalFile) {
  1039. console.warn(
  1040. 'Viewing the source code is unavailable because you are opening this page from the file:// scheme; ' +
  1041. 'browsers block XHR requests when a page is opened this way'
  1042. );
  1043. }
  1044. modalButtons.forEach(function (trigger) {
  1045. if (openedAsLocalFile) {
  1046. trigger.setAttribute("hidden", "hidden");
  1047. }
  1048. trigger.addEventListener("click", function (event) {
  1049. event.preventDefault();
  1050. const modal = document.getElementById(trigger.dataset.modal);
  1051. if (!modal) {
  1052. console.error(`Modal with id "${trigger.dataset.modal}" could not be found`);
  1053. return;
  1054. }
  1055. modal.classList.add("phpdocumentor-modal__open");
  1056. loadExternalCodeSnippet(modal, trigger.dataset.src || null, trigger.dataset.line)
  1057. const exits = modal.querySelectorAll("[data-exit-button]");
  1058. exits.forEach(function (exit) {
  1059. exit.addEventListener("click", function (event) {
  1060. event.preventDefault();
  1061. modal.classList.remove("phpdocumentor-modal__open");
  1062. });
  1063. });
  1064. });
  1065. });
  1066. })();
  1067. </script>
  1068. </article>
  1069. </section>
  1070. <section class="phpdocumentor-on-this-page__sidebar">
  1071. <section class="phpdocumentor-on-this-page__content">
  1072. <strong class="phpdocumentor-on-this-page__title">On this page</strong>
  1073. <ul class="phpdocumentor-list -clean">
  1074. <li class="phpdocumentor-on-this-page-section__title">Table Of Contents</li>
  1075. <li>
  1076. <ul class="phpdocumentor-list -clean">
  1077. <li><a href="classes/chillerlan-QRCodeTest-Data-KanjiTest.html#toc-constants">Constants</a></li>
  1078. <li><a href="classes/chillerlan-QRCodeTest-Data-KanjiTest.html#toc-properties">Properties</a></li>
  1079. <li><a href="classes/chillerlan-QRCodeTest-Data-KanjiTest.html#toc-methods">Methods</a></li>
  1080. </ul>
  1081. </li>
  1082. <li class="phpdocumentor-on-this-page-section__title">Constants</li>
  1083. <li>
  1084. <ul class="phpdocumentor-list -clean">
  1085. <li><a href="classes/chillerlan-QRCodeTest-Data-KanjiTest.html#constant_testData">testData</a></li>
  1086. </ul>
  1087. </li>
  1088. <li class="phpdocumentor-on-this-page-section__title">Properties</li>
  1089. <li>
  1090. <ul class="phpdocumentor-list -clean">
  1091. <li><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#property_dataMode">$dataMode<a href="classes/chillerlan-QRCodeTest-Data-KanjiTest.html"></li>
  1092. <li><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#property_QRData">$QRData<a href="classes/chillerlan-QRCodeTest-Data-KanjiTest.html"></li>
  1093. </ul>
  1094. </li>
  1095. <li class="phpdocumentor-on-this-page-section__title">Methods</li>
  1096. <li>
  1097. <ul class="phpdocumentor-list -clean">
  1098. <li><a href="classes/chillerlan-QRCodeTest-QRMaxLengthTrait.html#method_getMaxLengthForMode">getMaxLengthForMode()</a></li>
  1099. <li><a href="classes/chillerlan-QRCodeTest-Data-KanjiTest.html#method_kanjiProvider">kanjiProvider()</a></li>
  1100. <li><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_maskPatternProvider">maskPatternProvider()</a></li>
  1101. <li><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_maxLengthProvider">maxLengthProvider()</a></li>
  1102. <li><a href="classes/chillerlan-QRCodeTest-Data-KanjiTest.html#method_stringValidateProvider">stringValidateProvider()</a></li>
  1103. <li><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testBinaryStringInvalid">testBinaryStringInvalid()</a></li>
  1104. <li><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testDecodeSegment">testDecodeSegment()</a></li>
  1105. <li><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testGetMinimumVersion">testGetMinimumVersion()</a></li>
  1106. <li><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testGetMinimumVersionException">testGetMinimumVersionException()</a></li>
  1107. <li><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testInitMatrix">testInitMatrix()</a></li>
  1108. <li><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testInvalidDataException">testInvalidDataException()</a></li>
  1109. <li><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testInvalidDataOnEmptyException">testInvalidDataOnEmptyException()</a></li>
  1110. <li><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testMaxLength">testMaxLength()</a></li>
  1111. <li><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testMaxLengthOverflowException">testMaxLengthOverflowException()</a></li>
  1112. <li><a href="classes/chillerlan-QRCodeTest-Data-KanjiTest.html#method_testValidateSJIS">testValidateSJIS()</a></li>
  1113. <li><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_testValidateString">testValidateString()</a></li>
  1114. <li><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_versionBreakpointProvider">versionBreakpointProvider()</a></li>
  1115. <li><a href="classes/chillerlan-QRCodeTest-Data-KanjiTest.html#method_getDataModeInterface">getDataModeInterface()</a></li>
  1116. <li><a href="classes/chillerlan-QRCodeTest-Data-DataInterfaceTestAbstract.html#method_setUp">setUp()</a></li>
  1117. </ul>
  1118. </li>
  1119. </ul>
  1120. </section>
  1121. </section>
  1122. </div>
  1123. <section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
  1124. <section class="phpdocumentor-search-results__dialog">
  1125. <header class="phpdocumentor-search-results__header">
  1126. <h2 class="phpdocumentor-search-results__title">Search results</h2>
  1127. <button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
  1128. </header>
  1129. <section class="phpdocumentor-search-results__body">
  1130. <ul class="phpdocumentor-search-results__entries"></ul>
  1131. </section>
  1132. </section>
  1133. </section>
  1134. </div>
  1135. <a href="classes/chillerlan-QRCodeTest-Data-KanjiTest.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
  1136. </main>
  1137. <script>
  1138. cssVars({});
  1139. </script>
  1140. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
  1141. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
  1142. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
  1143. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
  1144. </body>
  1145. </html>