Audacity 3.2.0
|
#include <catch2/catch.hpp>
#include "Composite.h"
#include "Callable.h"
#include <algorithm>
#include <array>
#include <functional>
#include <iterator>
#include <numeric>
Go to the source code of this file.
Namespaces | |
namespace | anonymous_namespace{CompositeTest.cpp} |
Typedefs | |
using | anonymous_namespace{CompositeTest.cpp}::MyCompositeBase = Base< MyComponent, unique_ptr< MyComponent >, int > |
using | anonymous_namespace{CompositeTest.cpp}::MyCompositeBase2 = Base< MyComponent, unique_ptr< MyComponent >, int, Ignore > |
Functions | |
bool | anonymous_namespace{CompositeTest.cpp}::operator== (int n, const unique_ptr< MyComponent > &p) |
template<bool members = true, typename Container1 , typename Container2 > | |
bool | anonymous_namespace{CompositeTest.cpp}::compareSequences (const Container1 &c1, const Container2 &c2) |
template<typename Container , auto Maker = nullptr, typename... Args> | |
void | DoTest (Args ...args) |
TEST_CASE ("Composite::Base") | |
bool | anonymous_namespace{CompositeTest.cpp}::operator== (int n, const std::unique_ptr< MyComponentEx > &p) |
static auto | anonymous_namespace{CompositeTest.cpp}::Maker (int value) |
TEST_CASE ("Composite::Builder") | |
TEST_CASE ("Composite::Extension") | |
TEST_CASE ("Composite::Extension specialized for void") | |
Variables | |
constexpr auto | anonymous_namespace{CompositeTest.cpp}::Component = Callable::UniqueMaker<MyComponent, int>() |
void DoTest | ( | Args ... | args | ) |
Definition at line 75 of file CompositeTest.cpp.
References anonymous_namespace{CompositeTest.cpp}::compareSequences(), anonymous_namespace{CompositeTest.cpp}::Component, anonymous_namespace{CompositeTest.cpp}::Maker(), and values.
TEST_CASE | ( | "Composite::Base" | ) |
Definition at line 123 of file CompositeTest.cpp.
TEST_CASE | ( | "Composite::Builder" | ) |
Definition at line 163 of file CompositeTest.cpp.
References details::begin(), anonymous_namespace{CompositeTest.cpp}::compareSequences(), details::end(), and values.
TEST_CASE | ( | "Composite::Extension specialized for void" | ) |
Definition at line 196 of file CompositeTest.cpp.
TEST_CASE | ( | "Composite::Extension" | ) |
Definition at line 187 of file CompositeTest.cpp.