#include "base/test/trace_event_analyzer.h"
#include <stddef.h>
#include <stdint.h>
#include "base/functional/bind.h"
#include "base/memory/ref_counted_memory.h"
#include "base/numerics/safe_conversions.h"
#include "base/synchronization/waitable_event.h"
#include "base/threading/platform_thread.h"
#include "base/trace_event/trace_buffer.h"
#include "base/trace_event/traced_value.h"
#include "base/types/optional_util.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace trace_analyzer {
namespace {
class TraceEventAnalyzerTest : public testing::Test { … };
void TraceEventAnalyzerTest::ManualSetUp() { … }
void TraceEventAnalyzerTest::OnTraceDataCollected(
base::WaitableEvent* flush_complete_event,
const scoped_refptr<base::RefCountedString>& json_events_str,
bool has_more_events) { … }
void TraceEventAnalyzerTest::BeginTracing() { … }
void TraceEventAnalyzerTest::EndTracing() { … }
}
TEST_F(TraceEventAnalyzerTest, NoEvents) { … }
TEST_F(TraceEventAnalyzerTest, TraceEvent) { … }
TEST_F(TraceEventAnalyzerTest, QueryEventMember) { … }
TEST_F(TraceEventAnalyzerTest, BooleanOperators) { … }
TEST_F(TraceEventAnalyzerTest, ArithmeticOperators) { … }
TEST_F(TraceEventAnalyzerTest, StringPattern) { … }
TEST_F(TraceEventAnalyzerTest, CompleteDuration) { … }
TEST_F(TraceEventAnalyzerTest, AsyncBeginEndAssocations) { … }
TEST_F(TraceEventAnalyzerTest, AsyncBeginEndAssocationsWithSteps) { … }
TEST_F(TraceEventAnalyzerTest, CustomAssociations) { … }
TEST_F(TraceEventAnalyzerTest, Literals) { … }
TEST_F(TraceEventAnalyzerTest, RateStats) { … }
TEST_F(TraceEventAnalyzerTest, FindOf) { … }
TEST_F(TraceEventAnalyzerTest, FindClosest) { … }
TEST_F(TraceEventAnalyzerTest, CountMatches) { … }
TEST_F(TraceEventAnalyzerTest, ComplexArgument) { … }
TEST_F(TraceEventAnalyzerTest, AssociateNestableAsyncEvents) { … }
}