#include "util/trace_logging.h"
#include <chrono>
#include <thread>
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "platform/test/trace_logging_helpers.h"
namespace openscreen {
namespace {
#if defined(ENABLE_TRACE_LOGGING)
constexpr TraceHierarchyParts kAllParts = …;
constexpr TraceHierarchyParts kParentAndRoot = …;
constexpr TraceId kEmptyId = …;
#endif
_;
AtLeast;
DoAll;
Invoke;
MATCHER_P(EqAsyncEndEvent, expected, "") { … }
MATCHER_P(HasSameArguments, expected, "") { … }
StrictMockLoggingPlatform;
TEST(TraceLoggingTest, MacroCallScopedDoesNotSegFault) { … }
TEST(TraceLoggingTest, MacroCallDefaultScopedDoesNotSegFault) { … }
TEST(TraceLoggingTest, MacroCallUnscopedDoesNotSegFault) { … }
TEST(TraceLoggingTest, MacroVariablesUniquelyNames) { … }
TEST(TraceLoggingTest, ExpectTimestampsReflectDelay) { … }
TEST(TraceLoggingTest, ExpectErrorsPassedToResult) { … }
TEST(TraceLoggingTest, ExpectUnsetTraceIdNotSet) { … }
TEST(TraceLoggingTest, ExpectCreationWithIdsToWork) { … }
TEST(TraceLoggingTest, ExpectHierarchyToBeApplied) { … }
TEST(TraceLoggingTest, ExpectHierarchyToEndAfterScopeWhenSetWithSetter) { … }
TEST(TraceLoggingTest, ExpectHierarchyToEndAfterScope) { … }
TEST(TraceLoggingTest, ExpectSetHierarchyToApply) { … }
TEST(TraceLoggingTest, CheckTraceSupportsArguments) { … }
TEST(TraceLoggingTest, CheckTraceCropsArgumentLengths) { … }
TEST(TraceLoggingTest, CheckTraceAsyncStartLogsCorrectly) { … }
TEST(TraceLoggingTest, CheckTraceAsyncSupportsArguments) { … }
TEST(TraceLoggingTest, CheckTraceAsyncStartSetsHierarchy) { … }
TEST(TraceLoggingTest, CheckTraceAsyncEndLogsCorrectly) { … }
}
}