updates to unit tests to support new connection and processor api that includes RNG

This commit is contained in:
Peter Thorson
2013-03-30 20:12:37 -05:00
parent 67c740e264
commit ddddef5444
5 changed files with 81 additions and 37 deletions

View File

@@ -84,7 +84,8 @@ struct stub_config : public websocketpp::config::core {
BOOST_AUTO_TEST_CASE( connection_extensions ) {
stub_config::alog_type alog;
stub_config::elog_type elog;
websocketpp::connection<stub_config> s(true,"",alog,elog);
stub_config::rng_type rng;
websocketpp::connection<stub_config> s(true,"",alog,elog,rng);
BOOST_CHECK( s.extension_value == 5 );
BOOST_CHECK( s.extension_method() == 5 );