#include "absl/log/scoped_mock_log.h"
#include <memory>
#include <thread>
#include "gmock/gmock.h"
#include "gtest/gtest-spi.h"
#include "gtest/gtest.h"
#include "absl/base/attributes.h"
#include "absl/base/log_severity.h"
#include "absl/log/globals.h"
#include "absl/log/internal/test_helpers.h"
#include "absl/log/internal/test_matchers.h"
#include "absl/log/log.h"
#include "absl/memory/memory.h"
#include "absl/strings/match.h"
#include "absl/strings/string_view.h"
#include "absl/synchronization/barrier.h"
#include "absl/synchronization/notification.h"
namespace {
_;
AnyNumber;
Eq;
HasSubstr;
InSequence;
Lt;
Truly;
SourceBasename;
SourceFilename;
SourceLine;
TextMessageWithPrefix;
ThreadID;
auto* test_env ABSL_ATTRIBUTE_UNUSED = …;
#if GTEST_HAS_DEATH_TEST
TEST(ScopedMockLogDeathTest,
StartCapturingLogsCannotBeCalledWhenAlreadyCapturing) { … }
TEST(ScopedMockLogDeathTest, StopCapturingLogsCannotBeCalledWhenNotCapturing) { … }
TEST(ScopedMockLogDeathTest, FailsCheckIfStartCapturingLogsIsNeverCalled) { … }
#endif
TEST(ScopedMockLogTest, LogMockCatchAndMatchStrictExpectations) { … }
TEST(ScopedMockLogTest, LogMockCatchAndMatchSendExpectations) { … }
TEST(ScopedMockLogTest, ScopedMockLogCanBeNice) { … }
TEST(ScopedMockLogTest, RejectsUnexpectedLogs) { … }
TEST(ScopedMockLogTest, CapturesLogsAfterStartCapturingLogs) { … }
TEST(ScopedMockLogTest, DoesNotCaptureLogsAfterStopCapturingLogs) { … }
TEST(ScopedMockLogTest, LogFromMultipleThreads) { … }
TEST(ScopedMockLogTest, NoSequenceWithMultipleThreads) { … }
TEST(ScopedMockLogTsanTest,
ScopedMockLogCanBeDeletedWhenAnotherThreadIsLogging) { … }
TEST(ScopedMockLogTest, AsLocalSink) { … }
}