#include "src/trace_processor/importers/proto/active_chrome_processes_tracker.h"
#include "perfetto/base/logging.h"
#include "test/gtest_and_gmock.h"
namespace perfetto {
namespace trace_processor {
static bool operator==(const ProcessWithDataLoss& lhs,
const ProcessWithDataLoss& rhs) { … }
namespace {
IsEmpty;
UnorderedElementsAre;
constexpr int64_t kNanosecondsInSecond = …;
TEST(ActiveChromeProcessesTrackerTest, NoMetadataAndNoDescriptors) { … }
TEST(ActiveChromeProcessesTrackerTest, NoDescriptors) { … }
TEST(ActiveChromeProcessesTrackerTest, InexactMatch) { … }
TEST(ActiveChromeProcessesTrackerTest, InexactMatchTooBigDiff) { … }
TEST(ActiveChromeProcessesTrackerTest, ExtraDescriptor) { … }
TEST(ActiveChromeProcessesTracker, TemrinatedProcess) { … }
}
}
}