aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2018-06-25 15:12:37 -0500
committerluigi1111 <luigi1111w@gmail.com>2018-06-25 15:12:37 -0500
commit8fad35f8e2b21e90ee9f444861d2294a2f8a3e2e (patch)
tree108619f19a942abcd0c462efed40907e8045fd23 /tests
parentMerge pull request #3957 (diff)
parentepee: adaptive connection timeout system (diff)
downloadmonero-8fad35f8e2b21e90ee9f444861d2294a2f8a3e2e.tar.xz
Merge pull request #3962
55c7fb8 epee: adaptive connection timeout system (moneromooo-monero)
Diffstat (limited to 'tests')
-rw-r--r--tests/fuzz/levin.cpp1
-rw-r--r--tests/unit_tests/epee_levin_protocol_handler_async.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/fuzz/levin.cpp b/tests/fuzz/levin.cpp
index 6a164dda9..4ced1837f 100644
--- a/tests/fuzz/levin.cpp
+++ b/tests/fuzz/levin.cpp
@@ -158,6 +158,7 @@ namespace
}
virtual bool close() { return true; }
+ virtual bool send_done() { return true; }
virtual bool call_run_once_service_io() { return true; }
virtual bool request_callback() { return true; }
virtual boost::asio::io_service& get_io_service() { return m_io_service; }
diff --git a/tests/unit_tests/epee_levin_protocol_handler_async.cpp b/tests/unit_tests/epee_levin_protocol_handler_async.cpp
index 38a8360d7..72d8f3205 100644
--- a/tests/unit_tests/epee_levin_protocol_handler_async.cpp
+++ b/tests/unit_tests/epee_levin_protocol_handler_async.cpp
@@ -150,6 +150,7 @@ namespace
}
virtual bool close() { /*std::cout << "test_connection::close()" << std::endl; */return true; }
+ virtual bool send_done() { /*std::cout << "test_connection::send_done()" << std::endl; */return true; }
virtual bool call_run_once_service_io() { std::cout << "test_connection::call_run_once_service_io()" << std::endl; return true; }
virtual bool request_callback() { std::cout << "test_connection::request_callback()" << std::endl; return true; }
virtual boost::asio::io_service& get_io_service() { std::cout << "test_connection::get_io_service()" << std::endl; return m_io_service; }