1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
|
<?php
declare(strict_types=1);
namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core;
use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase;
use PHPUnit\Framework\Attributes\Depends;
use PHPUnit\Framework\Attributes\DoesNotPerformAssertions;
final class StoreTest extends SpecTestsuiteBase
{
public function testModule0(): void
{
$this->runModuleCommand(
filename: 'store.0.wasm',
name: null,
line: 3,
);
}
#[Depends('testModule0')]
public function testAssertReturn1(): void
{
$this->runAssertReturnCommand(
action: ['type' => 'invoke', 'field' => 'as-block-value', 'args' => []],
expected: [],
line: 44,
);
}
#[Depends('testAssertReturn1')]
public function testAssertReturn2(): void
{
$this->runAssertReturnCommand(
action: ['type' => 'invoke', 'field' => 'as-loop-value', 'args' => []],
expected: [],
line: 45,
);
}
#[Depends('testAssertReturn2')]
public function testAssertReturn3(): void
{
$this->runAssertReturnCommand(
action: ['type' => 'invoke', 'field' => 'as-br-value', 'args' => []],
expected: [],
line: 47,
);
}
#[Depends('testAssertReturn3')]
public function testAssertReturn4(): void
{
$this->runAssertReturnCommand(
action: ['type' => 'invoke', 'field' => 'as-br_if-value', 'args' => []],
expected: [],
line: 48,
);
}
#[Depends('testAssertReturn4')]
public function testAssertReturn5(): void
{
$this->runAssertReturnCommand(
action: ['type' => 'invoke', 'field' => 'as-br_if-value-cond', 'args' => []],
expected: [],
line: 49,
);
}
#[Depends('testAssertReturn5')]
public function testAssertReturn6(): void
{
$this->runAssertReturnCommand(
action: ['type' => 'invoke', 'field' => 'as-br_table-value', 'args' => []],
expected: [],
line: 50,
);
}
#[Depends('testAssertReturn6')]
public function testAssertReturn7(): void
{
$this->runAssertReturnCommand(
action: ['type' => 'invoke', 'field' => 'as-return-value', 'args' => []],
expected: [],
line: 52,
);
}
#[Depends('testAssertReturn7')]
public function testAssertReturn8(): void
{
$this->runAssertReturnCommand(
action: ['type' => 'invoke', 'field' => 'as-if-then', 'args' => []],
expected: [],
line: 54,
);
}
#[Depends('testAssertReturn8')]
public function testAssertReturn9(): void
{
$this->runAssertReturnCommand(
action: ['type' => 'invoke', 'field' => 'as-if-else', 'args' => []],
expected: [],
line: 55,
);
}
#[DoesNotPerformAssertions]
#[Depends('testAssertReturn9')]
public function testAssertMalformed10(): void
{
}
#[DoesNotPerformAssertions]
#[Depends('testAssertMalformed10')]
public function testAssertMalformed11(): void
{
}
#[DoesNotPerformAssertions]
#[Depends('testAssertMalformed11')]
public function testAssertMalformed12(): void
{
}
#[DoesNotPerformAssertions]
#[Depends('testAssertMalformed12')]
public function testAssertMalformed13(): void
{
}
#[DoesNotPerformAssertions]
#[Depends('testAssertMalformed13')]
public function testAssertMalformed14(): void
{
}
#[DoesNotPerformAssertions]
#[Depends('testAssertMalformed14')]
public function testAssertMalformed15(): void
{
}
#[DoesNotPerformAssertions]
#[Depends('testAssertMalformed15')]
public function testAssertMalformed16(): void
{
}
#[Depends('testAssertMalformed16')]
public function testAssertInvalid17(): void
{
$this->runAssertInvalidCommand(
filename: 'store.8.wasm',
text: 'type mismatch',
line: 112,
);
}
#[Depends('testAssertInvalid17')]
public function testAssertInvalid18(): void
{
$this->runAssertInvalidCommand(
filename: 'store.9.wasm',
text: 'type mismatch',
line: 116,
);
}
#[Depends('testAssertInvalid18')]
public function testAssertInvalid19(): void
{
$this->runAssertInvalidCommand(
filename: 'store.10.wasm',
text: 'type mismatch',
line: 120,
);
}
#[Depends('testAssertInvalid19')]
public function testAssertInvalid20(): void
{
$this->runAssertInvalidCommand(
filename: 'store.11.wasm',
text: 'type mismatch',
line: 124,
);
}
#[Depends('testAssertInvalid20')]
public function testAssertInvalid21(): void
{
$this->runAssertInvalidCommand(
filename: 'store.12.wasm',
text: 'type mismatch',
line: 128,
);
}
#[Depends('testAssertInvalid21')]
public function testAssertInvalid22(): void
{
$this->runAssertInvalidCommand(
filename: 'store.13.wasm',
text: 'type mismatch',
line: 132,
);
}
#[Depends('testAssertInvalid22')]
public function testAssertInvalid23(): void
{
$this->runAssertInvalidCommand(
filename: 'store.14.wasm',
text: 'type mismatch',
line: 136,
);
}
#[Depends('testAssertInvalid23')]
public function testAssertInvalid24(): void
{
$this->runAssertInvalidCommand(
filename: 'store.15.wasm',
text: 'type mismatch',
line: 140,
);
}
#[Depends('testAssertInvalid24')]
public function testAssertInvalid25(): void
{
$this->runAssertInvalidCommand(
filename: 'store.16.wasm',
text: 'type mismatch',
line: 144,
);
}
#[Depends('testAssertInvalid25')]
public function testAssertInvalid26(): void
{
$this->runAssertInvalidCommand(
filename: 'store.17.wasm',
text: 'type mismatch',
line: 150,
);
}
#[Depends('testAssertInvalid26')]
public function testAssertInvalid27(): void
{
$this->runAssertInvalidCommand(
filename: 'store.18.wasm',
text: 'type mismatch',
line: 159,
);
}
#[Depends('testAssertInvalid27')]
public function testAssertInvalid28(): void
{
$this->runAssertInvalidCommand(
filename: 'store.19.wasm',
text: 'type mismatch',
line: 168,
);
}
#[Depends('testAssertInvalid28')]
public function testAssertInvalid29(): void
{
$this->runAssertInvalidCommand(
filename: 'store.20.wasm',
text: 'type mismatch',
line: 178,
);
}
#[Depends('testAssertInvalid29')]
public function testAssertInvalid30(): void
{
$this->runAssertInvalidCommand(
filename: 'store.21.wasm',
text: 'type mismatch',
line: 188,
);
}
#[Depends('testAssertInvalid30')]
public function testAssertInvalid31(): void
{
$this->runAssertInvalidCommand(
filename: 'store.22.wasm',
text: 'type mismatch',
line: 198,
);
}
#[Depends('testAssertInvalid31')]
public function testAssertInvalid32(): void
{
$this->runAssertInvalidCommand(
filename: 'store.23.wasm',
text: 'type mismatch',
line: 208,
);
}
#[Depends('testAssertInvalid32')]
public function testAssertInvalid33(): void
{
$this->runAssertInvalidCommand(
filename: 'store.24.wasm',
text: 'type mismatch',
line: 218,
);
}
#[Depends('testAssertInvalid33')]
public function testAssertInvalid34(): void
{
$this->runAssertInvalidCommand(
filename: 'store.25.wasm',
text: 'type mismatch',
line: 228,
);
}
#[Depends('testAssertInvalid34')]
public function testAssertInvalid35(): void
{
$this->runAssertInvalidCommand(
filename: 'store.26.wasm',
text: 'type mismatch',
line: 238,
);
}
#[Depends('testAssertInvalid35')]
public function testAssertInvalid36(): void
{
$this->runAssertInvalidCommand(
filename: 'store.27.wasm',
text: 'type mismatch',
line: 248,
);
}
#[Depends('testAssertInvalid36')]
public function testAssertInvalid37(): void
{
$this->runAssertInvalidCommand(
filename: 'store.28.wasm',
text: 'type mismatch',
line: 258,
);
}
#[Depends('testAssertInvalid37')]
public function testAssertInvalid38(): void
{
$this->runAssertInvalidCommand(
filename: 'store.29.wasm',
text: 'type mismatch',
line: 268,
);
}
#[Depends('testAssertInvalid38')]
public function testAssertInvalid39(): void
{
$this->runAssertInvalidCommand(
filename: 'store.30.wasm',
text: 'type mismatch',
line: 278,
);
}
#[Depends('testAssertInvalid39')]
public function testAssertInvalid40(): void
{
$this->runAssertInvalidCommand(
filename: 'store.31.wasm',
text: 'type mismatch',
line: 288,
);
}
#[Depends('testAssertInvalid40')]
public function testAssertInvalid41(): void
{
$this->runAssertInvalidCommand(
filename: 'store.32.wasm',
text: 'type mismatch',
line: 298,
);
}
#[Depends('testAssertInvalid41')]
public function testAssertInvalid42(): void
{
$this->runAssertInvalidCommand(
filename: 'store.33.wasm',
text: 'type mismatch',
line: 308,
);
}
#[Depends('testAssertInvalid42')]
public function testAssertInvalid43(): void
{
$this->runAssertInvalidCommand(
filename: 'store.34.wasm',
text: 'type mismatch',
line: 317,
);
}
#[Depends('testAssertInvalid43')]
public function testAssertInvalid44(): void
{
$this->runAssertInvalidCommand(
filename: 'store.35.wasm',
text: 'type mismatch',
line: 326,
);
}
#[Depends('testAssertInvalid44')]
public function testAssertInvalid45(): void
{
$this->runAssertInvalidCommand(
filename: 'store.36.wasm',
text: 'type mismatch',
line: 335,
);
}
#[Depends('testAssertInvalid45')]
public function testAssertInvalid46(): void
{
$this->runAssertInvalidCommand(
filename: 'store.37.wasm',
text: 'type mismatch',
line: 344,
);
}
#[Depends('testAssertInvalid46')]
public function testAssertInvalid47(): void
{
$this->runAssertInvalidCommand(
filename: 'store.38.wasm',
text: 'type mismatch',
line: 354,
);
}
#[Depends('testAssertInvalid47')]
public function testAssertInvalid48(): void
{
$this->runAssertInvalidCommand(
filename: 'store.39.wasm',
text: 'type mismatch',
line: 364,
);
}
#[Depends('testAssertInvalid48')]
public function testAssertInvalid49(): void
{
$this->runAssertInvalidCommand(
filename: 'store.40.wasm',
text: 'type mismatch',
line: 380,
);
}
#[Depends('testAssertInvalid49')]
public function testAssertInvalid50(): void
{
$this->runAssertInvalidCommand(
filename: 'store.41.wasm',
text: 'type mismatch',
line: 399,
);
}
#[Depends('testAssertInvalid50')]
public function testAssertInvalid51(): void
{
$this->runAssertInvalidCommand(
filename: 'store.42.wasm',
text: 'type mismatch',
line: 400,
);
}
#[Depends('testAssertInvalid51')]
public function testAssertInvalid52(): void
{
$this->runAssertInvalidCommand(
filename: 'store.43.wasm',
text: 'type mismatch',
line: 401,
);
}
#[Depends('testAssertInvalid52')]
public function testAssertInvalid53(): void
{
$this->runAssertInvalidCommand(
filename: 'store.44.wasm',
text: 'type mismatch',
line: 402,
);
}
#[Depends('testAssertInvalid53')]
public function testAssertInvalid54(): void
{
$this->runAssertInvalidCommand(
filename: 'store.45.wasm',
text: 'type mismatch',
line: 403,
);
}
#[Depends('testAssertInvalid54')]
public function testAssertInvalid55(): void
{
$this->runAssertInvalidCommand(
filename: 'store.46.wasm',
text: 'type mismatch',
line: 404,
);
}
#[Depends('testAssertInvalid55')]
public function testAssertInvalid56(): void
{
$this->runAssertInvalidCommand(
filename: 'store.47.wasm',
text: 'type mismatch',
line: 405,
);
}
#[Depends('testAssertInvalid56')]
public function testAssertInvalid57(): void
{
$this->runAssertInvalidCommand(
filename: 'store.48.wasm',
text: 'type mismatch',
line: 406,
);
}
#[Depends('testAssertInvalid57')]
public function testAssertInvalid58(): void
{
$this->runAssertInvalidCommand(
filename: 'store.49.wasm',
text: 'type mismatch',
line: 407,
);
}
#[Depends('testAssertInvalid58')]
public function testAssertInvalid59(): void
{
$this->runAssertInvalidCommand(
filename: 'store.50.wasm',
text: 'type mismatch',
line: 409,
);
}
#[Depends('testAssertInvalid59')]
public function testAssertInvalid60(): void
{
$this->runAssertInvalidCommand(
filename: 'store.51.wasm',
text: 'type mismatch',
line: 410,
);
}
#[Depends('testAssertInvalid60')]
public function testAssertInvalid61(): void
{
$this->runAssertInvalidCommand(
filename: 'store.52.wasm',
text: 'type mismatch',
line: 411,
);
}
#[Depends('testAssertInvalid61')]
public function testAssertInvalid62(): void
{
$this->runAssertInvalidCommand(
filename: 'store.53.wasm',
text: 'type mismatch',
line: 412,
);
}
#[Depends('testAssertInvalid62')]
public function testAssertInvalid63(): void
{
$this->runAssertInvalidCommand(
filename: 'store.54.wasm',
text: 'type mismatch',
line: 413,
);
}
#[Depends('testAssertInvalid63')]
public function testAssertInvalid64(): void
{
$this->runAssertInvalidCommand(
filename: 'store.55.wasm',
text: 'type mismatch',
line: 414,
);
}
#[Depends('testAssertInvalid64')]
public function testAssertInvalid65(): void
{
$this->runAssertInvalidCommand(
filename: 'store.56.wasm',
text: 'type mismatch',
line: 415,
);
}
#[Depends('testAssertInvalid65')]
public function testAssertInvalid66(): void
{
$this->runAssertInvalidCommand(
filename: 'store.57.wasm',
text: 'type mismatch',
line: 416,
);
}
#[Depends('testAssertInvalid66')]
public function testAssertInvalid67(): void
{
$this->runAssertInvalidCommand(
filename: 'store.58.wasm',
text: 'type mismatch',
line: 417,
);
}
}
|