LLVM OpenMP 22.0.0git
TestSuite Struct Reference

A pretty crude test suite abstraction. More...

#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/openmp/tools/omptest/include/OmptTesterStandalone.h"

Public Types

using TestCaseVec = std::vector<std::unique_ptr<TestCase>>

Public Member Functions

 TestSuite ()=default
 TestSuite (const std::string &TSName)
 TestSuite (const TestSuite &O)=delete
 TestSuite (TestSuite &&O)
void setup ()
void teardown ()
TestCaseVec::iterator begin ()
TestCaseVec::iterator end ()

Public Attributes

std::string Name
TestCaseVec TestCases

Detailed Description

A pretty crude test suite abstraction.

Definition at line 61 of file OmptTesterStandalone.h.

Member Typedef Documentation

◆ TestCaseVec

using TestSuite::TestCaseVec = std::vector<std::unique_ptr<TestCase>>

Definition at line 62 of file OmptTesterStandalone.h.

Constructor & Destructor Documentation

◆ TestSuite() [1/4]

TestSuite::TestSuite ( )
default

Referenced by TestSuite(), and TestSuite().

◆ TestSuite() [2/4]

TestSuite::TestSuite ( const std::string & TSName)
inline

Definition at line 64 of file OmptTesterStandalone.h.

References Name.

◆ TestSuite() [3/4]

TestSuite::TestSuite ( const TestSuite & O)
delete

References TestSuite().

◆ TestSuite() [4/4]

TestSuite::TestSuite ( TestSuite && O)

Definition at line 63 of file OmptTesterStandalone.cpp.

References Name, TestCases, and TestSuite().

Member Function Documentation

◆ begin()

TestSuite::TestCaseVec::iterator TestSuite::begin ( )

Definition at line 72 of file OmptTesterStandalone.cpp.

References TestCases.

◆ end()

TestSuite::TestCaseVec::iterator TestSuite::end ( )

Definition at line 76 of file OmptTesterStandalone.cpp.

References TestCases.

◆ setup()

void TestSuite::setup ( )

Definition at line 68 of file OmptTesterStandalone.cpp.

◆ teardown()

void TestSuite::teardown ( )

Definition at line 70 of file OmptTesterStandalone.cpp.

Member Data Documentation

◆ Name

std::string TestSuite::Name

Definition at line 71 of file OmptTesterStandalone.h.

Referenced by TestSuite(), and TestSuite().

◆ TestCases

TestCaseVec TestSuite::TestCases

Definition at line 72 of file OmptTesterStandalone.h.

Referenced by TestRegistrar::addCaseToSuite(), begin(), end(), and TestSuite().


The documentation for this struct was generated from the following files: