class library: Reset has been renamed to OnError
[supercollider.git] / testsuite / supernova / server_sc_osc_handler_test.cpp
blob17c8b1e37cba5a0251bcf74c8c2bd77f30f181d2
1 #include <boost/test/unit_test.hpp>
3 #include <vector>
5 #include "../../source/server/sc_osc_handler.hpp"
7 using namespace nova;
9 BOOST_AUTO_TEST_CASE( sc_osc_handler_1 )
11 const_cast<server_arguments&>(server_arguments::initialize(0, 0)).udp_port = 54321;
12 sc_osc_handler handler(server_arguments::instance());
15 BOOST_AUTO_TEST_CASE( sc_osc_handler_2 )
17 const_cast<server_arguments&>(server_arguments::initialize(0, 0)).tcp_port = 54321;
18 sc_osc_handler handler(server_arguments::instance());