@@ -22,12 +22,10 @@ using namespace ARDOUR;
|
||||
using namespace PBD;
|
||||
|
||||
static TextReceiver text_receiver ("test");
|
||||
static const char* localedir = LOCALEDIR;
|
||||
|
||||
void
|
||||
SessionTest::setUp ()
|
||||
{
|
||||
ARDOUR::init (false, true, localedir);
|
||||
SessionEvent::create_per_thread_pool ("session_test", 512);
|
||||
|
||||
text_receiver.listen_to (error);
|
||||
|
||||
@@ -134,7 +134,6 @@ protected:
|
||||
};
|
||||
|
||||
TestReceiver test_receiver;
|
||||
static const char* localedir = LOCALEDIR;
|
||||
|
||||
/** @param dir Session directory.
|
||||
* @param state Session state file, without .ardour suffix.
|
||||
@@ -142,7 +141,6 @@ static const char* localedir = LOCALEDIR;
|
||||
Session *
|
||||
load_session (string dir, string state)
|
||||
{
|
||||
ARDOUR::init (false, true, localedir);
|
||||
SessionEvent::create_per_thread_pool ("test", 512);
|
||||
|
||||
test_receiver.listen_to (error);
|
||||
|
||||
Reference in New Issue
Block a user