LMMS
Loading...
Searching...
No Matches
juce::VST3PluginFormatTests Class Reference
Inheritance diagram for juce::VST3PluginFormatTests:
juce::UnitTest

Classes

struct  Config
struct  TestBuffers
struct  MultiBusBuffers

Public Member Functions

 VST3PluginFormatTests ()
void runTest () override
Public Member Functions inherited from juce::UnitTest
 UnitTest (const String &name, const String &category=String())
virtual ~UnitTest ()
const StringgetName () const noexcept
const StringgetCategory () const noexcept
void performTest (UnitTestRunner *runner)
virtual void initialise ()
virtual void shutdown ()
void beginTest (const String &testName)
void expect (bool testResult, const String &failureMessage=String())
template<class ValueType>
void expectEquals (ValueType actual, ValueType expected, String failureMessage=String())
template<class ValueType>
void expectNotEquals (ValueType value, ValueType valueToCompareTo, String failureMessage=String())
template<class ValueType>
void expectGreaterThan (ValueType value, ValueType valueToCompareTo, String failureMessage=String())
template<class ValueType>
void expectLessThan (ValueType value, ValueType valueToCompareTo, String failureMessage=String())
template<class ValueType>
void expectGreaterOrEqual (ValueType value, ValueType valueToCompareTo, String failureMessage=String())
template<class ValueType>
void expectLessOrEqual (ValueType value, ValueType valueToCompareTo, String failureMessage=String())
template<class ValueType>
void expectWithinAbsoluteError (ValueType actual, ValueType expected, ValueType maxAbsoluteError, String failureMessage=String())
void logMessage (const String &message)
Random getRandom () const

Static Private Member Functions

static bool channelStartsWithValue (Steinberg::Vst::AudioBusBuffers &bus, size_t index, float value)
static bool allMatch (const AudioBuffer< float > &buf, int index, float value)
static Steinberg::Vst::ProcessData makeProcessData (int blockSize, MultiBusBuffers &ins, MultiBusBuffers &outs)

Additional Inherited Members

Static Public Member Functions inherited from juce::UnitTest
static Array< UnitTest * > & getAllTests ()
static Array< UnitTest * > getTestsInCategory (const String &category)
static StringArray getAllCategories ()

Constructor & Destructor Documentation

◆ VST3PluginFormatTests()

juce::VST3PluginFormatTests::VST3PluginFormatTests ( )
inline

Member Function Documentation

◆ allMatch()

bool juce::VST3PluginFormatTests::allMatch ( const AudioBuffer< float > & buf,
int index,
float value )
inlinestaticprivate

◆ channelStartsWithValue()

bool juce::VST3PluginFormatTests::channelStartsWithValue ( Steinberg::Vst::AudioBusBuffers & bus,
size_t index,
float value )
inlinestaticprivate

◆ makeProcessData()

Steinberg::Vst::ProcessData juce::VST3PluginFormatTests::makeProcessData ( int blockSize,
MultiBusBuffers & ins,
MultiBusBuffers & outs )
inlinestaticprivate

◆ runTest()

void juce::VST3PluginFormatTests::runTest ( )
inlineoverridevirtual

Implement this method in your subclass to actually run your tests.

The content of your implementation should call beginTest() and expect() to perform the tests.

Implements juce::UnitTest.


The documentation for this class was generated from the following file: