diff options
Diffstat (limited to 'test/cctest/test_inspector_socket.cc')
-rw-r--r-- | test/cctest/test_inspector_socket.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/cctest/test_inspector_socket.cc b/test/cctest/test_inspector_socket.cc index b96489db1f..09df0fbbcd 100644 --- a/test/cctest/test_inspector_socket.cc +++ b/test/cctest/test_inspector_socket.cc @@ -107,7 +107,7 @@ class TestInspectorDelegate : public InspectorSocket::Delegate { handshake_delegate_(stop_if_stop_path), fail_on_ws_frame_(false) { } - ~TestInspectorDelegate() { + ~TestInspectorDelegate() override { assert_is_delegate(this); delegate = nullptr; } @@ -353,7 +353,7 @@ static void on_connection(uv_connect_t* connect, int status) { class InspectorSocketTest : public ::testing::Test { protected: - virtual void SetUp() { + void SetUp() override { connected = false; GTEST_ASSERT_EQ(0, uv_loop_init(&loop)); server = uv_tcp_t(); @@ -375,7 +375,7 @@ class InspectorSocketTest : public ::testing::Test { really_close(reinterpret_cast<uv_handle_t*>(&server)); } - virtual void TearDown() { + void TearDown() override { really_close(reinterpret_cast<uv_handle_t*>(&client_socket)); SPIN_WHILE(delegate != nullptr); const int err = uv_loop_close(&loop); |