diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-04-29 22:54:45 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-04-29 22:54:45 +0900 |
| commit | bd72d3c4acde3f5e79bd494d4678a6e72e92e313 (patch) | |
| tree | 0d0a9e09d915dc185ec99b7b7bda68b380c93b84 | |
| parent | 7b982693cc5f25f9010c30ef14f719e05a3ae605 (diff) | |
| download | php-waddiwasi-bd72d3c4acde3f5e79bd494d4678a6e72e92e313.tar.gz php-waddiwasi-bd72d3c4acde3f5e79bd494d4678a6e72e92e313.tar.zst php-waddiwasi-bd72d3c4acde3f5e79bd494d4678a6e72e92e313.zip | |
test: support action command
67 files changed, 259 insertions, 42 deletions
diff --git a/tests/src/SpecTestsuites/Core/BinaryLeb128Test.php b/tests/src/SpecTestsuites/Core/BinaryLeb128Test.php index ff31a20..c86742d 100644 --- a/tests/src/SpecTestsuites/Core/BinaryLeb128Test.php +++ b/tests/src/SpecTestsuites/Core/BinaryLeb128Test.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class BinaryLeb128Test extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/BinaryTest.php b/tests/src/SpecTestsuites/Core/BinaryTest.php index 8e6919f..7ebed9a 100644 --- a/tests/src/SpecTestsuites/Core/BinaryTest.php +++ b/tests/src/SpecTestsuites/Core/BinaryTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class BinaryTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/BrIfTest.php b/tests/src/SpecTestsuites/Core/BrIfTest.php index df53e41..325a04f 100644 --- a/tests/src/SpecTestsuites/Core/BrIfTest.php +++ b/tests/src/SpecTestsuites/Core/BrIfTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class BrIfTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/BrTableTest.php b/tests/src/SpecTestsuites/Core/BrTableTest.php index 1e93dc3..6ff20d5 100644 --- a/tests/src/SpecTestsuites/Core/BrTableTest.php +++ b/tests/src/SpecTestsuites/Core/BrTableTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class BrTableTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/BrTest.php b/tests/src/SpecTestsuites/Core/BrTest.php index 869df6f..63d7c67 100644 --- a/tests/src/SpecTestsuites/Core/BrTest.php +++ b/tests/src/SpecTestsuites/Core/BrTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class BrTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/BulkTest.php b/tests/src/SpecTestsuites/Core/BulkTest.php index 3b3ff70..0556c20 100644 --- a/tests/src/SpecTestsuites/Core/BulkTest.php +++ b/tests/src/SpecTestsuites/Core/BulkTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class BulkTest extends SpecTestsuiteBase { @@ -42,6 +43,7 @@ final class BulkTest extends SpecTestsuiteBase public function testAction3(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'fill', 'args' => [['type' => 'i32', 'value' => '1'], ['type' => 'i32', 'value' => '255'], ['type' => 'i32', 'value' => '3']]], line: 27, ); @@ -106,6 +108,7 @@ final class BulkTest extends SpecTestsuiteBase public function testAction9(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'fill', 'args' => [['type' => 'i32', 'value' => '0'], ['type' => 'i32', 'value' => '48042'], ['type' => 'i32', 'value' => '2']]], line: 35, ); @@ -137,6 +140,7 @@ final class BulkTest extends SpecTestsuiteBase public function testAction12(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'fill', 'args' => [['type' => 'i32', 'value' => '0'], ['type' => 'i32', 'value' => '0'], ['type' => 'i32', 'value' => '65536']]], line: 40, ); @@ -179,6 +183,7 @@ final class BulkTest extends SpecTestsuiteBase public function testAction16(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'fill', 'args' => [['type' => 'i32', 'value' => '65536'], ['type' => 'i32', 'value' => '0'], ['type' => 'i32', 'value' => '0']]], line: 49, ); @@ -209,6 +214,7 @@ final class BulkTest extends SpecTestsuiteBase public function testAction19(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'copy', 'args' => [['type' => 'i32', 'value' => '10'], ['type' => 'i32', 'value' => '0'], ['type' => 'i32', 'value' => '4']]], line: 71, ); @@ -284,6 +290,7 @@ final class BulkTest extends SpecTestsuiteBase public function testAction26(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'copy', 'args' => [['type' => 'i32', 'value' => '8'], ['type' => 'i32', 'value' => '10'], ['type' => 'i32', 'value' => '4']]], line: 81, ); @@ -359,6 +366,7 @@ final class BulkTest extends SpecTestsuiteBase public function testAction33(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'copy', 'args' => [['type' => 'i32', 'value' => '10'], ['type' => 'i32', 'value' => '7'], ['type' => 'i32', 'value' => '6']]], line: 90, ); @@ -445,6 +453,7 @@ final class BulkTest extends SpecTestsuiteBase public function testAction41(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'copy', 'args' => [['type' => 'i32', 'value' => '65280'], ['type' => 'i32', 'value' => '0'], ['type' => 'i32', 'value' => '256']]], line: 100, ); @@ -454,6 +463,7 @@ final class BulkTest extends SpecTestsuiteBase public function testAction42(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'copy', 'args' => [['type' => 'i32', 'value' => '65024'], ['type' => 'i32', 'value' => '65280'], ['type' => 'i32', 'value' => '256']]], line: 101, ); @@ -463,6 +473,7 @@ final class BulkTest extends SpecTestsuiteBase public function testAction43(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'copy', 'args' => [['type' => 'i32', 'value' => '65536'], ['type' => 'i32', 'value' => '0'], ['type' => 'i32', 'value' => '0']]], line: 104, ); @@ -472,6 +483,7 @@ final class BulkTest extends SpecTestsuiteBase public function testAction44(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'copy', 'args' => [['type' => 'i32', 'value' => '0'], ['type' => 'i32', 'value' => '65536'], ['type' => 'i32', 'value' => '0']]], line: 105, ); @@ -513,6 +525,7 @@ final class BulkTest extends SpecTestsuiteBase public function testAction48(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'init', 'args' => [['type' => 'i32', 'value' => '0'], ['type' => 'i32', 'value' => '1'], ['type' => 'i32', 'value' => '2']]], line: 129, ); @@ -555,6 +568,7 @@ final class BulkTest extends SpecTestsuiteBase public function testAction52(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'init', 'args' => [['type' => 'i32', 'value' => '65532'], ['type' => 'i32', 'value' => '0'], ['type' => 'i32', 'value' => '4']]], line: 135, ); @@ -597,6 +611,7 @@ final class BulkTest extends SpecTestsuiteBase public function testAction56(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'init', 'args' => [['type' => 'i32', 'value' => '65536'], ['type' => 'i32', 'value' => '0'], ['type' => 'i32', 'value' => '0']]], line: 144, ); @@ -606,6 +621,7 @@ final class BulkTest extends SpecTestsuiteBase public function testAction57(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'init', 'args' => [['type' => 'i32', 'value' => '0'], ['type' => 'i32', 'value' => '4'], ['type' => 'i32', 'value' => '0']]], line: 145, ); @@ -647,6 +663,7 @@ final class BulkTest extends SpecTestsuiteBase public function testAction61(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'init_passive', 'args' => [['type' => 'i32', 'value' => '1']]], line: 168, ); @@ -656,6 +673,7 @@ final class BulkTest extends SpecTestsuiteBase public function testAction62(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'drop_passive', 'args' => []], line: 169, ); @@ -665,6 +683,7 @@ final class BulkTest extends SpecTestsuiteBase public function testAction63(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'drop_passive', 'args' => []], line: 170, ); @@ -696,6 +715,7 @@ final class BulkTest extends SpecTestsuiteBase public function testAction66(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'init_passive', 'args' => [['type' => 'i32', 'value' => '0']]], line: 173, ); @@ -705,6 +725,7 @@ final class BulkTest extends SpecTestsuiteBase public function testAction67(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'drop_active', 'args' => []], line: 174, ); @@ -736,6 +757,7 @@ final class BulkTest extends SpecTestsuiteBase public function testAction70(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'init_active', 'args' => [['type' => 'i32', 'value' => '0']]], line: 177, ); @@ -797,6 +819,7 @@ final class BulkTest extends SpecTestsuiteBase public function testAction76(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'init', 'args' => [['type' => 'i32', 'value' => '0'], ['type' => 'i32', 'value' => '1'], ['type' => 'i32', 'value' => '2']]], line: 224, ); @@ -839,6 +862,7 @@ final class BulkTest extends SpecTestsuiteBase public function testAction80(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'init', 'args' => [['type' => 'i32', 'value' => '1'], ['type' => 'i32', 'value' => '2'], ['type' => 'i32', 'value' => '2']]], line: 230, ); @@ -848,6 +872,7 @@ final class BulkTest extends SpecTestsuiteBase public function testAction81(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'init', 'args' => [['type' => 'i32', 'value' => '3'], ['type' => 'i32', 'value' => '0'], ['type' => 'i32', 'value' => '0']]], line: 233, ); @@ -857,6 +882,7 @@ final class BulkTest extends SpecTestsuiteBase public function testAction82(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'init', 'args' => [['type' => 'i32', 'value' => '0'], ['type' => 'i32', 'value' => '4'], ['type' => 'i32', 'value' => '0']]], line: 234, ); @@ -898,6 +924,7 @@ final class BulkTest extends SpecTestsuiteBase public function testAction86(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'init_passive', 'args' => [['type' => 'i32', 'value' => '1']]], line: 261, ); @@ -907,6 +934,7 @@ final class BulkTest extends SpecTestsuiteBase public function testAction87(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'drop_passive', 'args' => []], line: 262, ); @@ -916,6 +944,7 @@ final class BulkTest extends SpecTestsuiteBase public function testAction88(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'drop_passive', 'args' => []], line: 263, ); @@ -947,6 +976,7 @@ final class BulkTest extends SpecTestsuiteBase public function testAction91(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'init_passive', 'args' => [['type' => 'i32', 'value' => '0']]], line: 266, ); @@ -956,6 +986,7 @@ final class BulkTest extends SpecTestsuiteBase public function testAction92(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'drop_active', 'args' => []], line: 267, ); @@ -987,6 +1018,7 @@ final class BulkTest extends SpecTestsuiteBase public function testAction95(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'init_active', 'args' => [['type' => 'i32', 'value' => '0']]], line: 270, ); @@ -1026,6 +1058,7 @@ final class BulkTest extends SpecTestsuiteBase public function testAction99(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'copy', 'args' => [['type' => 'i32', 'value' => '3'], ['type' => 'i32', 'value' => '0'], ['type' => 'i32', 'value' => '3']]], line: 319, ); @@ -1068,6 +1101,7 @@ final class BulkTest extends SpecTestsuiteBase public function testAction103(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'copy', 'args' => [['type' => 'i32', 'value' => '0'], ['type' => 'i32', 'value' => '1'], ['type' => 'i32', 'value' => '3']]], line: 326, ); @@ -1110,6 +1144,7 @@ final class BulkTest extends SpecTestsuiteBase public function testAction107(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'copy', 'args' => [['type' => 'i32', 'value' => '2'], ['type' => 'i32', 'value' => '0'], ['type' => 'i32', 'value' => '3']]], line: 333, ); @@ -1152,6 +1187,7 @@ final class BulkTest extends SpecTestsuiteBase public function testAction111(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'copy', 'args' => [['type' => 'i32', 'value' => '6'], ['type' => 'i32', 'value' => '8'], ['type' => 'i32', 'value' => '2']]], line: 340, ); @@ -1161,6 +1197,7 @@ final class BulkTest extends SpecTestsuiteBase public function testAction112(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'copy', 'args' => [['type' => 'i32', 'value' => '8'], ['type' => 'i32', 'value' => '6'], ['type' => 'i32', 'value' => '2']]], line: 341, ); @@ -1170,6 +1207,7 @@ final class BulkTest extends SpecTestsuiteBase public function testAction113(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'copy', 'args' => [['type' => 'i32', 'value' => '10'], ['type' => 'i32', 'value' => '0'], ['type' => 'i32', 'value' => '0']]], line: 344, ); @@ -1179,6 +1217,7 @@ final class BulkTest extends SpecTestsuiteBase public function testAction114(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'copy', 'args' => [['type' => 'i32', 'value' => '0'], ['type' => 'i32', 'value' => '10'], ['type' => 'i32', 'value' => '0']]], line: 345, ); diff --git a/tests/src/SpecTestsuites/Core/CallTest.php b/tests/src/SpecTestsuites/Core/CallTest.php index 215d319..e60f8bc 100644 --- a/tests/src/SpecTestsuites/Core/CallTest.php +++ b/tests/src/SpecTestsuites/Core/CallTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class CallTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/ConversionsTest.php b/tests/src/SpecTestsuites/Core/ConversionsTest.php index 68b29d2..007aab8 100644 --- a/tests/src/SpecTestsuites/Core/ConversionsTest.php +++ b/tests/src/SpecTestsuites/Core/ConversionsTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class ConversionsTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/CustomTest.php b/tests/src/SpecTestsuites/Core/CustomTest.php index 98eb51a..a632344 100644 --- a/tests/src/SpecTestsuites/Core/CustomTest.php +++ b/tests/src/SpecTestsuites/Core/CustomTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class CustomTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/DataTest.php b/tests/src/SpecTestsuites/Core/DataTest.php index 6910846..bd2c7d2 100644 --- a/tests/src/SpecTestsuites/Core/DataTest.php +++ b/tests/src/SpecTestsuites/Core/DataTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class DataTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/ElemTest.php b/tests/src/SpecTestsuites/Core/ElemTest.php index 5f84445..de28085 100644 --- a/tests/src/SpecTestsuites/Core/ElemTest.php +++ b/tests/src/SpecTestsuites/Core/ElemTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class ElemTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/EndiannessTest.php b/tests/src/SpecTestsuites/Core/EndiannessTest.php index 0e6186b..6219a77 100644 --- a/tests/src/SpecTestsuites/Core/EndiannessTest.php +++ b/tests/src/SpecTestsuites/Core/EndiannessTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class EndiannessTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/ExportsTest.php b/tests/src/SpecTestsuites/Core/ExportsTest.php index d4d7538..88dc682 100644 --- a/tests/src/SpecTestsuites/Core/ExportsTest.php +++ b/tests/src/SpecTestsuites/Core/ExportsTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class ExportsTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/F32BitwiseTest.php b/tests/src/SpecTestsuites/Core/F32BitwiseTest.php index a06761a..a535ff2 100644 --- a/tests/src/SpecTestsuites/Core/F32BitwiseTest.php +++ b/tests/src/SpecTestsuites/Core/F32BitwiseTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class F32BitwiseTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/F32CmpTest.php b/tests/src/SpecTestsuites/Core/F32CmpTest.php index 5f94e68..aa87b15 100644 --- a/tests/src/SpecTestsuites/Core/F32CmpTest.php +++ b/tests/src/SpecTestsuites/Core/F32CmpTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class F32CmpTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/F64BitwiseTest.php b/tests/src/SpecTestsuites/Core/F64BitwiseTest.php index 21380f2..f5210f1 100644 --- a/tests/src/SpecTestsuites/Core/F64BitwiseTest.php +++ b/tests/src/SpecTestsuites/Core/F64BitwiseTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class F64BitwiseTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/F64CmpTest.php b/tests/src/SpecTestsuites/Core/F64CmpTest.php index d76912f..9431f1d 100644 --- a/tests/src/SpecTestsuites/Core/F64CmpTest.php +++ b/tests/src/SpecTestsuites/Core/F64CmpTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class F64CmpTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/FacTest.php b/tests/src/SpecTestsuites/Core/FacTest.php index 2db83d9..319bc55 100644 --- a/tests/src/SpecTestsuites/Core/FacTest.php +++ b/tests/src/SpecTestsuites/Core/FacTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class FacTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/FloatExprsTest.php b/tests/src/SpecTestsuites/Core/FloatExprsTest.php index fcd53b0..0de935c 100644 --- a/tests/src/SpecTestsuites/Core/FloatExprsTest.php +++ b/tests/src/SpecTestsuites/Core/FloatExprsTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class FloatExprsTest extends SpecTestsuiteBase { @@ -3920,6 +3921,7 @@ final class FloatExprsTest extends SpecTestsuiteBase public function testAction359(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'init', 'args' => [['type' => 'i32', 'value' => '0'], ['type' => 'f32', 'value' => '1097963930']]], line: 784, ); @@ -3929,6 +3931,7 @@ final class FloatExprsTest extends SpecTestsuiteBase public function testAction360(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'init', 'args' => [['type' => 'i32', 'value' => '4'], ['type' => 'f32', 'value' => '1098068787']]], line: 785, ); @@ -3938,6 +3941,7 @@ final class FloatExprsTest extends SpecTestsuiteBase public function testAction361(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'init', 'args' => [['type' => 'i32', 'value' => '8'], ['type' => 'f32', 'value' => '1098173645']]], line: 786, ); @@ -3947,6 +3951,7 @@ final class FloatExprsTest extends SpecTestsuiteBase public function testAction362(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'init', 'args' => [['type' => 'i32', 'value' => '12'], ['type' => 'f32', 'value' => '1098278502']]], line: 787, ); @@ -4000,6 +4005,7 @@ final class FloatExprsTest extends SpecTestsuiteBase public function testAction367(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'run', 'args' => [['type' => 'i32', 'value' => '16'], ['type' => 'f32', 'value' => '1077936128']]], line: 792, ); @@ -4063,6 +4069,7 @@ final class FloatExprsTest extends SpecTestsuiteBase public function testAction373(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'init', 'args' => [['type' => 'i32', 'value' => '0'], ['type' => 'f64', 'value' => '4624690162351420211']]], line: 819, ); @@ -4072,6 +4079,7 @@ final class FloatExprsTest extends SpecTestsuiteBase public function testAction374(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'init', 'args' => [['type' => 'i32', 'value' => '8'], ['type' => 'f64', 'value' => '4624746457346762342']]], line: 820, ); @@ -4081,6 +4089,7 @@ final class FloatExprsTest extends SpecTestsuiteBase public function testAction375(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'init', 'args' => [['type' => 'i32', 'value' => '16'], ['type' => 'f64', 'value' => '4624802752342104474']]], line: 821, ); @@ -4090,6 +4099,7 @@ final class FloatExprsTest extends SpecTestsuiteBase public function testAction376(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'init', 'args' => [['type' => 'i32', 'value' => '24'], ['type' => 'f64', 'value' => '4624859047337446605']]], line: 822, ); @@ -4143,6 +4153,7 @@ final class FloatExprsTest extends SpecTestsuiteBase public function testAction381(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'run', 'args' => [['type' => 'i32', 'value' => '32'], ['type' => 'f64', 'value' => '4613937818241073152']]], line: 827, ); diff --git a/tests/src/SpecTestsuites/Core/FloatMemoryTest.php b/tests/src/SpecTestsuites/Core/FloatMemoryTest.php index 3c10694..3230e4b 100644 --- a/tests/src/SpecTestsuites/Core/FloatMemoryTest.php +++ b/tests/src/SpecTestsuites/Core/FloatMemoryTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class FloatMemoryTest extends SpecTestsuiteBase { @@ -44,6 +45,7 @@ final class FloatMemoryTest extends SpecTestsuiteBase public function testAction3(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'reset', 'args' => []], line: 17, ); @@ -75,6 +77,7 @@ final class FloatMemoryTest extends SpecTestsuiteBase public function testAction6(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'f32.store', 'args' => []], line: 20, ); @@ -106,6 +109,7 @@ final class FloatMemoryTest extends SpecTestsuiteBase public function testAction9(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'reset', 'args' => []], line: 23, ); @@ -137,6 +141,7 @@ final class FloatMemoryTest extends SpecTestsuiteBase public function testAction12(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'i32.store', 'args' => []], line: 26, ); @@ -200,6 +205,7 @@ final class FloatMemoryTest extends SpecTestsuiteBase public function testAction18(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'reset', 'args' => []], line: 42, ); @@ -231,6 +237,7 @@ final class FloatMemoryTest extends SpecTestsuiteBase public function testAction21(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'f64.store', 'args' => []], line: 45, ); @@ -262,6 +269,7 @@ final class FloatMemoryTest extends SpecTestsuiteBase public function testAction24(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'reset', 'args' => []], line: 48, ); @@ -293,6 +301,7 @@ final class FloatMemoryTest extends SpecTestsuiteBase public function testAction27(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'i64.store', 'args' => []], line: 51, ); @@ -356,6 +365,7 @@ final class FloatMemoryTest extends SpecTestsuiteBase public function testAction33(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'reset', 'args' => []], line: 69, ); @@ -387,6 +397,7 @@ final class FloatMemoryTest extends SpecTestsuiteBase public function testAction36(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'f32.store', 'args' => []], line: 72, ); @@ -418,6 +429,7 @@ final class FloatMemoryTest extends SpecTestsuiteBase public function testAction39(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'reset', 'args' => []], line: 75, ); @@ -449,6 +461,7 @@ final class FloatMemoryTest extends SpecTestsuiteBase public function testAction42(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'i32.store', 'args' => []], line: 78, ); @@ -512,6 +525,7 @@ final class FloatMemoryTest extends SpecTestsuiteBase public function testAction48(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'reset', 'args' => []], line: 94, ); @@ -543,6 +557,7 @@ final class FloatMemoryTest extends SpecTestsuiteBase public function testAction51(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'f64.store', 'args' => []], line: 97, ); @@ -574,6 +589,7 @@ final class FloatMemoryTest extends SpecTestsuiteBase public function testAction54(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'reset', 'args' => []], line: 100, ); @@ -605,6 +621,7 @@ final class FloatMemoryTest extends SpecTestsuiteBase public function testAction57(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'i64.store', 'args' => []], line: 103, ); @@ -668,6 +685,7 @@ final class FloatMemoryTest extends SpecTestsuiteBase public function testAction63(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'reset', 'args' => []], line: 121, ); @@ -699,6 +717,7 @@ final class FloatMemoryTest extends SpecTestsuiteBase public function testAction66(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'f32.store', 'args' => []], line: 124, ); @@ -730,6 +749,7 @@ final class FloatMemoryTest extends SpecTestsuiteBase public function testAction69(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'reset', 'args' => []], line: 127, ); @@ -761,6 +781,7 @@ final class FloatMemoryTest extends SpecTestsuiteBase public function testAction72(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'i32.store', 'args' => []], line: 130, ); @@ -824,6 +845,7 @@ final class FloatMemoryTest extends SpecTestsuiteBase public function testAction78(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'reset', 'args' => []], line: 146, ); @@ -855,6 +877,7 @@ final class FloatMemoryTest extends SpecTestsuiteBase public function testAction81(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'f64.store', 'args' => []], line: 149, ); @@ -886,6 +909,7 @@ final class FloatMemoryTest extends SpecTestsuiteBase public function testAction84(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'reset', 'args' => []], line: 152, ); @@ -917,6 +941,7 @@ final class FloatMemoryTest extends SpecTestsuiteBase public function testAction87(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'i64.store', 'args' => []], line: 155, ); diff --git a/tests/src/SpecTestsuites/Core/FloatMiscTest.php b/tests/src/SpecTestsuites/Core/FloatMiscTest.php index 6059005..56cadce 100644 --- a/tests/src/SpecTestsuites/Core/FloatMiscTest.php +++ b/tests/src/SpecTestsuites/Core/FloatMiscTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class FloatMiscTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/ForwardTest.php b/tests/src/SpecTestsuites/Core/ForwardTest.php index 9b01b47..3573991 100644 --- a/tests/src/SpecTestsuites/Core/ForwardTest.php +++ b/tests/src/SpecTestsuites/Core/ForwardTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class ForwardTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/FuncPtrsTest.php b/tests/src/SpecTestsuites/Core/FuncPtrsTest.php index 25f51f3..9cffa27 100644 --- a/tests/src/SpecTestsuites/Core/FuncPtrsTest.php +++ b/tests/src/SpecTestsuites/Core/FuncPtrsTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class FuncPtrsTest extends SpecTestsuiteBase { @@ -55,6 +56,7 @@ final class FuncPtrsTest extends SpecTestsuiteBase public function testAction4(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'four', 'args' => [['type' => 'i32', 'value' => '83']]], line: 30, ); diff --git a/tests/src/SpecTestsuites/Core/InlineModuleTest.php b/tests/src/SpecTestsuites/Core/InlineModuleTest.php index 9b9c85b..f133a5f 100644 --- a/tests/src/SpecTestsuites/Core/InlineModuleTest.php +++ b/tests/src/SpecTestsuites/Core/InlineModuleTest.php @@ -5,6 +5,8 @@ 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 InlineModuleTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/IntExprsTest.php b/tests/src/SpecTestsuites/Core/IntExprsTest.php index 80da252..a1ad609 100644 --- a/tests/src/SpecTestsuites/Core/IntExprsTest.php +++ b/tests/src/SpecTestsuites/Core/IntExprsTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class IntExprsTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/LabelsTest.php b/tests/src/SpecTestsuites/Core/LabelsTest.php index cfab89d..abcd569 100644 --- a/tests/src/SpecTestsuites/Core/LabelsTest.php +++ b/tests/src/SpecTestsuites/Core/LabelsTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class LabelsTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/LeftToRightTest.php b/tests/src/SpecTestsuites/Core/LeftToRightTest.php index 0e752c3..98fe97f 100644 --- a/tests/src/SpecTestsuites/Core/LeftToRightTest.php +++ b/tests/src/SpecTestsuites/Core/LeftToRightTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class LeftToRightTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/LinkingTest.php b/tests/src/SpecTestsuites/Core/LinkingTest.php index 28400e1..ce596af 100644 --- a/tests/src/SpecTestsuites/Core/LinkingTest.php +++ b/tests/src/SpecTestsuites/Core/LinkingTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class LinkingTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/LocalGetTest.php b/tests/src/SpecTestsuites/Core/LocalGetTest.php index 815253a..4824f2f 100644 --- a/tests/src/SpecTestsuites/Core/LocalGetTest.php +++ b/tests/src/SpecTestsuites/Core/LocalGetTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class LocalGetTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/LocalSetTest.php b/tests/src/SpecTestsuites/Core/LocalSetTest.php index 0810df4..ce031f3 100644 --- a/tests/src/SpecTestsuites/Core/LocalSetTest.php +++ b/tests/src/SpecTestsuites/Core/LocalSetTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class LocalSetTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/LocalTeeTest.php b/tests/src/SpecTestsuites/Core/LocalTeeTest.php index 1ba5fd2..ae6c094 100644 --- a/tests/src/SpecTestsuites/Core/LocalTeeTest.php +++ b/tests/src/SpecTestsuites/Core/LocalTeeTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class LocalTeeTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/MemoryCopyTest.php b/tests/src/SpecTestsuites/Core/MemoryCopyTest.php index 034ab82..eeb7c06 100644 --- a/tests/src/SpecTestsuites/Core/MemoryCopyTest.php +++ b/tests/src/SpecTestsuites/Core/MemoryCopyTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class MemoryCopyTest extends SpecTestsuiteBase { @@ -22,6 +23,7 @@ final class MemoryCopyTest extends SpecTestsuiteBase public function testAction1(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 15, ); @@ -371,6 +373,7 @@ final class MemoryCopyTest extends SpecTestsuiteBase public function testAction33(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 57, ); @@ -720,6 +723,7 @@ final class MemoryCopyTest extends SpecTestsuiteBase public function testAction65(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 99, ); @@ -1069,6 +1073,7 @@ final class MemoryCopyTest extends SpecTestsuiteBase public function testAction97(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 141, ); @@ -1418,6 +1423,7 @@ final class MemoryCopyTest extends SpecTestsuiteBase public function testAction129(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 183, ); @@ -1767,6 +1773,7 @@ final class MemoryCopyTest extends SpecTestsuiteBase public function testAction161(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 225, ); @@ -2116,6 +2123,7 @@ final class MemoryCopyTest extends SpecTestsuiteBase public function testAction193(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 267, ); @@ -2465,6 +2473,7 @@ final class MemoryCopyTest extends SpecTestsuiteBase public function testAction225(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 309, ); @@ -45936,6 +45945,7 @@ final class MemoryCopyTest extends SpecTestsuiteBase public function testAction4184(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 4780, ); @@ -45988,6 +45998,7 @@ final class MemoryCopyTest extends SpecTestsuiteBase public function testAction4189(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 4806, ); @@ -46124,6 +46135,7 @@ final class MemoryCopyTest extends SpecTestsuiteBase public function testAction4202(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 4857, ); @@ -46165,6 +46177,7 @@ final class MemoryCopyTest extends SpecTestsuiteBase public function testAction4206(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 4867, ); @@ -46205,6 +46218,7 @@ final class MemoryCopyTest extends SpecTestsuiteBase public function testAction4210(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 4879, ); @@ -46245,6 +46259,7 @@ final class MemoryCopyTest extends SpecTestsuiteBase public function testAction4214(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 4891, ); @@ -46285,6 +46300,7 @@ final class MemoryCopyTest extends SpecTestsuiteBase public function testAction4218(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 5115, ); diff --git a/tests/src/SpecTestsuites/Core/MemoryFillTest.php b/tests/src/SpecTestsuites/Core/MemoryFillTest.php index 11d49ec..081439f 100644 --- a/tests/src/SpecTestsuites/Core/MemoryFillTest.php +++ b/tests/src/SpecTestsuites/Core/MemoryFillTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class MemoryFillTest extends SpecTestsuiteBase { @@ -22,6 +23,7 @@ final class MemoryFillTest extends SpecTestsuiteBase public function testAction1(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 22, ); @@ -105,6 +107,7 @@ final class MemoryFillTest extends SpecTestsuiteBase public function testAction9(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 80, ); @@ -135,6 +138,7 @@ final class MemoryFillTest extends SpecTestsuiteBase public function testAction12(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 100, ); @@ -175,6 +179,7 @@ final class MemoryFillTest extends SpecTestsuiteBase public function testAction16(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 136, ); @@ -227,6 +232,7 @@ final class MemoryFillTest extends SpecTestsuiteBase public function testAction21(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 162, ); diff --git a/tests/src/SpecTestsuites/Core/MemoryGrowTest.php b/tests/src/SpecTestsuites/Core/MemoryGrowTest.php index a74453e..e11cf58 100644 --- a/tests/src/SpecTestsuites/Core/MemoryGrowTest.php +++ b/tests/src/SpecTestsuites/Core/MemoryGrowTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class MemoryGrowTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/MemoryInitTest.php b/tests/src/SpecTestsuites/Core/MemoryInitTest.php index 46ddf01..309b018 100644 --- a/tests/src/SpecTestsuites/Core/MemoryInitTest.php +++ b/tests/src/SpecTestsuites/Core/MemoryInitTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class MemoryInitTest extends SpecTestsuiteBase { @@ -22,6 +23,7 @@ final class MemoryInitTest extends SpecTestsuiteBase public function testAction1(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 17, ); @@ -371,6 +373,7 @@ final class MemoryInitTest extends SpecTestsuiteBase public function testAction33(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 61, ); @@ -720,6 +723,7 @@ final class MemoryInitTest extends SpecTestsuiteBase public function testAction65(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 105, ); @@ -1069,6 +1073,7 @@ final class MemoryInitTest extends SpecTestsuiteBase public function testAction97(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 157, ); @@ -1438,6 +1443,7 @@ final class MemoryInitTest extends SpecTestsuiteBase public function testAction131(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 209, ); @@ -1519,6 +1525,7 @@ final class MemoryInitTest extends SpecTestsuiteBase public function testAction139(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 246, ); @@ -1622,6 +1629,7 @@ final class MemoryInitTest extends SpecTestsuiteBase public function testAction149(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 281, ); @@ -1662,6 +1670,7 @@ final class MemoryInitTest extends SpecTestsuiteBase public function testAction153(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 295, ); @@ -1681,6 +1690,7 @@ final class MemoryInitTest extends SpecTestsuiteBase public function testAction155(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 302, ); diff --git a/tests/src/SpecTestsuites/Core/MemoryRedundancyTest.php b/tests/src/SpecTestsuites/Core/MemoryRedundancyTest.php index df23418..a44e19b 100644 --- a/tests/src/SpecTestsuites/Core/MemoryRedundancyTest.php +++ b/tests/src/SpecTestsuites/Core/MemoryRedundancyTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class MemoryRedundancyTest extends SpecTestsuiteBase { @@ -33,6 +34,7 @@ final class MemoryRedundancyTest extends SpecTestsuiteBase public function testAction2(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'zero_everything', 'args' => []], line: 60, ); @@ -53,6 +55,7 @@ final class MemoryRedundancyTest extends SpecTestsuiteBase public function testAction4(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'zero_everything', 'args' => []], line: 62, ); @@ -73,6 +76,7 @@ final class MemoryRedundancyTest extends SpecTestsuiteBase public function testAction6(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'zero_everything', 'args' => []], line: 64, ); diff --git a/tests/src/SpecTestsuites/Core/MemorySizeTest.php b/tests/src/SpecTestsuites/Core/MemorySizeTest.php index 60f3405..f4d8208 100644 --- a/tests/src/SpecTestsuites/Core/MemorySizeTest.php +++ b/tests/src/SpecTestsuites/Core/MemorySizeTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class MemorySizeTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/MemoryTrapTest.php b/tests/src/SpecTestsuites/Core/MemoryTrapTest.php index c4ef0a7..c7949bc 100644 --- a/tests/src/SpecTestsuites/Core/MemoryTrapTest.php +++ b/tests/src/SpecTestsuites/Core/MemoryTrapTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class MemoryTrapTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/NamesTest.php b/tests/src/SpecTestsuites/Core/NamesTest.php index b8808af..393df04 100644 --- a/tests/src/SpecTestsuites/Core/NamesTest.php +++ b/tests/src/SpecTestsuites/Core/NamesTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class NamesTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/NopTest.php b/tests/src/SpecTestsuites/Core/NopTest.php index ad14f69..05edc9a 100644 --- a/tests/src/SpecTestsuites/Core/NopTest.php +++ b/tests/src/SpecTestsuites/Core/NopTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class NopTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/RefFuncTest.php b/tests/src/SpecTestsuites/Core/RefFuncTest.php index f68f2a0..f73512c 100644 --- a/tests/src/SpecTestsuites/Core/RefFuncTest.php +++ b/tests/src/SpecTestsuites/Core/RefFuncTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class RefFuncTest extends SpecTestsuiteBase { @@ -108,6 +109,7 @@ final class RefFuncTest extends SpecTestsuiteBase public function testAction9(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'set-g', 'args' => []], line: 63, ); @@ -128,6 +130,7 @@ final class RefFuncTest extends SpecTestsuiteBase public function testAction11(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'set-f', 'args' => []], line: 65, ); diff --git a/tests/src/SpecTestsuites/Core/RefIsNullTest.php b/tests/src/SpecTestsuites/Core/RefIsNullTest.php index 94cb545..2b4ca5c 100644 --- a/tests/src/SpecTestsuites/Core/RefIsNullTest.php +++ b/tests/src/SpecTestsuites/Core/RefIsNullTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class RefIsNullTest extends SpecTestsuiteBase { @@ -55,6 +56,7 @@ final class RefIsNullTest extends SpecTestsuiteBase public function testAction4(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'init', 'args' => [['type' => 'externref', 'value' => '0']]], line: 35, ); @@ -108,6 +110,7 @@ final class RefIsNullTest extends SpecTestsuiteBase public function testAction9(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'deinit', 'args' => []], line: 43, ); diff --git a/tests/src/SpecTestsuites/Core/RefNullTest.php b/tests/src/SpecTestsuites/Core/RefNullTest.php index 019a609..dba16b4 100644 --- a/tests/src/SpecTestsuites/Core/RefNullTest.php +++ b/tests/src/SpecTestsuites/Core/RefNullTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class RefNullTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/ReturnTest.php b/tests/src/SpecTestsuites/Core/ReturnTest.php index 3796710..5648e1a 100644 --- a/tests/src/SpecTestsuites/Core/ReturnTest.php +++ b/tests/src/SpecTestsuites/Core/ReturnTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class ReturnTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/SelectTest.php b/tests/src/SpecTestsuites/Core/SelectTest.php index 881a584..39f45eb 100644 --- a/tests/src/SpecTestsuites/Core/SelectTest.php +++ b/tests/src/SpecTestsuites/Core/SelectTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class SelectTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/SkipStackGuardPageTest.php b/tests/src/SpecTestsuites/Core/SkipStackGuardPageTest.php index 5ac00fe..246b92c 100644 --- a/tests/src/SpecTestsuites/Core/SkipStackGuardPageTest.php +++ b/tests/src/SpecTestsuites/Core/SkipStackGuardPageTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class SkipStackGuardPageTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/StackTest.php b/tests/src/SpecTestsuites/Core/StackTest.php index 9e4377f..5c66699 100644 --- a/tests/src/SpecTestsuites/Core/StackTest.php +++ b/tests/src/SpecTestsuites/Core/StackTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class StackTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/StartTest.php b/tests/src/SpecTestsuites/Core/StartTest.php index 1275dcc..96022d4 100644 --- a/tests/src/SpecTestsuites/Core/StartTest.php +++ b/tests/src/SpecTestsuites/Core/StartTest.php @@ -64,6 +64,7 @@ final class StartTest extends SpecTestsuiteBase public function testAction5(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'inc', 'args' => []], line: 46, ); @@ -84,6 +85,7 @@ final class StartTest extends SpecTestsuiteBase public function testAction7(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'inc', 'args' => []], line: 48, ); @@ -125,6 +127,7 @@ final class StartTest extends SpecTestsuiteBase public function testAction11(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'inc', 'args' => []], line: 75, ); @@ -145,6 +148,7 @@ final class StartTest extends SpecTestsuiteBase public function testAction13(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'inc', 'args' => []], line: 77, ); diff --git a/tests/src/SpecTestsuites/Core/SwitchTest.php b/tests/src/SpecTestsuites/Core/SwitchTest.php index fcefd9f..4e3502f 100644 --- a/tests/src/SpecTestsuites/Core/SwitchTest.php +++ b/tests/src/SpecTestsuites/Core/SwitchTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class SwitchTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/TableCopyTest.php b/tests/src/SpecTestsuites/Core/TableCopyTest.php index 81d7252..6b82851 100644 --- a/tests/src/SpecTestsuites/Core/TableCopyTest.php +++ b/tests/src/SpecTestsuites/Core/TableCopyTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class TableCopyTest extends SpecTestsuiteBase { @@ -42,6 +43,7 @@ final class TableCopyTest extends SpecTestsuiteBase public function testAction3(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 45, ); @@ -721,6 +723,7 @@ final class TableCopyTest extends SpecTestsuiteBase public function testAction65(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 137, ); @@ -1400,6 +1403,7 @@ final class TableCopyTest extends SpecTestsuiteBase public function testAction127(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 229, ); @@ -2079,6 +2083,7 @@ final class TableCopyTest extends SpecTestsuiteBase public function testAction189(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 321, ); @@ -2758,6 +2763,7 @@ final class TableCopyTest extends SpecTestsuiteBase public function testAction251(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 413, ); @@ -3437,6 +3443,7 @@ final class TableCopyTest extends SpecTestsuiteBase public function testAction313(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 505, ); @@ -4116,6 +4123,7 @@ final class TableCopyTest extends SpecTestsuiteBase public function testAction375(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 597, ); @@ -4795,6 +4803,7 @@ final class TableCopyTest extends SpecTestsuiteBase public function testAction437(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 689, ); @@ -5474,6 +5483,7 @@ final class TableCopyTest extends SpecTestsuiteBase public function testAction499(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 781, ); @@ -6153,6 +6163,7 @@ final class TableCopyTest extends SpecTestsuiteBase public function testAction561(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 873, ); @@ -6832,6 +6843,7 @@ final class TableCopyTest extends SpecTestsuiteBase public function testAction623(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 965, ); @@ -7511,6 +7523,7 @@ final class TableCopyTest extends SpecTestsuiteBase public function testAction685(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 1057, ); @@ -8190,6 +8203,7 @@ final class TableCopyTest extends SpecTestsuiteBase public function testAction747(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 1149, ); @@ -8869,6 +8883,7 @@ final class TableCopyTest extends SpecTestsuiteBase public function testAction809(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 1241, ); @@ -9548,6 +9563,7 @@ final class TableCopyTest extends SpecTestsuiteBase public function testAction871(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 1333, ); @@ -10227,6 +10243,7 @@ final class TableCopyTest extends SpecTestsuiteBase public function testAction933(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 1425, ); @@ -10906,6 +10923,7 @@ final class TableCopyTest extends SpecTestsuiteBase public function testAction995(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 1517, ); @@ -11585,6 +11603,7 @@ final class TableCopyTest extends SpecTestsuiteBase public function testAction1057(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 1609, ); @@ -12348,6 +12367,7 @@ final class TableCopyTest extends SpecTestsuiteBase public function testAction1127(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 1794, ); @@ -12367,6 +12387,7 @@ final class TableCopyTest extends SpecTestsuiteBase public function testAction1129(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 1819, ); @@ -12407,6 +12428,7 @@ final class TableCopyTest extends SpecTestsuiteBase public function testAction1133(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 1869, ); @@ -12447,6 +12469,7 @@ final class TableCopyTest extends SpecTestsuiteBase public function testAction1137(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 1919, ); @@ -12571,6 +12594,7 @@ final class TableCopyTest extends SpecTestsuiteBase public function testAction1149(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 2069, ); @@ -12590,6 +12614,7 @@ final class TableCopyTest extends SpecTestsuiteBase public function testAction1151(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 2094, ); @@ -12630,6 +12655,7 @@ final class TableCopyTest extends SpecTestsuiteBase public function testAction1155(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 2144, ); @@ -12670,6 +12696,7 @@ final class TableCopyTest extends SpecTestsuiteBase public function testAction1159(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 2194, ); diff --git a/tests/src/SpecTestsuites/Core/TableFillTest.php b/tests/src/SpecTestsuites/Core/TableFillTest.php index 244c5db..6b7c7ab 100644 --- a/tests/src/SpecTestsuites/Core/TableFillTest.php +++ b/tests/src/SpecTestsuites/Core/TableFillTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class TableFillTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/TableGetTest.php b/tests/src/SpecTestsuites/Core/TableGetTest.php index 05b2522..9e31f5e 100644 --- a/tests/src/SpecTestsuites/Core/TableGetTest.php +++ b/tests/src/SpecTestsuites/Core/TableGetTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class TableGetTest extends SpecTestsuiteBase { @@ -22,6 +23,7 @@ final class TableGetTest extends SpecTestsuiteBase public function testAction1(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'init', 'args' => [['type' => 'externref', 'value' => '1']]], line: 24, ); diff --git a/tests/src/SpecTestsuites/Core/TableGrowTest.php b/tests/src/SpecTestsuites/Core/TableGrowTest.php index de2133c..dc812d0 100644 --- a/tests/src/SpecTestsuites/Core/TableGrowTest.php +++ b/tests/src/SpecTestsuites/Core/TableGrowTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class TableGrowTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/TableInitTest.php b/tests/src/SpecTestsuites/Core/TableInitTest.php index b4fdb94..6d8d1c8 100644 --- a/tests/src/SpecTestsuites/Core/TableInitTest.php +++ b/tests/src/SpecTestsuites/Core/TableInitTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class TableInitTest extends SpecTestsuiteBase { @@ -42,6 +43,7 @@ final class TableInitTest extends SpecTestsuiteBase public function testAction3(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 41, ); @@ -391,6 +393,7 @@ final class TableInitTest extends SpecTestsuiteBase public function testAction35(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 99, ); @@ -740,6 +743,7 @@ final class TableInitTest extends SpecTestsuiteBase public function testAction67(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 165, ); @@ -1089,6 +1093,7 @@ final class TableInitTest extends SpecTestsuiteBase public function testAction99(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 223, ); @@ -1438,6 +1443,7 @@ final class TableInitTest extends SpecTestsuiteBase public function testAction131(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 281, ); @@ -1787,6 +1793,7 @@ final class TableInitTest extends SpecTestsuiteBase public function testAction163(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 347, ); @@ -2176,6 +2183,7 @@ final class TableInitTest extends SpecTestsuiteBase public function testAction199(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 429, ); @@ -2216,6 +2224,7 @@ final class TableInitTest extends SpecTestsuiteBase public function testAction203(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 477, ); @@ -2235,6 +2244,7 @@ final class TableInitTest extends SpecTestsuiteBase public function testAction205(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 501, ); @@ -2338,6 +2348,7 @@ final class TableInitTest extends SpecTestsuiteBase public function testAction215(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 621, ); @@ -2378,6 +2389,7 @@ final class TableInitTest extends SpecTestsuiteBase public function testAction219(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 669, ); @@ -2418,6 +2430,7 @@ final class TableInitTest extends SpecTestsuiteBase public function testAction223(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 717, ); @@ -2479,6 +2492,7 @@ final class TableInitTest extends SpecTestsuiteBase public function testAction229(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 789, ); @@ -2519,6 +2533,7 @@ final class TableInitTest extends SpecTestsuiteBase public function testAction233(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 837, ); @@ -2559,6 +2574,7 @@ final class TableInitTest extends SpecTestsuiteBase public function testAction237(): void { $this->runActionCommand( + module: null, action: ['type' => 'invoke', 'field' => 'test', 'args' => []], line: 885, ); diff --git a/tests/src/SpecTestsuites/Core/TableSetTest.php b/tests/src/SpecTestsuites/Core/TableSetTest.php index 5e7cbf4..695d765 100644 --- a/tests/src/SpecTestsuites/Core/TableSetTest.php +++ b/tests/src/SpecTestsuites/Core/TableSetTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class TableSetTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/TableSizeTest.php b/tests/src/SpecTestsuites/Core/TableSizeTest.php index 2823756..fcd0e00 100644 --- a/tests/src/SpecTestsuites/Core/TableSizeTest.php +++ b/tests/src/SpecTestsuites/Core/TableSizeTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class TableSizeTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/TableSubTest.php b/tests/src/SpecTestsuites/Core/TableSubTest.php index 40c87f6..2070f26 100644 --- a/tests/src/SpecTestsuites/Core/TableSubTest.php +++ b/tests/src/SpecTestsuites/Core/TableSubTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class TableSubTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/TrapsTest.php b/tests/src/SpecTestsuites/Core/TrapsTest.php index 3055d60..036bc8b 100644 --- a/tests/src/SpecTestsuites/Core/TrapsTest.php +++ b/tests/src/SpecTestsuites/Core/TrapsTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class TrapsTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/UnreachableTest.php b/tests/src/SpecTestsuites/Core/UnreachableTest.php index 2dc0b6f..0acd92d 100644 --- a/tests/src/SpecTestsuites/Core/UnreachableTest.php +++ b/tests/src/SpecTestsuites/Core/UnreachableTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class UnreachableTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/UnreachedInvalidTest.php b/tests/src/SpecTestsuites/Core/UnreachedInvalidTest.php index 06a9971..2280fdb 100644 --- a/tests/src/SpecTestsuites/Core/UnreachedInvalidTest.php +++ b/tests/src/SpecTestsuites/Core/UnreachedInvalidTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class UnreachedInvalidTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/UnreachedValidTest.php b/tests/src/SpecTestsuites/Core/UnreachedValidTest.php index b5f279f..14851b7 100644 --- a/tests/src/SpecTestsuites/Core/UnreachedValidTest.php +++ b/tests/src/SpecTestsuites/Core/UnreachedValidTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class UnreachedValidTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/UnwindTest.php b/tests/src/SpecTestsuites/Core/UnwindTest.php index ae77d97..100bc01 100644 --- a/tests/src/SpecTestsuites/Core/UnwindTest.php +++ b/tests/src/SpecTestsuites/Core/UnwindTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class UnwindTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/Utf8CustomSectionIdTest.php b/tests/src/SpecTestsuites/Core/Utf8CustomSectionIdTest.php index 16646a9..adbb44c 100644 --- a/tests/src/SpecTestsuites/Core/Utf8CustomSectionIdTest.php +++ b/tests/src/SpecTestsuites/Core/Utf8CustomSectionIdTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class Utf8CustomSectionIdTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/Utf8ImportFieldTest.php b/tests/src/SpecTestsuites/Core/Utf8ImportFieldTest.php index e47d660..9071d71 100644 --- a/tests/src/SpecTestsuites/Core/Utf8ImportFieldTest.php +++ b/tests/src/SpecTestsuites/Core/Utf8ImportFieldTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class Utf8ImportFieldTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/Core/Utf8ImportModuleTest.php b/tests/src/SpecTestsuites/Core/Utf8ImportModuleTest.php index c6a489a..a11b4ec 100644 --- a/tests/src/SpecTestsuites/Core/Utf8ImportModuleTest.php +++ b/tests/src/SpecTestsuites/Core/Utf8ImportModuleTest.php @@ -6,6 +6,7 @@ namespace Nsfisis\Waddiwasi\Tests\SpecTestsuites\Core; use Nsfisis\Waddiwasi\Tests\SpecTestsuites\SpecTestsuiteBase; use PHPUnit\Framework\Attributes\Depends; +use PHPUnit\Framework\Attributes\DoesNotPerformAssertions; final class Utf8ImportModuleTest extends SpecTestsuiteBase { diff --git a/tests/src/SpecTestsuites/SpecTestsuiteBase.php b/tests/src/SpecTestsuites/SpecTestsuiteBase.php index 285ce12..f5cc39a 100644 --- a/tests/src/SpecTestsuites/SpecTestsuiteBase.php +++ b/tests/src/SpecTestsuites/SpecTestsuiteBase.php @@ -39,27 +39,14 @@ abstract class SpecTestsuiteBase extends TestCase array $expected, int $line, ): void { - $targetModuleName = $module ?? '_'; - $targetModule = self::$modules[$targetModuleName]; - $actionType = $action['type']; - $actionField = $action['field']; - if ($actionType === 'invoke') { - $actionArgs = $action['args']; - $runtime = self::$runtimes[$targetModuleName]; - try { - $this->assertWasmInvokeResults( - $expected, - $runtime->invoke( - $actionField, - array_map($this->toWasmArg(...), $actionArgs), - ), - "at $line", - ); - } catch (TrapException $e) { - $this->assertTrue(false, "assert_return: trap, $e at $line"); - } - } else { - $this->assertTrue(false, "assert_return: unknown action, $actionType"); + try { + $this->assertWasmInvokeResults( + $expected, + $this->doAction($module, $action), + "at $line", + ); + } catch (TrapException $e) { + $this->assertTrue(false, "assert_return: trap, $e at $line"); } } @@ -69,27 +56,14 @@ abstract class SpecTestsuiteBase extends TestCase string $text, int $line, ): void { - $targetModuleName = $module ?? '_'; - $targetModule = self::$modules[$targetModuleName]; - $actionType = $action['type']; - $actionField = $action['field']; - if ($actionType === 'invoke') { - $actionArgs = $action['args']; - $runtime = self::$runtimes[$targetModuleName]; - $exception = null; - try { - $runtime->invoke( - $actionField, - array_map($this->toWasmArg(...), $actionArgs), - ); - } catch (TrapException $e) { - $exception = $e; - } - $this->assertNotNull($exception, "at $line"); - $this->assertTrapKind($text, $e->getTrapKind(), "at $line"); - } else { - $this->assertTrue(false, "assert_trap: unknown action, $actionType"); + $exception = null; + try { + $this->doAction($module, $action); + } catch (TrapException $e) { + $exception = $e; } + $this->assertNotNull($exception, "at $line"); + $this->assertTrapKind($text, $e->getTrapKind(), "at $line"); } protected function runAssertMalformedCommand( @@ -143,10 +117,12 @@ abstract class SpecTestsuiteBase extends TestCase } protected function runActionCommand( + ?string $module, array $action, int $line, ): void { - $this->assertTrue(false, "action"); + $this->doAction($module, $action); + $this->assertTrue(true); } protected function runRegisterCommand( @@ -173,6 +149,26 @@ abstract class SpecTestsuiteBase extends TestCase }; } + private function doAction( + ?string $module, + array $action, + ): array { + $targetModuleName = $module ?? '_'; + $targetModule = self::$modules[$targetModuleName]; + $actionType = $action['type']; + $actionField = $action['field']; + if ($actionType === 'invoke') { + $actionArgs = $action['args']; + $runtime = self::$runtimes[$targetModuleName]; + return $runtime->invoke( + $actionField, + array_map($this->toWasmArg(...), $actionArgs), + ); + } else { + $this->assertTrue(false, "unknown action: $actionType"); + } + } + /** * @param list<mixed> $actualResults * @param list<array{type: string, value: string}> $expectedResults diff --git a/tools/json2phpunit.php b/tools/json2phpunit.php index 648f6fd..f2078e4 100644 --- a/tools/json2phpunit.php +++ b/tools/json2phpunit.php @@ -217,6 +217,7 @@ function buildActionCommandTest(array $command): array return [ 'method' => 'runActionCommand', 'args' => [ + 'module' => $command['module'] ?? null, 'action' => $command['action'], ], ]; |
