ardour
Namespaces | Functions
test_util.h File Reference
#include <string>
#include <list>
#include "pbd/search_path.h"

Go to the source code of this file.

Namespaces

 ARDOUR
 

Functions

PBD::Searchpath test_search_path ()
 
std::string new_test_output_dir (std::string prefix="")
 
int get_test_sample_rate ()
 
void check_xml (XMLNode *, std::string, std::list< std::string > const &)
 
bool write_ref (XMLNode *, std::string)
 
void create_and_start_dummy_backend ()
 
void stop_and_destroy_backend ()
 
ARDOUR::Sessionload_session (std::string, std::string)
 

Function Documentation

void check_xml ( XMLNode ,
std::string  ,
std::list< std::string > const &   
)
void create_and_start_dummy_backend ( )

Definition at line 100 of file test_util.cc.

int get_test_sample_rate ( )

Definition at line 150 of file test_util.cc.

ARDOUR::Session* load_session ( std::string  ,
std::string   
)
std::string new_test_output_dir ( std::string  prefix = "")

Definition at line 144 of file test_util.cc.

void stop_and_destroy_backend ( )

Definition at line 114 of file test_util.cc.

PBD::Searchpath test_search_path ( )

This allows tests to find the data files they require by looking in an installed location on windows or by setting an environment variable on unix.

Definition at line 133 of file test_util.cc.

bool write_ref ( XMLNode ,
std::string   
)