diff --git a/test/cctest/node_test_fixture.h b/test/cctest/node_test_fixture.h index d5be613c0bd105..ae9ec32e1ee9e4 100644 --- a/test/cctest/node_test_fixture.h +++ b/test/cctest/node_test_fixture.h @@ -63,10 +63,6 @@ class NodeTestFixture : public ::testing::Test { protected: v8::Isolate* isolate_; - ~NodeTestFixture() { - TearDown(); - } - virtual void SetUp() { CHECK_EQ(0, uv_loop_init(¤t_loop)); platform_ = new node::NodePlatform(8, nullptr); @@ -78,7 +74,6 @@ class NodeTestFixture : public ::testing::Test { } virtual void TearDown() { - if (platform_ == nullptr) return; platform_->Shutdown(); while (uv_loop_alive(¤t_loop)) { uv_run(¤t_loop, UV_RUN_ONCE); diff --git a/test/cctest/test_aliased_buffer.cc b/test/cctest/test_aliased_buffer.cc index 8dfb02c181cffe..0eaddf773555db 100644 --- a/test/cctest/test_aliased_buffer.cc +++ b/test/cctest/test_aliased_buffer.cc @@ -5,16 +5,7 @@ using node::AliasedBuffer; -class AliasBufferTest : public NodeTestFixture { - protected: - void SetUp() override { - NodeTestFixture::SetUp(); - } - - void TearDown() override { - NodeTestFixture::TearDown(); - } -}; +class AliasBufferTest : public NodeTestFixture {}; template void CreateOracleValues(NativeT* buf, size_t count) {