diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2015-02-15 15:05:22 +1000 |
---|---|---|
committer | Tim Mayberry <mojofunk@gmail.com> | 2015-02-15 15:05:22 +1000 |
commit | 2a04ff8641df26d5bdccb3061af3afea8f68fe23 (patch) | |
tree | c4bcf283579720a1a99fa952ad43e9368604ea46 /libs/ardour/test/test_util.cc | |
parent | 964c04eec5f01a4d2a487dc6380173a01fd94aaa (diff) |
Add TestUI class to properly handle EventLoop invalidation
This fixes the programming error: Session RT event... warnings
while running ardour tests
Diffstat (limited to 'libs/ardour/test/test_util.cc')
-rw-r--r-- | libs/ardour/test/test_util.cc | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/libs/ardour/test/test_util.cc b/libs/ardour/test/test_util.cc index 3b95d1b708..9543bf58ae 100644 --- a/libs/ardour/test/test_util.cc +++ b/libs/ardour/test/test_util.cc @@ -29,7 +29,6 @@ #include "ardour/audioengine.h" #include "test_util.h" -#include "test_receiver.h" #include <cppunit/extensions/HelperMacros.h> @@ -97,25 +96,6 @@ write_ref (XMLNode* node, string ref_file) return rv; } -TestReceiver test_receiver; - -bool -test_init () -{ - SessionEvent::create_per_thread_pool ("test", 512); - - test_receiver.listen_to (error); - test_receiver.listen_to (info); - test_receiver.listen_to (fatal); - test_receiver.listen_to (warning); - - /* We can't use VSTs here as we have a stub instead of the - required bits in gtk2_ardour. - */ - Config->set_use_lxvst (false); - return true; -} - void create_and_start_dummy_backend () { |