aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/src/SpecTestsuites/Core/TableTest.php
blob: f66f08d7643d83119731655e73cd5790ddc6f2bc (plain)
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
<?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 TableTest extends SpecTestsuiteBase
{
    public function testModule0(): void
    {
        $this->runModuleCommand(
            filename: 'table.0.wasm',
            name: null,
            line: 3,
        );
    }

    #[Depends('testModule0')]
    public function testModule1(): void
    {
        $this->runModuleCommand(
            filename: 'table.1.wasm',
            name: null,
            line: 4,
        );
    }

    #[Depends('testModule1')]
    public function testModule2(): void
    {
        $this->runModuleCommand(
            filename: 'table.2.wasm',
            name: null,
            line: 5,
        );
    }

    #[Depends('testModule2')]
    public function testModule3(): void
    {
        $this->runModuleCommand(
            filename: 'table.3.wasm',
            name: null,
            line: 6,
        );
    }

    #[Depends('testModule3')]
    public function testModule4(): void
    {
        $this->runModuleCommand(
            filename: 'table.4.wasm',
            name: null,
            line: 7,
        );
    }

    #[Depends('testModule4')]
    public function testModule5(): void
    {
        $this->runModuleCommand(
            filename: 'table.5.wasm',
            name: null,
            line: 8,
        );
    }

    #[Depends('testModule5')]
    public function testModule6(): void
    {
        $this->runModuleCommand(
            filename: 'table.6.wasm',
            name: null,
            line: 9,
        );
    }

    #[Depends('testModule6')]
    public function testModule7(): void
    {
        $this->runModuleCommand(
            filename: 'table.7.wasm',
            name: null,
            line: 11,
        );
    }

    #[Depends('testModule7')]
    public function testModule8(): void
    {
        $this->runModuleCommand(
            filename: 'table.8.wasm',
            name: null,
            line: 12,
        );
    }

    #[Depends('testModule8')]
    public function testAssertInvalid9(): void
    {
        $this->runAssertInvalidCommand(
            filename: 'table.9.wasm',
            text: 'unknown table',
            line: 14,
        );
    }

    #[Depends('testAssertInvalid9')]
    public function testAssertInvalid10(): void
    {
        $this->runAssertInvalidCommand(
            filename: 'table.10.wasm',
            text: 'unknown table',
            line: 15,
        );
    }

    #[Depends('testAssertInvalid10')]
    public function testAssertInvalid11(): void
    {
        $this->runAssertInvalidCommand(
            filename: 'table.11.wasm',
            text: 'size minimum must not be greater than maximum',
            line: 19,
        );
    }

    #[Depends('testAssertInvalid11')]
    public function testAssertInvalid12(): void
    {
        $this->runAssertInvalidCommand(
            filename: 'table.12.wasm',
            text: 'size minimum must not be greater than maximum',
            line: 23,
        );
    }

    #[DoesNotPerformAssertions]
    #[Depends('testAssertInvalid12')]
    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
    {
    }

    #[DoesNotPerformAssertions]
    #[Depends('testAssertMalformed16')]
    public function testAssertMalformed17(): void
    {
    }

    #[DoesNotPerformAssertions]
    #[Depends('testAssertMalformed17')]
    public function testAssertMalformed18(): void
    {
    }
}