diff options
Diffstat (limited to 'extensions/renderer/api')
-rw-r--r-- | extensions/renderer/api/serial/data_receiver_unittest.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/extensions/renderer/api/serial/data_receiver_unittest.cc b/extensions/renderer/api/serial/data_receiver_unittest.cc index 381e361..7e6df3b 100644 --- a/extensions/renderer/api/serial/data_receiver_unittest.cc +++ b/extensions/renderer/api/serial/data_receiver_unittest.cc @@ -63,11 +63,6 @@ class DataReceiverTest : public ApiTestBase { error = error_to_send_.front(); error_to_send_.pop(); } - if (error == 2) { - sender_->ShutDown(); - sender_ = NULL; - return; - } DCHECK(buffer->GetSize() >= static_cast<uint32_t>(data.size())); memcpy(buffer->GetData(), data.c_str(), data.size()); if (error) @@ -136,9 +131,4 @@ TEST_F(DataReceiverTest, SerializeAfterClose) { RunTest("data_receiver_unittest.js", "testSerializeAfterClose"); } -TEST_F(DataReceiverTest, SourceShutdown) { - error_to_send_.push(2); - RunTest("data_receiver_unittest.js", "testSourceShutdown"); -} - } // namespace extensions |