@aj-shadow/actorjs-documentation-text 0.0.0-aj-beta.221

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (160) hide show
  1. package/.gitattributes +26 -0
  2. package/Documentation/Document-global-Be-100-more-efficient.txt +31 -0
  3. package/Documentation/Document-global-actorjs-trigger-mock-and-intercept-anything.txt +21 -0
  4. package/Documentation/Document-global-advanced-visualization.txt +28 -0
  5. package/Documentation/Document-global-debugging.txt +4 -0
  6. package/Documentation/Document-global-divide-and-reuse.txt +37 -0
  7. package/Documentation/Document-global-general-separation.txt +2 -0
  8. package/Documentation/Document-global-markup-anchor.txt +6 -0
  9. package/Documentation/Document-global-markup-api-status.txt +39 -0
  10. package/Documentation/Document-global-markup-chart-line.txt +18 -0
  11. package/Documentation/Document-global-markup-documentation-status.txt +39 -0
  12. package/Documentation/Document-global-markup-documentation.txt +72 -0
  13. package/Documentation/Document-global-markup-embed.txt +6 -0
  14. package/Documentation/Document-global-markup-flowchart.txt +88 -0
  15. package/Documentation/Document-global-markup-html.txt +122 -0
  16. package/Documentation/Document-global-markup-ie.txt +18 -0
  17. package/Documentation/Document-global-markup-image.txt +55 -0
  18. package/Documentation/Document-global-markup-lab.txt +63 -0
  19. package/Documentation/Document-global-markup-markup.txt +21 -0
  20. package/Documentation/Document-global-markup-navigation.txt +25 -0
  21. package/Documentation/Document-global-markup-node-diagram.txt +163 -0
  22. package/Documentation/Document-global-markup-note.txt +6 -0
  23. package/Documentation/Document-global-markup-ref.txt +6 -0
  24. package/Documentation/Document-global-markup-sequence-diagram.txt +215 -0
  25. package/Documentation/Document-global-markup-state-machine.txt +121 -0
  26. package/Documentation/Document-global-markup-table.txt +34 -0
  27. package/Documentation/Document-global-navigation-pane.txt +3 -0
  28. package/Documentation/Document-global-navigation.txt +2 -0
  29. package/Documentation/Document-global-specialized-javascript-editors.txt +2 -0
  30. package/Documentation/Document-global-stacks-connection.txt +2 -0
  31. package/Documentation/Document-global-stacks-server.txt +2 -0
  32. package/Documentation/Document-global-test-environment-overview.txt +15 -0
  33. package/Documentation/Document-global-the-architecture.txt +51 -0
  34. package/Documentation/Document-global-the-development-environment.txt +5 -0
  35. package/Documentation/Document-global-the-test-environment.txt +15 -0
  36. package/Documentation/Document-global-think-ahead.txt +35 -0
  37. package/Documentation/Document-global-thinking-in-actors-unlimited.txt +1 -0
  38. package/Documentation/Document-global-what-is-a-stack.txt +2 -0
  39. package/Documentation/Document-global-why-actorjs.txt +52 -0
  40. package/Documentation/Document-global-why-actors-unlimited.txt +182 -0
  41. package/Documentation/Document-global-x-test-case-tool.txt +2 -0
  42. package/Documentation/Navigation-Documentation-actorjs-global.txt +372 -0
  43. package/Documentation/Navigation-Documentation-actorsite-global.txt +363 -0
  44. package/Documentation/abstractions/Document-global-addressing.txt +81 -0
  45. package/Documentation/abstractions/Document-global-configuration-floor.txt +2 -0
  46. package/Documentation/abstractions/Document-global-content.txt +3 -0
  47. package/Documentation/abstractions/Document-global-functions-test.txt +4 -0
  48. package/Documentation/abstractions/Document-global-functions-unde-test.txt +2 -0
  49. package/Documentation/abstractions/Document-global-load-test.txt +3 -0
  50. package/Documentation/abstractions/Document-global-repo.txt +79 -0
  51. package/Documentation/abstractions/Document-global-shared-data.txt +5 -0
  52. package/Documentation/abstractions/Document-global-system-to-test.txt +2 -0
  53. package/Documentation/abstractions/Document-global-system-under-test.txt +3 -0
  54. package/Documentation/abstractions/Document-global-test-data.txt +251 -0
  55. package/Documentation/abstractions/Document-global-test-suite.txt +37 -0
  56. package/Documentation/abstractions/Document-global-verification-data.txt +103 -0
  57. package/Documentation/abstractions/actor/Document-global-actor-condition.txt +74 -0
  58. package/Documentation/abstractions/actor/Document-global-actor-local.txt +44 -0
  59. package/Documentation/abstractions/actor/Document-global-actor-originating.txt +100 -0
  60. package/Documentation/abstractions/actor/Document-global-actor-proxy.txt +119 -0
  61. package/Documentation/abstractions/actor/Document-global-actor-terminating.txt +101 -0
  62. package/Documentation/abstractions/actor/Document-global-actor.txt +90 -0
  63. package/Documentation/abstractions/actor/Document-global-execution-states.txt +21 -0
  64. package/Documentation/abstractions/actorpart/Document-global-actorpart.txt +2 -0
  65. package/Documentation/abstractions/stack/Document-global-client-connection.txt +3 -0
  66. package/Documentation/abstractions/stack/Document-global-connection.txt +3 -0
  67. package/Documentation/abstractions/stack/Document-global-decoder.txt +3 -0
  68. package/Documentation/abstractions/stack/Document-global-encoder.txt +3 -0
  69. package/Documentation/abstractions/stack/Document-global-message.txt +4 -0
  70. package/Documentation/abstractions/stack/Document-global-server-connection.txt +3 -0
  71. package/Documentation/abstractions/stack/Document-global-stack.txt +12 -0
  72. package/Documentation/abstractions/stack/Document-global-worker.txt +3 -0
  73. package/Documentation/abstractions/test-case/Document-global-phases.txt +30 -0
  74. package/Documentation/abstractions/test-case/Document-global-test-case-result.txt +23 -0
  75. package/Documentation/abstractions/test-case/Document-global-test-case.txt +199 -0
  76. package/Documentation/actor-api/Document-global-actor-part.txt +7 -0
  77. package/Documentation/actor-api/Document-global-actor.txt +375 -0
  78. package/Documentation/actor-api/Document-global-async.txt +176 -0
  79. package/Documentation/actor-api/Document-global-client-stack.txt +215 -0
  80. package/Documentation/actor-api/Document-global-content.txt +106 -0
  81. package/Documentation/actor-api/Document-global-logger.txt +426 -0
  82. package/Documentation/actor-api/Document-global-process.txt +7 -0
  83. package/Documentation/actor-api/Document-global-server-stack.txt +213 -0
  84. package/Documentation/actor-api/Document-global-shared-data.txt +259 -0
  85. package/Documentation/actor-api/Document-global-test-data.txt +816 -0
  86. package/Documentation/actor-api/Document-global-timer.txt +70 -0
  87. package/Documentation/actor-api/Document-global-verification-data.txt +624 -0
  88. package/Documentation/connection-worker-api/Document-global-logger.txt +3 -0
  89. package/Documentation/documentation-references.json +199 -0
  90. package/Documentation/embedded/Document-global-test-case-result.txt +10 -0
  91. package/Documentation/howto/Document-global-create-actor.txt +1 -0
  92. package/Documentation/howto/Document-global-create-stack.txt +1 -0
  93. package/Documentation/howto/Document-global-create-test-case.txt +1 -0
  94. package/Documentation/howto/Document-global-create-test-suite.txt +1 -0
  95. package/Documentation/howto/Document-global-define-addresses.txt +1 -0
  96. package/Documentation/howto/Document-global-define-fut.txt +1 -0
  97. package/Documentation/howto/Document-global-define-sut.txt +16 -0
  98. package/Documentation/howto/Document-global-full-workflow.txt +143 -0
  99. package/Documentation/howto/Document-global-normal-workflow.txt +58 -0
  100. package/Documentation/howto/Document-global-prerequisites.txt +8 -0
  101. package/Documentation/howto/prerequisites/Document-global-install-actorjs.txt +64 -0
  102. package/Documentation/howto/prerequisites/Document-global-install-git.txt +26 -0
  103. package/Documentation/howto/prerequisites/Document-global-install-nodejs.txt +19 -0
  104. package/Documentation/markup/Document-global-markup-test-case.txt +6 -0
  105. package/Documentation/markup/Document-global-markup-test-suite.txt +13 -0
  106. package/Documentation/markup/embed/Document-global-inner_markup_tc.txt +164 -0
  107. package/Documentation/nodejs-api/Document-global-fs.txt +7 -0
  108. package/Documentation/stack-api/Document-global-ascii-dictionary.txt +108 -0
  109. package/Documentation/stack-api/Document-global-binary-log.txt +91 -0
  110. package/Documentation/stack-api/Document-global-bit-byte.txt +80 -0
  111. package/Documentation/stack-api/Document-global-content-base.txt +169 -0
  112. package/Documentation/stack-api/Document-global-ip-log.txt +101 -0
  113. package/Documentation/stack-api/Document-global-log-inner.txt +152 -0
  114. package/Documentation/stack-api/Document-global-log-part-error.txt +12 -0
  115. package/Documentation/stack-api/Document-global-log-part-ref.txt +80 -0
  116. package/Documentation/stack-api/Document-global-log-part-text.txt +81 -0
  117. package/Documentation/tools/Document-global-actors.txt +196 -0
  118. package/Documentation/tools/Document-global-addressing.txt +38 -0
  119. package/Documentation/tools/Document-global-content.txt +1 -0
  120. package/Documentation/tools/Document-global-global-test-data.txt +197 -0
  121. package/Documentation/tools/Document-global-stacks.txt +1 -0
  122. package/Documentation/tools/Document-global-test-case-analyze.txt +3 -0
  123. package/Documentation/tools/Document-global-test-case-debug.txt +16 -0
  124. package/Documentation/tools/Document-global-test-case-definition.txt +37 -0
  125. package/Documentation/tools/Document-global-test-case-execution.txt +28 -0
  126. package/Documentation/tools/Document-global-test-case-log.txt +95 -0
  127. package/Documentation/tools/Document-global-test-case-sequence-diagram.txt +17 -0
  128. package/Documentation/tools/Document-global-test-case-specification.txt +3 -0
  129. package/Documentation/tools/Document-global-test-cases.txt +11 -0
  130. package/Documentation/tools/Document-global-tool-test-suite.txt +202 -0
  131. package/Education/Document-global-add-your-first-addresses.txt +75 -0
  132. package/Education/Document-global-define-your-first-sut.txt +18 -0
  133. package/Education/Document-global-make-your-first-actors.txt +35 -0
  134. package/Education/Document-global-make-your-first-test-case.txt +43 -0
  135. package/Education/Document-global-make-your-first-test-suite.txt +29 -0
  136. package/Education/Document-global-share-your-work.txt +35 -0
  137. package/Education/Navigation-Education-actorjs-global.txt +31 -0
  138. package/LICENSE.txt +96 -0
  139. package/README.md +5 -0
  140. package/Workshop/Document-global-actordemo-image-ai.txt +5 -0
  141. package/Workshop/Document-global-actordemo-login.txt +10 -0
  142. package/Workshop/Document-global-actordemo-site.txt +3 -0
  143. package/Workshop/Document-global-actordemo-start.txt +5 -0
  144. package/Workshop/Document-global-actordemo-the-architecture.txt +27 -0
  145. package/Workshop/Document-global-introduction-actor.txt +84 -0
  146. package/Workshop/Document-global-introduction-actorjs.txt +42 -0
  147. package/Workshop/Document-global-introduction-stack.txt +25 -0
  148. package/Workshop/Document-global-introduction-system-under-test.txt +102 -0
  149. package/Workshop/Document-global-introduction-test-case.txt +50 -0
  150. package/Workshop/Document-global-introduction-test-suite.txt +31 -0
  151. package/Workshop/Document-global-login-with-puppeter.txt +45 -0
  152. package/Workshop/Document-global-mock-with-http.txt +83 -0
  153. package/Workshop/Document-global-mock-with-icap.txt +94 -0
  154. package/Workshop/Document-global-prerequisites-actorJs.txt +18 -0
  155. package/Workshop/Document-global-prerequisites-actordemo.txt +15 -0
  156. package/Workshop/Document-global-trigger-with-http.txt +93 -0
  157. package/Workshop/Document-global-trigger-with-puppeter.txt +49 -0
  158. package/Workshop/Navigation-Workshop-actorjs-global.txt +86 -0
  159. package/npm-shrinkwrap.json +13 -0
  160. package/package.json +10 -0
@@ -0,0 +1,816 @@
1
+ # **Test Data API**
2
+ [[API-STATUS=STABLE, ]]
3
+ [[DOC-STATUS=MOSTLY, ]]
4
+ [[NOTE={"guid":"03b803a0-0ba3-42ae-95e8-aed7fde44940"}]]
5
+
6
+ ## **Description**
7
+
8
+ An [[REF=, ABS_Actor]] can read [[REF=, ABS_Test_Data]] in the [[REF=Execution State, ABS_Actor_State_Execution]] ***data**. The [[REF=, ABS_Test_Data]] can be generated through [[REF=, ABS_Test_Data_Formatting]] and [[REF=, ABS_Test_Data_Transformations]].
9
+
10
+ Test Data API implementation starts in [test-data-mixin.js](/../code-editor/project/server/engine/actor/actor-mixins/test-data-mixin.js).
11
+
12
+ [[NOTE={"guid":"216d2c33-09c7-43ba-8682-6abf7a73ce0a"}]]
13
+ [[ANCHOR={"id":"test-data-api-methods","visible":true}]]
14
+ ## **API Methods**
15
+ + **[getTestDataString](#getTestDataString)**
16
+ + **[getTestDataStrings](#getTestDataStrings)**
17
+ + **[getTestDataArrayStrings](#getTestDataArrayStrings)**
18
+ + **[getTestDataNumber](#getTestDataNumber)**
19
+ + **[getTestDataNumbers](#getTestDataNumbers)**
20
+ + **[getTestDataArrayNumbers](#getTestDataArrayNumbers)**
21
+ + **[getTestDataBoolean](#getTestDataBoolean)**
22
+ + **[getTestDataBooleans](#getTestDataBooleans)**
23
+ + **[getTestDataArrayBooleans](#getTestDataArrayBooleans)**
24
+ + **[getTestDataObject](#getTestDataObject)**
25
+
26
+ ***
27
+
28
+ [[NOTE={"guid":"1a17f097-238e-4e5a-8d37-ed48b29bcbe0"}]]
29
+ [[ANCHOR={"id":"getTestDataString","visible":true}]]
30
+ ### **getTestDataString**
31
+ ```
32
+ this.getTestDataString(key[, default[, dictionary]])
33
+ ```
34
+ Finds or generates a single string.
35
+
36
+ [[NOTE={"guid":"cbd66cb1-d8b5-43db-8cf6-a4636b5a3f65"}]]
37
+ [[ANCHOR={"id":"6b8408b0-338c-4a64-87a6-7253cc2d0fcd","visible":true}]]
38
+ #### **Method Description**
39
+ ```table
40
+ Config(classHeading: )
41
+
42
+ |Parameters |
43
+ |Name |Type |Description |
44
+ |key |[[REF=,MDN_string]] |String used in a [[REF=, ABS_Test_Data_Table_Lookup]] to find ***value***. |
45
+ |default |[[REF=,MDN_string]] | [[REF=,MDN_Function]]|Designated ***value*** or ***value*** returned from Function; used when [[REF=, ABS_Test_Data_Table_Lookup]] finds no match.|
46
+ |dictionary|[[REF=,MDN_object]] |[[REF=, ABS_Test_Data_Dictionary]] Object used to translate ***value*** (string) to another ***value***. |
47
+ ```
48
+
49
+ [[NOTE={"guid":"b2b96e0e-c9f8-4ee3-b2fe-6512ffcf8e17"}]]
50
+ [[ANCHOR={"id":"7f1f98c2-8eac-45c8-ac13-2e49475094b4","visible":true}]]
51
+ ```table
52
+ Config(classHeading: )
53
+
54
+ |Returns |
55
+ |Type |Description |
56
+ |[[REF=,MDN_string]]|The resulting ***value***.|
57
+ ```
58
+
59
+ [[NOTE={"guid":"55335a6e-8953-40dd-a12f-e467fa1b8bef"}]]
60
+ [[ANCHOR={"id":"c5fadcf0-33b3-4427-a4e6-9fd1e642552d","visible":true}]]
61
+ #### **Example using getTestDataString**
62
+ ```tc
63
+ |TestDataTestCase |
64
+ |key |value|description|
65
+ |demoKey |Hello| |
66
+ |demoKeyObject|ASAP | |
67
+ | | | |
68
+ ```
69
+
70
+ [[NOTE={"guid":"22ae5c79-86a8-4e36-afa9-9c2b89bae032"}]]
71
+ [[ANCHOR={"id":"a179c34c-4402-4813-b868-ce770e0d63ca","visible":true}]]
72
+ ```javascript
73
+
74
+
75
+
76
+ *data() {
77
+ const a = this.getTestDataString('demoKey'); // a will be => "Hello"
78
+ const b = this.getTestDataString('demoKey', 'good bye'); // b will be => "Hello"
79
+ const c = this.getTestDataString('demoKeyX', 'good bye'); // c will be => "good bye"
80
+ const d = this.getTestDataString('demoKeyX', () => {
81
+ return a + ' friend';
82
+ }); // d will be => "Hello friend"
83
+ const e = this.getTestDataString('demoKeyObject', 'UNKNOWN', {
84
+ ASAP: 'As soon as Possible',
85
+ FYI: 'For your information',
86
+ AP: 'Action point'
87
+ }); // e will be => "As soon as Possible"
88
+ }
89
+ ```
90
+
91
+ [[NOTE={"guid":"ccae8e7e-fbd5-455f-afe6-237a998cfab1"}]]
92
+ [[ANCHOR={"id":"4f45f5aa-6870-49a4-89c5-e0c7c9e0260b","visible":true}]]
93
+ #### **Test Cases using getTestDataString**
94
+ + [DocActorApiGetTestDataStringA](/../test-cases/Actor/Doc/DocActorApiGetTestDataStringA)     [[IE=// a will be => "Hello"]]
95
+ + [DocActorApiGetTestDataStringB](/../test-cases/Actor/Doc/DocActorApiGetTestDataStringB)     [[IE=// b will be => "Hello"]]
96
+ + [DocActorApiGetTestDataStringC](/../test-cases/Actor/Doc/DocActorApiGetTestDataStringC)     [[IE=// c will be => "good bye"]]
97
+ + [DocActorApiGetTestDataStringD](/../test-cases/Actor/Doc/DocActorApiGetTestDataStringD)     [[IE=// d will be => "Hello friend"]]
98
+ + [DocActorApiGetTestDataStringE](/../test-cases/Actor/Doc/DocActorApiGetTestDataStringE)     [[IE=// e will be => "As soon as Possible"]]
99
+
100
+ ***
101
+
102
+ [[NOTE={"guid":"d9235306-9b1d-4fe2-9212-0605012704ba"}]]
103
+ [[ANCHOR={"id":"getTestDataStrings","visible":true}]]
104
+ ### **getTestDataStrings**
105
+ ```
106
+ this.getTestDataStrings(key[, default[, dictionary]])
107
+ ```
108
+ Finds or generates a string array.
109
+
110
+ [[NOTE={"guid":"5039f9eb-e830-45e2-b28c-faa5a048f2de"}]]
111
+ [[ANCHOR={"id":"ac592bdd-59b6-4703-99d2-aec76a751bcc","visible":true}]]
112
+ #### **Method Description**
113
+ ```table
114
+ Config(classHeading: )
115
+
116
+ |Parameters |
117
+ |Name |Type |Description |
118
+ |key |[[REF=,MDN_string]] |String used in a [[REF=, ABS_Test_Data_Table_Lookup]] to find ***value***. |
119
+ |default |[[REF=,MDN_string]] | [[REF=,MDN_strings]] | [[REF=,MDN_Function]]|Designated ***value*** or ***value*** returned from Function; used when [[REF=, ABS_Test_Data_Table_Lookup]] finds no match.|
120
+ |dictionary|[[REF=,MDN_object]] |[[REF=, ABS_Test_Data_Dictionary]] Object used to translate ***value*** (string) to another ***value***. |
121
+ ```
122
+
123
+ [[NOTE={"guid":"5dd2bb21-54f2-425f-ae4c-2aa63dc536f8"}]]
124
+ [[ANCHOR={"id":"59dc4876-3fc7-44db-9437-444f6557516d","visible":true}]]
125
+ ```table
126
+ Config(classHeading: )
127
+
128
+ |Returns |
129
+ |Type |Description |
130
+ |[[REF=,MDN_strings]]|The resulting ***value***.|
131
+ ```
132
+
133
+ [[NOTE={"guid":"274ee647-df18-4348-8c40-6f3435a64ce9"}]]
134
+ [[ANCHOR={"id":"c933e4f2-bd2f-4642-a255-e71cfdb588cd","visible":true}]]
135
+ #### **Example using getTestDataStrings**
136
+ ```tc
137
+ |TestDataTestCase |
138
+ |key |value |description|
139
+ |demoKey1[] |Hello | |
140
+ |demoKey1[] |Hi | |
141
+ |demoKey2 |["Hello", "Good day"]| |
142
+ |demoKeyObject|DAY | |
143
+ | | | |
144
+ ```
145
+
146
+ [[NOTE={"guid":"647cd9b8-92ac-401e-b9cf-2563a8800e05"}]]
147
+ [[ANCHOR={"id":"3c70275b-6c40-416c-8f14-232ccc4341e6","visible":true}]]
148
+ ```javascript
149
+
150
+
151
+
152
+ *data() {
153
+ const a = this.getTestDataStrings('demoKey1'); // a will be => ["Hello", "Hi"]
154
+ const b = this.getTestDataStrings('demoKey2'); // b will be => ["Hello", "Good day"]
155
+ const c = this.getTestDataStrings('demoKey2', ['Bye']); // c will be => ["Hello", "Good day"]
156
+ const d = this.getTestDataStrings('demoKeyX', ['Bye']); // d will be => ["Bye"]
157
+ const e = this.getTestDataStrings('demoKeyX', () => {
158
+ const x = d.slice();
159
+ x.push('Friend');
160
+ return x;
161
+ }); // e will be => ["Bye", "Friend"]
162
+ const f = this.getTestDataStrings('demoKeyObject', 'NIGHT', {
163
+ DAY: ['Hello', 'day'],
164
+ NIGHT: ['Hello', 'night']
165
+ }); // f will be => ["Hello", "day"]
166
+ }
167
+ ```
168
+
169
+ [[NOTE={"guid":"4e68863c-b16d-4889-8451-768c251f4728"}]]
170
+ [[ANCHOR={"id":"3c5eaabc-6df0-44cd-b3ef-601554966d2a","visible":true}]]
171
+ #### **Test Cases using getTestDataStrings**
172
+ + [DocActorApiGetTestDataStringsA](/../test-cases/Actor/Doc/DocActorApiGetTestDataStringsA)     [[IE=// a will be => ["Hello", "Hi"] ]]
173
+ + [DocActorApiGetTestDataStringsB](/../test-cases/Actor/Doc/DocActorApiGetTestDataStringsB)     [[IE=// b will be => ["Hello", "Good day"] ]]
174
+ + [DocActorApiGetTestDataStringsC](/../test-cases/Actor/Doc/DocActorApiGetTestDataStringsC)     [[IE=// c will be => ["Hello", "Good day"] ]]
175
+ + [DocActorApiGetTestDataStringsD](/../test-cases/Actor/Doc/DocActorApiGetTestDataStringsD)     [[IE=// d will be => ["Bye"] ]]
176
+ + [DocActorApiGetTestDataStringsE](/../test-cases/Actor/Doc/DocActorApiGetTestDataStringsE)     [[IE=// e will be => ["Bye", "Friend"] ]]
177
+ + [DocActorApiGetTestDataStringsF](/../test-cases/Actor/Doc/DocActorApiGetTestDataStringsF)     [[IE=// f will be => ["Hello", "day"] ]]
178
+
179
+ [[NOTE={"guid":"defc1ae1-c288-47c7-b934-d86e96ed9665"}]]
180
+ [[ANCHOR={"id":"getTestDataArrayStrings","visible":true}]]
181
+ ### **getTestDataArrayStrings**
182
+
183
+ [[NOTE={"guid":"bc68783d-1a84-4226-bd25-674ff1d63da2"}]]
184
+ [[ANCHOR={"id":"e68c1949-1710-4520-ad64-573eb6145ead","visible":true}]]
185
+ ``` js
186
+ this.getTestDataArrayStrings(key[, default[, dictionary]])
187
+ ```
188
+ Finds or generates an array of string arrays.
189
+
190
+ [[NOTE={"guid":"f464a240-816d-4769-929a-d91cf29284e7"}]]
191
+ [[ANCHOR={"id":"aab36423-65c4-48ff-8894-13517da9174c","visible":true}]]
192
+ #### **Method Description**
193
+ ```table
194
+ Config(classHeading: )
195
+
196
+ |Parameters |
197
+ |Name |Type |Description |
198
+ |key |[[REF=,MDN_string]] |String used in a [[REF=, ABS_Test_Data_Table_Lookup]] to find ***value***. |
199
+ |default |[[REF=,MDN_string]] | [[REF=,MDN_arraystrings]] | [[REF=,MDN_Function]]|Designated ***value*** or ***value*** returned from Function; used when [[REF=, ABS_Test_Data_Table_Lookup]] finds no match.|
200
+ |dictionary|[[REF=,MDN_object]] |[[REF=, ABS_Test_Data_Dictionary]] Object used to translate ***value*** (string) to another ***value***. |
201
+ ```
202
+
203
+ [[NOTE={"guid":"1d6c1ab6-b5f1-4902-8dce-448a04d22d81"}]]
204
+ [[ANCHOR={"id":"df202216-7010-42e1-aaa8-ea9f8886db3f","visible":true}]]
205
+ ```table
206
+ Config(classHeading: )
207
+
208
+ |Returns |
209
+ |Type |Description |
210
+ |[[REF=,MDN_arraystrings]]|The resulting ***value***.|
211
+ ```
212
+
213
+ [[NOTE={"guid":"fa4c934c-bd16-4deb-96f0-01f56b5c1ba8"}]]
214
+ [[ANCHOR={"id":"6db13356-8bb3-4d66-8998-6020dc44f270","visible":true}]]
215
+ #### **Example using getTestDataArrayStrings**
216
+ ```tc
217
+ |TestDataTestCase |
218
+ |key |value |description|
219
+ |demoKey1[] |["Hi", "there"] | |
220
+ |demoKey1[] |["How", "are", "you"] | |
221
+ |demoKey2 |[["Good evening", "sir"], ["Is", "all", "well"]]| |
222
+ |demoKeyObject|LADY | |
223
+ | | | |
224
+ ```
225
+
226
+ [[NOTE={"guid":"196b5fd2-c550-47f3-987d-b95af209351e"}]]
227
+ [[ANCHOR={"id":"ccb9b04f-8fe1-45bd-82fd-6244f155eb6b","visible":true}]]
228
+ ```javascript
229
+
230
+
231
+
232
+ *data() {
233
+ const a = this.getTestDataArrayStrings('demoKey1'); // a will be => [["Hi", "there"], ["How", "are", "you"]]
234
+ const b = this.getTestDataArrayStrings('demoKey2'); // b will be => [["Good evening", "sir"], ["Is", "all", "well"]]
235
+ const c = this.getTestDataArrayStrings('demoKey2', [['Fare', 'well'], ['Take', 'care']]); // c will be => [["Good evening", "sir"], ["Is", "all", "well"]]
236
+ const d = this.getTestDataArrayStrings('demoKeyX', [['Fare', 'well'], ['Take', 'care']]); // d will be => [["Fare", "well"], ["Take", "care"]]
237
+ const e = this.getTestDataArrayStrings('demoKeyX', () => {
238
+ const x = d.slice();
239
+ x.push(['My', 'friend']);
240
+ return x;
241
+ }); // e will be => ["Fare", "well"], ["Take", "care"], ["My", "friend"]]
242
+ const f = this.getTestDataArrayStrings('demoKeyObject', 'SIR', {
243
+ LADY: [['Good', 'morning'], ['Dear', 'lady']],
244
+ SIR: [['Good', 'evening'], ['Good', 'sir']]
245
+ }); // f will be => [["Good", "morning"], ["Dear", "lady"]]
246
+ }
247
+ ```
248
+
249
+ [[NOTE={"guid":"94065084-37cb-44eb-8ffd-9cdb6e4196f8"}]]
250
+ [[ANCHOR={"id":"accc59b8-e7ea-4fa6-ab2b-83d8d934eee2","visible":true}]]
251
+ #### **Test Cases using getTestDataArrayStrings**
252
+ + [DocActorApiGetTestDataArrayStringsA](/../test-cases/Actor/Doc/DocActorApiGetTestDataArrayStringsA)     [[IE=// a will be => [["Hi", "there"], ["How", "are", "you"] ] ]]
253
+ + [DocActorApiGetTestDataArrayStringsB](/../test-cases/Actor/Doc/DocActorApiGetTestDataArrayStringsB)     [[IE=// b will be => [["Good evening", "sir"], ["Is", "all", "well"] ] ]]
254
+ + [DocActorApiGetTestDataArrayStringsC](/../test-cases/Actor/Doc/DocActorApiGetTestDataArrayStringsC)     [[IE=// c will be => [["Good evening", "sir"], ["Is", "all", "well"] ] ]]
255
+ + [DocActorApiGetTestDataArrayStringsD](/../test-cases/Actor/Doc/DocActorApiGetTestDataArrayStringsD)     [[IE=// d will be => [["Fare", "well"], ["Take", "care"] ] ]]
256
+ + [DocActorApiGetTestDataArrayStringsE](/../test-cases/Actor/Doc/DocActorApiGetTestDataArrayStringsE)     [[IE=// e will be => ["Fare", "well"], ["Take", "care"], ["My", "friend"] ] ]]
257
+ + [DocActorApiGetTestDataArrayStringsF](/../test-cases/Actor/Doc/DocActorApiGetTestDataArrayStringsF)     [[IE=// f will be => [["Good", "morning"], ["Dear", "lady"] ] ]]
258
+
259
+ [[NOTE={"guid":"6c6c410b-6be4-4488-923c-a460bed943c5"}]]
260
+ [[ANCHOR={"id":"getTestDataNumber","visible":true}]]
261
+ ### **getTestDataNumber**
262
+
263
+ ``` js
264
+ this.getTestDataNumber(key[, default[, dictionary]])
265
+ ```
266
+ Finds or generates a single number.
267
+
268
+ [[NOTE={"guid":"c5ed0558-1703-4927-a732-7a50138f09ec"}]]
269
+ [[ANCHOR={"id":"e2a372ad-b8b2-48d0-b0ff-e39c5a1b007f","visible":true}]]
270
+ #### **Method Description**
271
+ ```table
272
+ Config(classHeading: )
273
+
274
+ |Parameters |
275
+ |Name |Type |Description |
276
+ |key |[[REF=,MDN_string]] |String used in a [[REF=, ABS_Test_Data_Table_Lookup]] to find ***value***. |
277
+ |default |[[REF=,MDN_string]] | [[REF=,MDN_number]] | [[REF=,MDN_Function]]|Designated ***value*** or ***value*** returned from Function; used when [[REF=, ABS_Test_Data_Table_Lookup]] finds no match.|
278
+ |dictionary|[[REF=,MDN_object]] |[[REF=, ABS_Test_Data_Dictionary]] Object used to translate ***value*** (string) to another ***value***. |
279
+ ```
280
+
281
+ [[NOTE={"guid":"7dbb2b93-e224-49e2-a802-94d9459862af"}]]
282
+ [[ANCHOR={"id":"06f01c04-96af-4405-81fa-37e08878ff75","visible":true}]]
283
+ ```table
284
+ Config(classHeading: )
285
+
286
+ |Returns |
287
+ |Type |Description |
288
+ |[[REF=,MDN_number]]|The resulting ***value***.|
289
+ ```
290
+
291
+ [[NOTE={"guid":"020935ff-59d2-4375-82b5-d4edfcbba6c1"}]]
292
+ [[ANCHOR={"id":"7d31b750-782a-4788-8ffb-b2c0ccd00fe2","visible":true}]]
293
+ #### **Example using getTestDataNumber**
294
+ ```tc
295
+ |TestDataTestCase |
296
+ |key |value |description|
297
+ |demoKey1 |25 | |
298
+ |demoKey2 |30.001| |
299
+ |demoKeyObject|e | |
300
+ | | | |
301
+ ```
302
+
303
+ [[NOTE={"guid":"fcbe0429-5997-411c-8b4b-b00790397dfa"}]]
304
+ [[ANCHOR={"id":"e3c42341-5ab9-4b26-8a4f-94a9b6318402","visible":true}]]
305
+ ```javascript
306
+
307
+
308
+
309
+ *data() {
310
+ const a = this.getTestDataNumber('demoKey1'); // a will be => 25
311
+ const b = this.getTestDataNumber('demoKey2'); // b will be => 30.001
312
+ const c = this.getTestDataNumber('demoKey1', 30); // c will be => 25
313
+ const d = this.getTestDataNumber('demoKeyX', 34); // d will be => 34
314
+ const e = this.getTestDataNumber('demoKeyX', -4.999); // e will be => -4.999
315
+ const f = this.getTestDataNumber('demoKeyX', () => {
316
+ return a + 75;
317
+ }); // f will be => 100
318
+ const g = this.getTestDataNumber('demoKeyObject', 'UNKNOWN', {
319
+ e: ‭2.7182818284590452353602874713527‬,
320
+ pi: ‭3.1415926535897932384626433832795‬
321
+ }); // g will be => 2.7182818284590452353602874713527
322
+ }
323
+ ```
324
+
325
+ [[NOTE={"guid":"e54706e8-f238-4dca-8b1f-9a43b1b29335"}]]
326
+ [[ANCHOR={"id":"9b51393a-69d2-473c-9c5a-5d1e200dc08c","visible":true}]]
327
+ #### **Test Cases using getTestDataNumber**
328
+ + [DocActorApiGetTestDataNumberA](/../test-cases/Actor/Doc/DocActorApiGetTestDataNumberA)     [[IE=// a will be => 25]]
329
+ + [DocActorApiGetTestDataNumberB](/../test-cases/Actor/Doc/DocActorApiGetTestDataNumberB)     [[IE=// b will be => 30.001]]
330
+ + [DocActorApiGetTestDataNumberC](/../test-cases/Actor/Doc/DocActorApiGetTestDataNumberC)     [[IE=// c will be => 25]]
331
+ + [DocActorApiGetTestDataNumberD](/../test-cases/Actor/Doc/DocActorApiGetTestDataNumberD)     [[IE=// d will be => 34]]
332
+ + [DocActorApiGetTestDataNumberE](/../test-cases/Actor/Doc/DocActorApiGetTestDataNumberE)     [[IE=// e will be => -4.999]]
333
+ + [DocActorApiGetTestDataNumberF](/../test-cases/Actor/Doc/DocActorApiGetTestDataNumberF)     [[IE=// f will be => 100]]
334
+ + [DocActorApiGetTestDataNumberG](/../test-cases/Actor/Doc/DocActorApiGetTestDataNumberG)     [[IE=// g will be => 2.7182818284590452353602874713527]]
335
+
336
+ [[NOTE={"guid":"bb38e4ab-0d7a-4988-8db7-306fa2d4685b"}]]
337
+ [[ANCHOR={"id":"getTestDataNumbers","visible":true}]]
338
+ ### **getTestDataNumbers**
339
+
340
+ ``` js
341
+ this.getTestDataNumbers(key[, default[, dictionary]])
342
+ ```
343
+ Finds or generates a number array.
344
+
345
+ [[NOTE={"guid":"fe96aeb4-aa96-4007-b025-09e817273194"}]]
346
+ [[ANCHOR={"id":"17ef28d8-ea72-4140-9b90-ac5427f36216","visible":true}]]
347
+ #### **Method Description**
348
+ ```table
349
+ Config(classHeading: )
350
+
351
+ |Parameters |
352
+ |Name |Type |Description |
353
+ |key |[[REF=,MDN_string]] |String used in a [[REF=, ABS_Test_Data_Table_Lookup]] to find ***value***. |
354
+ |default |[[REF=,MDN_string]] | [[REF=,MDN_numbers]] | [[REF=,MDN_Function]]|Designated ***value*** or ***value*** returned from Function; used when [[REF=, ABS_Test_Data_Table_Lookup]] finds no match.|
355
+ |dictionary|[[REF=,MDN_object]] |[[REF=, ABS_Test_Data_Dictionary]] Object used to translate ***value*** (string) to another ***value***. |
356
+ ```
357
+
358
+ [[NOTE={"guid":"740cddea-52c6-4032-9c2d-89a94ac00775"}]]
359
+ [[ANCHOR={"id":"bf50bba0-f29e-4afa-8122-e0965d140d61","visible":true}]]
360
+ ```table
361
+ Config(classHeading: )
362
+
363
+ |Returns |
364
+ |Type |Description |
365
+ |[[REF=,MDN_numbers]]|The resulting ***value***.|
366
+ ```
367
+
368
+ [[NOTE={"guid":"f71b31e9-01ef-4479-8b38-03ac09a4fd8e"}]]
369
+ [[ANCHOR={"id":"ed5bba5f-e00b-4d9a-9eb8-215cf08f03ca","visible":true}]]
370
+ #### **Example using getTestDataNumbers**
371
+ ```tc
372
+ |TestDataTestCase |
373
+ |key |value |description|
374
+ |demoKey1[] |56.833 | |
375
+ |demoKey1[] |13.941 | |
376
+ |demoKey2 |[37.865, -119.538]| |
377
+ |demoKeyObject|Adelaide | |
378
+ | | | |
379
+ ```
380
+
381
+ [[NOTE={"guid":"f9b5c536-faba-4301-b1e5-9696db821451"}]]
382
+ [[ANCHOR={"id":"12cd56c9-7f72-40b2-9185-fa695cd79fc6","visible":true}]]
383
+ ```javascript
384
+
385
+
386
+
387
+ *data() {
388
+ const a = this.getTestDataNumbers('demoKey1'); // a will be => [56.833, 13.941]
389
+ const b = this.getTestDataNumbers('demoKey2'); // b will be => [37.865, -119.538]
390
+ const c = this.getTestDataNumbers('demoKey1', [-32.859, -71.237]); // c will be => [56.833, 13.941]
391
+ const d = this.getTestDataNumbers('demoKeyX', [-32.859, -71.237]); // d will be => [-32.859, -71.237]
392
+ const e = this.getTestDataNumbers('demoKeyX', [78.405, 13.295]); // e will be => [78.405, 13.295]
393
+ const f = this.getTestDataNumbers'demoKeyX', () => {
394
+ const x = a.slice();
395
+ x.push(10.0);
396
+ return x;
397
+ }); // f will be => [56.833, 13.941, 10.0]
398
+ const g = this.getTestDataNumbers('demoKeyObject', 'UNKNOWN', {
399
+ Lund: [55.711, 13.191],
400
+ Adelaide: [-34.905, 138.601]
401
+ }); // g will be => [-34.905, 138.601]
402
+ }
403
+ ```
404
+
405
+ [[NOTE={"guid":"13520869-fa9b-4997-8a82-5912829d871f"}]]
406
+ [[ANCHOR={"id":"19f458ee-6541-4c36-898c-5aae12734c66","visible":true}]]
407
+ #### **Test Cases using getTestDataNumbers**
408
+ + [DocActorApiGetTestDataNumbersA](/../test-cases/Actor/Doc/DocActorApiGetTestDataNumbersA)     [[IE=// a will be => [56.833, 13.941] ]]
409
+ + [DocActorApiGetTestDataNumbersB](/../test-cases/Actor/Doc/DocActorApiGetTestDataNumbersB)     [[IE=// b will be => [37.865, -119.538] ]]
410
+ + [DocActorApiGetTestDataNumbersC](/../test-cases/Actor/Doc/DocActorApiGetTestDataNumbersC)     [[IE=// c will be => [56.833, 13.941] ]]
411
+ + [DocActorApiGetTestDataNumbersD](/../test-cases/Actor/Doc/DocActorApiGetTestDataNumbersD)     [[IE=// d will be => [-32.859, -71.237] ]]
412
+ + [DocActorApiGetTestDataNumbersE](/../test-cases/Actor/Doc/DocActorApiGetTestDataNumbersE)     [[IE=// e will be => [78.405, 13.295] ]]
413
+ + [DocActorApiGetTestDataNumbersF](/../test-cases/Actor/Doc/DocActorApiGetTestDataNumbersF)     [[IE=// f will be => [56.833, 13.941, 10.0] ]]
414
+ + [DocActorApiGetTestDataNumbersG](/../test-cases/Actor/Doc/DocActorApiGetTestDataNumbersG)     [[IE=// g will be => [-34.905, 138.601] ]]
415
+
416
+ [[NOTE={"guid":"de7a15d1-7761-4911-aef7-07ab99bbb8c3"}]]
417
+ [[ANCHOR={"id":"getTestDataArrayNumbers","visible":true}]]
418
+ ### **getTestDataArrayNumbers**
419
+
420
+ ```
421
+ this.getTestDataArrayNumbers(key[, default[, dictionary]])
422
+ ```
423
+ Finds or generates an array of number arrays.
424
+
425
+ [[NOTE={"guid":"93097692-f4ac-4d0a-812e-d179f851eaaa"}]]
426
+ [[ANCHOR={"id":"7822bd91-f0b4-4032-b991-022fa74f112a","visible":true}]]
427
+ #### **Method Description**
428
+ ```table
429
+ Config(classHeading: )
430
+
431
+ |Parameters |
432
+ |Name |Type |Description |
433
+ |key |[[REF=,MDN_string]] |String used in a [[REF=, ABS_Test_Data_Table_Lookup]] to find ***value***. |
434
+ |default |[[REF=,MDN_string]] | [[REF=,MDN_arraynumbers]] | [[REF=,MDN_Function]]|Designated ***value*** or ***value*** returned from Function; used when [[REF=, ABS_Test_Data_Table_Lookup]] finds no match.|
435
+ |dictionary|[[REF=,MDN_object]] |[[REF=, ABS_Test_Data_Dictionary]] Object used to translate ***value*** (string) to another ***value***. |
436
+ ```
437
+
438
+ [[NOTE={"guid":"39a125bb-cd45-4c1d-9f50-fe5a0938cf36"}]]
439
+ [[ANCHOR={"id":"57a79185-c85f-4ac1-91ea-074f9c5c94b5","visible":true}]]
440
+ ```table
441
+ Config(classHeading: )
442
+
443
+ |Returns |
444
+ |Type |Description |
445
+ |[[REF=,MDN_arraynumbers]]|The resulting ***value***.|
446
+ ```
447
+
448
+ [[NOTE={"guid":"6e36a306-33a1-419a-b5c8-b40b3011aa82"}]]
449
+ [[ANCHOR={"id":"2220c649-4197-4489-a164-4772913fddef","visible":true}]]
450
+ #### **Example using getTestDataArrayNumbers**
451
+ ```tc
452
+ |TestDataTestCase |
453
+ |key |value |description|
454
+ |demoKey1[] |[7, 30] | |
455
+ |demoKey1[] |[16, 0] | |
456
+ |demoKey2 |[[9, 0], [17, 30]]| |
457
+ |demoKeyObject|LUNCH | |
458
+ | | | |
459
+ ```
460
+
461
+ [[NOTE={"guid":"c86e442a-e00a-4857-8f46-1afc29a4cad6"}]]
462
+ [[ANCHOR={"id":"b8e7c621-2044-405a-8138-9b8aa260c3aa","visible":true}]]
463
+ ```javascript
464
+
465
+
466
+
467
+ *data() {
468
+ const a = this.getTestDataArrayNumbers('demoKey1'); // a will be => [[7, 30], [16, 0]]
469
+ const b = this.getTestDataArrayNumbers('demoKey2'); // b will be => [[9, 0], [17, 30]]
470
+ const c = this.getTestDataArrayNumbers('demoKey1', [[8, 15], [16, 45]]); // c will be => [[7, 30], [16, 0]]
471
+ const d = this.getTestDataArrayNumbers('demoKeyX', [[8, 15], [16, 45]]); // d will be => [[8, 15], [16, 45]]
472
+ const e = this.getTestDataArrayNumbers('demoKeyX', [[8, 45], [17, 0]]); // e will be => [[8, 45], [17, 0]]
473
+ const f = this.getTestDataArrayNumbers'demoKeyX', () => {
474
+ const x = a.slice();
475
+ x.push([18, 30]);
476
+ return x;
477
+ }); // f will be => [[7, 30], [16, 0], [18, 30]]
478
+ const g = this.getTestDataArrayNumbers('demoKeyObject', 'UNKNOWN', {
479
+ BREAKFAST: [[9, 30], [9, 45]],
480
+ LUNCH: [[12, 0], [12, 30]]
481
+ }); // g will be => [[12, 0], [12, 30]]
482
+ }
483
+ ```
484
+
485
+ [[NOTE={"guid":"2e19d156-5269-4166-af3d-3b9a6f81059b"}]]
486
+ [[ANCHOR={"id":"8305801a-d0f0-4de7-9dc5-98bd6e941118","visible":true}]]
487
+ #### **Test Cases using getTestDataArrayNumbers**
488
+ + [DocActorApiGetTestDataArrayNumbersA](/../test-cases/Actor/Doc/DocActorApiGetTestDataArrayNumbersA)     [[IE=// a will be => [[7, 30], [16, 0] ] ]]
489
+ + [DocActorApiGetTestDataArrayNumbersB](/../test-cases/Actor/Doc/DocActorApiGetTestDataArrayNumbersB)     [[IE=// b will be => [[9, 0], [17, 30] ] ]]
490
+ + [DocActorApiGetTestDataArrayNumbersC](/../test-cases/Actor/Doc/DocActorApiGetTestDataArrayNumbersC)     [[IE=// c will be => [[7, 30], [16, 0] ] ]]
491
+ + [DocActorApiGetTestDataArrayNumbersD](/../test-cases/Actor/Doc/DocActorApiGetTestDataArrayNumbersD)     [[IE=// d will be => [[8, 15], [16, 45] ] ]]
492
+ + [DocActorApiGetTestDataArrayNumbersE](/../test-cases/Actor/Doc/DocActorApiGetTestDataArrayNumbersE)     [[IE=// e will be => [[8, 45], [17, 0] ] ]]
493
+ + [DocActorApiGetTestDataArrayNumbersF](/../test-cases/Actor/Doc/DocActorApiGetTestDataArrayNumbersF)     [[IE=// f will be => [[7, 30], [16, 0], [18, 30] ] ]]
494
+ + [DocActorApiGetTestDataArrayNumbersG](/../test-cases/Actor/Doc/DocActorApiGetTestDataArrayNumbersG)     [[IE=// g will be => [[12, 0], [12, 30] ] ]]
495
+
496
+ [[NOTE={"guid":"5291b474-8e2d-4aaf-97f8-614a39a4183b"}]]
497
+ [[ANCHOR={"id":"getTestDataBoolean","visible":true}]]
498
+ ### **getTestDataBoolean**
499
+
500
+ ```
501
+ this.getTestDataBoolean(key[, default[, dictionary]])
502
+ ```
503
+ Finds or generates a single Boolean.
504
+
505
+ [[NOTE={"guid":"bf8c6404-5991-4aa7-99bc-3ef42599d864"}]]
506
+ [[ANCHOR={"id":"4b624804-ed27-4d7a-9883-4f9cc3afa8c0","visible":true}]]
507
+ #### **Method Description**
508
+ ```table
509
+ Config(classHeading: )
510
+
511
+ |Parameters |
512
+ |Name |Type |Description |
513
+ |key |[[REF=,MDN_string]] |String used in a [[REF=, ABS_Test_Data_Table_Lookup]] to find ***value***. |
514
+ |default |[[REF=,MDN_string]] | [[REF=,MDN_boolean]] | [[REF=,MDN_Function]]|Designated ***value*** or ***value*** returned from Function; used when [[REF=, ABS_Test_Data_Table_Lookup]] finds no match.|
515
+ |dictionary|[[REF=,MDN_object]] |[[REF=, ABS_Test_Data_Dictionary]] Object used to translate ***value*** (string) to another ***value***. |
516
+ ```
517
+
518
+ [[NOTE={"guid":"ab8fb470-615e-4427-b208-d7e599663e2e"}]]
519
+ [[ANCHOR={"id":"708ac8a9-1e29-49c9-85b0-8dc1c3a73a0c","visible":true}]]
520
+ ```table
521
+ Config(classHeading: )
522
+
523
+ |Returns |
524
+ |Type |Description |
525
+ |[[REF=,MDN_boolean]]|The resulting ***value***.|
526
+ ```
527
+
528
+ [[NOTE={"guid":"054c4fbd-7896-4331-ba79-21e256ff3d2b"}]]
529
+ [[ANCHOR={"id":"6a7e3070-59cc-431e-b771-eca24c617cca","visible":true}]]
530
+ #### **Example using getTestDataBoolean**
531
+ ```tc
532
+ |TestDataTestCase |
533
+ |key |value|description|
534
+ |demoKey1 |true | |
535
+ |demoKey2 |false| |
536
+ |demoKeyObject|TRUTH| |
537
+ | | | |
538
+ ```
539
+
540
+ [[NOTE={"guid":"edddc37c-e590-4f54-9032-df2e185bcf77"}]]
541
+ [[ANCHOR={"id":"02301e2c-c7a9-4bcb-b35d-d07632d56071","visible":true}]]
542
+ ```javascript
543
+
544
+
545
+
546
+ *data() {
547
+ const a = this.getTestDataBoolean('demoKey1'); // a will be => true
548
+ const b = this.getTestDataBoolean('demoKey2'); // b will be => false
549
+ const c = this.getTestDataBoolean('demoKey1', false); // c will be => true
550
+ const d = this.getTestDataBoolean('demoKeyX', false); // d will be => false
551
+ const e = this.getTestDataBoolean('demoKeyX', true); // e will be => true
552
+ const f = this.getTestDataBoolean('demoKeyX', () => {
553
+ return !a;
554
+ }); // f will be => false
555
+ const g = this.getTestDataBoolean('demoKeyObject', 'UNKNOWN', {
556
+ TRUTH: ‭true‬,
557
+ FALSITY: false
558
+ }); // g will be => true
559
+ }
560
+ ```
561
+
562
+ [[NOTE={"guid":"54f34242-d5ee-4b20-9ab9-c58c26c332c1"}]]
563
+ [[ANCHOR={"id":"d6cf2def-aaa9-48d9-8971-540b1143295d","visible":true}]]
564
+ #### **Test Cases using getTestDataBoolean**
565
+ + [DocActorApiGetTestDataBooleanA](/../test-cases/Actor/Doc/DocActorApiGetTestDataBooleanA)     [[IE=// a will be => true]]
566
+ + [DocActorApiGetTestDataBooleanB](/../test-cases/Actor/Doc/DocActorApiGetTestDataBooleanB)     [[IE=// b will be => false]]
567
+ + [DocActorApiGetTestDataBooleanC](/../test-cases/Actor/Doc/DocActorApiGetTestDataBooleanC)     [[IE=// c will be => true]]
568
+ + [DocActorApiGetTestDataBooleanD](/../test-cases/Actor/Doc/DocActorApiGetTestDataBooleanD)     [[IE=// d will be => false]]
569
+ + [DocActorApiGetTestDataBooleanE](/../test-cases/Actor/Doc/DocActorApiGetTestDataBooleanE)     [[IE=// e will be => true]]
570
+ + [DocActorApiGetTestDataBooleanF](/../test-cases/Actor/Doc/DocActorApiGetTestDataBooleanF)     [[IE=// f will be => false]]
571
+ + [DocActorApiGetTestDataBooleanG](/../test-cases/Actor/Doc/DocActorApiGetTestDataBooleanG)     [[IE=// g will be => true]]
572
+
573
+ [[ANCHOR={"id":"getTestDataBooleans","visible":true}]]
574
+ ### **getTestDataBooleans**
575
+
576
+ ``` js
577
+ this.getTestDataBooleans(key[, default[, dictionary]])
578
+ ```
579
+ Finds or generates a Boolean array.
580
+
581
+ [[NOTE={"guid":"72da4e85-a72c-448a-94b9-08ea78f734b4"}]]
582
+ [[ANCHOR={"id":"3fddb323-19e6-4132-adc0-c655bebc8cb0","visible":true}]]
583
+ #### **Method Description**
584
+ ```table
585
+ Config(classHeading: )
586
+
587
+ |Parameters |
588
+ |Name |Type |Description |
589
+ |key |[[REF=,MDN_string]] |String used in a [[REF=, ABS_Test_Data_Table_Lookup]] to find ***value***. |
590
+ |default |[[REF=,MDN_string]] | [[REF=,MDN_booleans]] | [[REF=,MDN_Function]]|Designated ***value*** or ***value*** returned from Function; used when [[REF=, ABS_Test_Data_Table_Lookup]] finds no match.|
591
+ |dictionary|[[REF=,MDN_object]] |[[REF=, ABS_Test_Data_Dictionary]] Object used to translate ***value*** (string) to another ***value***. |
592
+ ```
593
+
594
+ [[NOTE={"guid":"88fa4844-a4d0-4bef-b51a-ef4b6cbca076"}]]
595
+ [[ANCHOR={"id":"116f90e5-7e30-4226-9a14-3c30c0aa0b57","visible":true}]]
596
+ ```table
597
+ Config(classHeading: )
598
+
599
+ |Returns |
600
+ |Type |Description |
601
+ |[[REF=,MDN_booleans]]|The resulting ***value***.|
602
+ ```
603
+
604
+ [[NOTE={"guid":"ff6f4e45-dd54-498d-a1c3-e128fffa5855"}]]
605
+ [[ANCHOR={"id":"6e57f025-4cce-465a-b468-56a7488762b4","visible":true}]]
606
+ #### **Example using getTestDataBooleans**
607
+ ```tc
608
+ |TestDataTestCase |
609
+ |key |value |description|
610
+ |demoKey1[] |true | |
611
+ |demoKey1[] |false | |
612
+ |demoKey2 |[false, true]| |
613
+ |demoKeyObject|ALL_TRUE | |
614
+ | | | |
615
+ ```
616
+
617
+ [[NOTE={"guid":"55037de2-eea2-4935-aa1c-6f66860a6d9b"}]]
618
+ [[ANCHOR={"id":"8c04ab7d-a60a-4bd3-aeb9-d17d11d039d9","visible":true}]]
619
+ ```javascript
620
+
621
+
622
+
623
+ *data() {
624
+ const a = this.getTestDataBooleans('demoKey1'); // a will be => [true,false]
625
+ const b = this.getTestDataBooleans('demoKey2'); // b will be => [false, true]
626
+ const c = this.getTestDataBooleans('demoKey1', [false, true]); // c will be => [true,false]
627
+ const d = this.getTestDataBooleans('demoKeyX', [false, true]); // d will be => [false, true]
628
+ const e = this.getTestDataBooleans('demoKeyX', [true,false]); // e will be => [true,false]
629
+ const f = this.getTestDataBooleans'demoKeyX', () => {
630
+ const x = a.slice();
631
+ x.push(true);
632
+ return x;
633
+ }); // f will be => [true, false, true]
634
+ const g = this.getTestDataBooleans('demoKeyObject', 'UNKNOWN', {
635
+ ALL_TRUE: [true, true],
636
+ ALL_FALSE: [false, false]
637
+ }); // g will be => [true, true]
638
+ }
639
+ ```
640
+
641
+ [[NOTE={"guid":"88e189ad-d478-4426-af1b-f5f6b87ec714"}]]
642
+ [[ANCHOR={"id":"eaf97653-0ac2-4b10-96ad-e86808e6accf","visible":true}]]
643
+ #### **Test Cases using getTestDataBooleans**
644
+ + [DocActorApiGetTestDataBooleansA](/../test-cases/Actor/Doc/DocActorApiGetTestDataBooleansA)     [[IE=// a will be => [true,false] ]]
645
+ + [DocActorApiGetTestDataBooleansB](/../test-cases/Actor/Doc/DocActorApiGetTestDataBooleansB)     [[IE=// b will be => [false, true] ]]
646
+ + [DocActorApiGetTestDataBooleansC](/../test-cases/Actor/Doc/DocActorApiGetTestDataBooleansC)     [[IE=// c will be => [true,false] ]]
647
+ + [DocActorApiGetTestDataBooleansD](/../test-cases/Actor/Doc/DocActorApiGetTestDataBooleansD)     [[IE=// d will be => [false, true] ]]
648
+ + [DocActorApiGetTestDataBooleansE](/../test-cases/Actor/Doc/DocActorApiGetTestDataBooleansE)     [[IE=// e will be => [true,false] ]]
649
+ + [DocActorApiGetTestDataBooleansF](/../test-cases/Actor/Doc/DocActorApiGetTestDataBooleansF)     [[IE=// f will be => [true,false, true] ]]
650
+ + [DocActorApiGetTestDataBooleansG](/../test-cases/Actor/Doc/DocActorApiGetTestDataBooleansG)     [[IE=// g will be => [true, true] ]]
651
+
652
+ [[NOTE={"guid":"2a8c28c3-e7bc-43e5-986a-b487e64451bf"}]]
653
+ [[ANCHOR={"id":"getTestDataArrayBooleans","visible":true}]]
654
+ ### **getTestDataArrayBooleans**
655
+
656
+ ```
657
+ this.getTestDataArrayBooleans(key[, default[, dictionary]])
658
+ ```
659
+ Finds or generates an array of Boolean arrays.
660
+
661
+ [[NOTE={"guid":"1067f88a-3314-4f7d-9a74-bc60a39cd1cf"}]]
662
+ [[ANCHOR={"id":"c8c51d7a-41a9-4970-9cb9-f1ffc870fa10","visible":true}]]
663
+ #### **Method Description**
664
+ ```table
665
+ Config(classHeading: )
666
+
667
+ |Parameters |
668
+ |Name |Type |Description |
669
+ |key |[[REF=,MDN_string]] |String used in a [[REF=, ABS_Test_Data_Table_Lookup]] to find ***value***. |
670
+ |default |[[REF=,MDN_string]] | [[REF=,MDN_arraybooleans]] | [[REF=,MDN_Function]]|Designated ***value*** or ***value*** returned from Function; used when [[REF=, ABS_Test_Data_Table_Lookup]] finds no match.|
671
+ |dictionary|[[REF=,MDN_object]] |[[REF=, ABS_Test_Data_Dictionary]] Object used to translate ***value*** (string) to another ***value***. |
672
+ ```
673
+
674
+ [[NOTE={"guid":"7ecb56bf-f7e9-479a-9706-d7de860f4ad2"}]]
675
+ [[ANCHOR={"id":"708e4269-7e63-42d2-9cf4-cf5bddeef739","visible":true}]]
676
+ ```table
677
+ Config(classHeading: )
678
+
679
+ |Returns |
680
+ |Type |Description |
681
+ |[[REF=,MDN_arraybooleans]]|The resulting ***value***.|
682
+ ```
683
+
684
+ [[NOTE={"guid":"f284594c-332b-47cc-a994-656e934be680"}]]
685
+ [[ANCHOR={"id":"7199a463-6615-4faa-96c8-a2042f3b5d50","visible":true}]]
686
+ #### **Example using getTestDataArrayBooleans**
687
+ ```tc
688
+ |TestDataTestCase |
689
+ |key |value |description|
690
+ |demoKey1[] |[true, true] | |
691
+ |demoKey1[] |[false, false] | |
692
+ |demoKey2 |[[true, false], [true, false]]| |
693
+ |demoKeyObject|ALL_FALSE | |
694
+ | | | |
695
+ ```
696
+
697
+ [[NOTE={"guid":"f71b84b8-cd64-4af9-be75-d803bb6bf509"}]]
698
+ [[ANCHOR={"id":"e6907c3f-5020-417d-96fa-648cc95661d0","visible":true}]]
699
+ ```javascript
700
+
701
+
702
+
703
+ *data() {
704
+ const a = this.getTestDataArrayBooleans('demoKey1'); // a will be => [[true, true], [false, false]]
705
+ const b = this.getTestDataArrayBooleans('demoKey2'); // b will be => [[true, false], [true, false]]
706
+ const c = this.getTestDataArrayBooleans('demoKey1', [[false, false], [true, true]]); // c will be => [[true, true], [false, false]]
707
+ const d = this.getTestDataArrayBooleans('demoKeyX', [[false, false], [true, true]]); // d will be => [[false, false], [true, true]]
708
+ const e = this.getTestDataArrayBooleans('demoKeyX', [[false, true], [false, true]]); // e will be => [[false, true], [false, true]]
709
+ const f = this.getTestDataArrayBooleans'demoKeyX', () => {
710
+ const x = a.slice();
711
+ x.push([true, true]);
712
+ return x;
713
+ }); // f will be => [[true, true], [false, false], [true, true]]
714
+ const g = this.getTestDataArrayBooleans('demoKeyObject', 'UNKNOWN', {
715
+ ALL_TRUE: [[true, true], [true, true]],
716
+ ALL_FALSE: [[false, false], [false, false]]
717
+ }); // g will be => [[false, false], [false, false]]
718
+ }
719
+ ```
720
+
721
+ [[NOTE={"guid":"43dcc824-777d-48c2-8f36-b5aa3793c061"}]]
722
+ [[ANCHOR={"id":"47465eeb-76c3-4caa-bfd0-ce15497b715c","visible":true}]]
723
+ #### **Test Cases using getTestDataArrayBooleans**
724
+ + [DocActorApiGetTestDataArrayBooleansA](/../test-cases/Actor/Doc/DocActorApiGetTestDataArrayBooleansA)     [[IE=// a will be => [[true, true], [false, false] ] ]]
725
+ + [DocActorApiGetTestDataArrayBooleansB](/../test-cases/Actor/Doc/DocActorApiGetTestDataArrayBooleansB)     [[IE=// b will be => [[true, false], [true, false] ] ]]
726
+ + [DocActorApiGetTestDataArrayBooleansC](/../test-cases/Actor/Doc/DocActorApiGetTestDataArrayBooleansC)     [[IE=// c will be => [[true, true], [false, false] ] ]]
727
+ + [DocActorApiGetTestDataArrayBooleansD](/../test-cases/Actor/Doc/DocActorApiGetTestDataArrayBooleansD)     [[IE=// d will be => [[false, false], [true, true] ] ]]
728
+ + [DocActorApiGetTestDataArrayBooleansE](/../test-cases/Actor/Doc/DocActorApiGetTestDataArrayBooleansE)     [[IE=// e will be => [[false, true], [false, true] ] ]]
729
+ + [DocActorApiGetTestDataArrayBooleansF](/../test-cases/Actor/Doc/DocActorApiGetTestDataArrayBooleansF)     [[IE=// f will be => [[true, true], [false, false], [true, true] ] ]]
730
+ + [DocActorApiGetTestDataArrayBooleansG](/../test-cases/Actor/Doc/DocActorApiGetTestDataArrayBooleansG)     [[IE=// g will be => [[false, false], [false, false] ] ]]
731
+
732
+ [[NOTE={"guid":"337aac5b-48e7-4527-adb4-802754be81af"}]]
733
+ [[ANCHOR={"id":"getTestDataObject","visible":true}]]
734
+ ### **getTestDataObject**
735
+
736
+ ```
737
+ this.getTestDataObject(key[, default[, dictionary]])
738
+ ```
739
+ Finds or generates an object.
740
+
741
+ [[NOTE={"guid":"834244a1-afad-43e4-b0ed-1baed4eb2e4e"}]]
742
+ [[ANCHOR={"id":"d3db262a-6873-48e7-bc55-114e02275840","visible":true}]]
743
+ #### **Method Description**
744
+ ```table
745
+ Config(classHeading: )
746
+
747
+ |Parameters |
748
+ |Name |Type |Description |
749
+ |key |[[REF=,MDN_string]] |String used in a [[REF=, ABS_Test_Data_Table_Lookup]] to find ***value***. |
750
+ |default |[[REF=,MDN_string]] | [[REF=,MDN_object]] | [[REF=,MDN_Function]]|Designated ***value*** or ***value*** returned from Function; used when [[REF=, ABS_Test_Data_Table_Lookup]] finds no match.|
751
+ |dictionary|[[REF=,MDN_object]] |[[REF=, ABS_Test_Data_Dictionary]] Object used to translate ***value*** (string) to another ***value***. |
752
+ ```
753
+
754
+ [[NOTE={"guid":"fff755e0-8bcd-45d4-80bb-9fd1851e7241"}]]
755
+ [[ANCHOR={"id":"d03a4241-b30a-46f7-a075-913bb0b84e16","visible":true}]]
756
+ ```table
757
+ Config(classHeading: )
758
+
759
+ |Returns |
760
+ |Type |Description |
761
+ |[[REF=,MDN_object]]|The resulting ***value***.|
762
+ ```
763
+
764
+ [[NOTE={"guid":"aef7940e-b6c4-420f-b03e-ee403188f647"}]]
765
+ [[ANCHOR={"id":"4b056295-b6c0-4a7b-8863-ddf35cc66873","visible":true}]]
766
+ #### **Example using getTestDataObject**
767
+ ```tc
768
+ |TestDataTestCase |
769
+ |key |value |description|
770
+ |demoKey |{"name": "Stockholm", "population": 1.6}| |
771
+ |demoKeyObject|OSLO | |
772
+ | | | |
773
+ ```
774
+
775
+ [[NOTE={"guid":"4d441689-e4ff-4958-9842-f3e1ddc37600"}]]
776
+ [[ANCHOR={"id":"9c40306c-aec9-4e9d-8bc2-02a5c7bfea83","visible":true}]]
777
+ ```javascript
778
+
779
+
780
+
781
+ *data() {
782
+ const a = this.getTestDataObject('demoKey'); // a will be => {"name": "Stockholm", "population": 1.6}
783
+ const b = this.getTestDataObject('demoKey', {
784
+ name: 'Copenhagen',
785
+ population: 1.3
786
+ }); // b will be => {"name": "Stockholm", "population": 1.6}
787
+ const c = this.getTestDataObject('demoKeyX', {
788
+ name: 'Copenhagen',
789
+ population: 1.3
790
+ }); // c will be => {"name": "Copenhagen", "population": 1.3}
791
+ const d = this.getTestDataObject('demoKeyX', () => {
792
+ const x = a;
793
+ x.founded = 1252;
794
+ return x;
795
+ }); // d will be => {"name": "Stockholm", "population": 1.6, "founded": 1252}
796
+ const e = this.getTestDataObject('demoKeyObject', 'HELSINKI', {
797
+ OSLO: {
798
+ name: 'Oslo',
799
+ population: 1
800
+ },
801
+ HELSINKI: {
802
+ name: 'Helsinki',
803
+ population: 1.3
804
+ }
805
+ }); // e will be => {"name": "Oslo", "population": 1}
806
+ }
807
+ ```
808
+
809
+ [[NOTE={"guid":"92ec69c1-4411-43ce-bbee-70fc2cb1bf7c"}]]
810
+ [[ANCHOR={"id":"41a9a41c-dd8c-4079-94d8-20f6a5f697e4","visible":true}]]
811
+ #### **Test Cases using getTestDataObject**
812
+ + [DocActorApiGetTestDataObjectA](/../test-cases/Actor/Doc/DocActorApiGetTestDataObjectA)     [[IE=// a will be => {"name": "Stockholm", "population": 1.6}]]
813
+ + [DocActorApiGetTestDataObjectB](/../test-cases/Actor/Doc/DocActorApiGetTestDataObjectB)     [[IE=// b will be => {"name": "Stockholm", "population": 1.6}]]
814
+ + [DocActorApiGetTestDataObjectC](/../test-cases/Actor/Doc/DocActorApiGetTestDataObjectC)     [[IE=// c will be => {"name": "Copenhagen", "population": 1.3}]]
815
+ + [DocActorApiGetTestDataObjectD](/../test-cases/Actor/Doc/DocActorApiGetTestDataObjectD)     [[IE=// d will be => {"name": "Stockholm", "population": 1.6, "founded": 1252}]]
816
+ + [DocActorApiGetTestDataObjectE](/../test-cases/Actor/Doc/DocActorApiGetTestDataObjectE)     [[IE=// e will be => {"name": "Oslo", "population": 1}]]