Skip to content

Commit 79f7519

Browse files
Liedtkev8-internal-scoped@luci-project-accounts.iam.gserviceaccount.com
authored andcommitted
[test] migrate all Wasm tests to new testing framework
Bug: 522635668 Change-Id: I56d82eda0050b03c01e7b0af241ef58e2a820fd2 Reviewed-on: https://chrome-internal-review.googlesource.com/c/v8/fuzzilli/+/9393800 Reviewed-by: Leon Bettscheider <bettscheider@chromium.org> Commit-Queue: Matthias Liedtke <mliedtke@google.com> Auto-Submit: Matthias Liedtke <mliedtke@google.com>
1 parent c0a63f1 commit 79f7519

2 files changed

Lines changed: 6794 additions & 6294 deletions

File tree

Tests/FuzzilliTests/WasmTableTests.swift

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,14 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
import XCTest
15+
import Testing
1616

1717
@testable import Fuzzilli
1818

19-
class WasmTableTests: XCTestCase {
20-
func testTableSizeAndGrow() throws {
21-
let runner = try GetJavaScriptExecutorOrSkipTest()
19+
@Suite(.enabled { JavaScriptExecutor() != nil })
20+
struct WasmTableTests {
21+
@Test func testTableSizeAndGrow() throws {
22+
let runner = JavaScriptExecutor()!
2223
var expectedOutput = ""
2324

2425
let js = buildAndLiftProgram { b in

0 commit comments

Comments
 (0)