#include <regex>
#include <string>
#include "src/base/vector.h"
#include "src/wasm/module-decoder.h"
#include "src/wasm/string-builder-multiline.h"
#include "src/wasm/wasm-disassembler-impl.h"
#include "test/unittests/test-utils.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace v8 {
namespace internal {
namespace wasm {
class WasmDisassemblerTest : public ::v8::TestWithPlatform { … };
void CheckDisassemblerOutput(base::Vector<const uint8_t> module_bytes,
std::string expected_output) { … }
TEST_F(WasmDisassemblerTest, Mvp) { … }
TEST_F(WasmDisassemblerTest, Names) { … }
TEST_F(WasmDisassemblerTest, InvalidNameSection) { … }
TEST_F(WasmDisassemblerTest, Simd) { … }
TEST_F(WasmDisassemblerTest, Gc) { … }
TEST_F(WasmDisassemblerTest, TooManyends) { … }
TEST_F(WasmDisassemblerTest, Stringref) { … }
TEST_F(WasmDisassemblerTest, Exnref) { … }
}
}
}