Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Unified Diff: test/unittests/wasm/wasm-module-builder-unittest.cc

Issue 2383463002: [wasm] Rename encoder.(cc,h) to wasm-module-builder.(cc,h) (Closed)
Patch Set: Rename unittest Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/unittests/wasm/encoder-unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/unittests/wasm/wasm-module-builder-unittest.cc
diff --git a/test/unittests/wasm/encoder-unittest.cc b/test/unittests/wasm/wasm-module-builder-unittest.cc
similarity index 83%
rename from test/unittests/wasm/encoder-unittest.cc
rename to test/unittests/wasm/wasm-module-builder-unittest.cc
index 4e51aa65f13080eac3287a397f878d13811854cd..7044fb8e48ac38f8efbc2df0a4d65962dcfe6742 100644
--- a/test/unittests/wasm/encoder-unittest.cc
+++ b/test/unittests/wasm/wasm-module-builder-unittest.cc
@@ -7,7 +7,7 @@
#include "src/v8.h"
#include "src/wasm/ast-decoder.h"
-#include "src/wasm/encoder.h"
+#include "src/wasm/wasm-module-builder.h"
#include "test/cctest/wasm/test-signatures.h"
@@ -15,7 +15,7 @@ namespace v8 {
namespace internal {
namespace wasm {
-class EncoderTest : public TestWithZone {
+class WasmModuleBuilderTest : public TestWithZone {
protected:
void AddLocal(WasmFunctionBuilder* f, LocalType type) {
uint16_t index = f->AddLocal(type);
@@ -23,7 +23,7 @@ class EncoderTest : public TestWithZone {
}
};
-TEST_F(EncoderTest, Regression_647329) {
+TEST_F(WasmModuleBuilderTest, Regression_647329) {
// Test crashed with asan.
ZoneBuffer buffer(zone());
const size_t kSize = ZoneBuffer::kInitialSize * 3 + 4096 + 100;
« no previous file with comments | « test/unittests/wasm/encoder-unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698