JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins

« « « Anklang Documentation
Loading...
Searching...
No Matches
Classes | Namespaces | Macros
juce_UnitTest.h File Reference

Go to the source code of this file.

Classes

class  juce::UnitTest
 This is a base class for classes that perform a unit test. More...
 
class  juce::UnitTestRunner
 Runs a set of unit tests. More...
 
struct  juce::UnitTestRunner::TestResult
 Contains the results of a test. More...
 

Namespaces

namespace  juce
 JUCE Namespace.
 

Macros

#define expectDoesNotThrow(expr)
 Checks that the result of an expression does not throw an exception.
 
#define expectThrows(expr)
 Checks that the result of an expression throws an exception.
 
#define expectThrowsType(expr, type)
 Checks that the result of an expression throws an exception of a certain type.
 

Macro Definition Documentation

◆ expectDoesNotThrow

#define expectDoesNotThrow (   expr)

Checks that the result of an expression does not throw an exception.

Definition at line 222 of file juce_UnitTest.h.

◆ expectThrows

#define expectThrows (   expr)

Checks that the result of an expression throws an exception.

Definition at line 234 of file juce_UnitTest.h.

◆ expectThrowsType

#define expectThrowsType (   expr,
  type 
)

Checks that the result of an expression throws an exception of a certain type.

Definition at line 246 of file juce_UnitTest.h.