15#ifndef OPENMP_TOOLS_OMPTEST_INCLUDE_OMPTTESTERGOOGLETEST_H
16#define OPENMP_TOOLS_OMPTEST_INCLUDE_OMPTTESTERGOOGLETEST_H
26#define GTEST_DONT_DEFINE_TEST 1
27#include "gtest/gtest.h"
34 std::make_unique<omptest::OmptSequencedAsserter>();
36 std::make_unique<omptest::OmptEventAsserter>();
38 std::make_unique<omptest::OmptEventReporter>();
78#define TEST(test_suite_name, test_name) \
79 GTEST_TEST_(test_suite_name, test_name, ::testing::OmptTestCase, \
80 ::testing::internal::GetTypeId<::testing::OmptTestCase>())
82#define TEST_XFAIL(test_suite_name, test_name) \
83 GTEST_TEST_(test_suite_name, test_name, ::testing::OmptTestCaseXFail, \
84 ::testing::internal::GetTypeId<::testing::OmptTestCaseXFail>())
Provides macros to be used in unit tests for OMPT events.
Defines shorthand aliases for OMPT enum values, providing improved ease-of-use and readability.
Contains assertion event constructors, for generally all observable events.
Contains all asserter-related class declarations and important enums.
This file provides the OMPT callback handling declarations.
Contains global function declarations, esp.
int flush_traced_devices()
void subscribe(OmptListener *Listener)
Subscribe a listener to be notified for OMPT events.
void clearSubscribers()
Remove all subscribers.
static OmptCallbackHandler & get()
Singleton handler.
This class provides the members and methods to manage event groups and SyncPoints in conjunction with...
std::unique_ptr< omptest::OmptSequencedAsserter > SequenceAsserter
std::unique_ptr< omptest::OmptEventAsserter > SetAsserter
std::unique_ptr< omptest::OmptEventReporter > EventReporter