13 #include "TTFoundationAPI.h"
16 extern "C" void TTAudioGraphInit(
void);
18 int main(
int argc,
const char * argv[])
20 std::cout <<
"BEGIN testing for AudioGraph...\n";
26 TTValue testClassesWithTheseTags(
TT(
"audioGraphLibrary"));
29 for (
int i=0; i<classNames.
size(); i++) {
34 std::cout <<
"TESTING " << name.string() << std::endl;
38 TTLogMessage(
"UnitTest Failure to instantiate object of class %s! \n", name.
c_str());
43 std::cout <<
"END testing of AudioGraph!\n";
Create and use Jamoma object instances.
size_type size() const noexcept
Return the number of elements.
static TTErr GetRegisteredClassNamesForTags(TTValue &classNames, const TTValue &searchTags)
Query TTEnvironment for names of all registered TTObjectBase classes that share specific tags...
Registers classes for the primary AudioGraph library.
#define TT
This macro is defined as a shortcut for doing a lookup in the symbol table.
The TTSymbol class is used to represent a string and efficiently pass and compare that string...
const char * c_str() const
Return a pointer to the internal string as a C-string.
void TTFOUNDATION_EXPORT TTLogMessage(TTImmutableCString message,...)
Platform and host independent method for posting log messages.
[doxygenAppendixC_copyExample]