chromium/third_party/perfetto/src/trace_processor/importers/common/process_tracker_unittest.cc

/*
 * Copyright (C) 2018 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#include "src/trace_processor/importers/common/process_tracker.h"

#include <memory>
#include <optional>

#include "perfetto/ext/base/string_view.h"
#include "src/trace_processor/importers/common/args_tracker.h"
#include "src/trace_processor/importers/common/event_tracker.h"
#include "src/trace_processor/importers/common/global_args_tracker.h"
#include "src/trace_processor/storage/trace_storage.h"
#include "test/gtest_and_gmock.h"

namespace perfetto::trace_processor {
namespace {

_;
InSequence;
Invoke;

class ProcessTrackerTest : public ::testing::Test {};

TEST_F(ProcessTrackerTest, PushProcess) {}

TEST_F(ProcessTrackerTest, GetOrCreateNewProcess) {}

TEST_F(ProcessTrackerTest, StartNewProcess) {}

TEST_F(ProcessTrackerTest, PushTwoProcessEntries_SamePidAndName) {}

TEST_F(ProcessTrackerTest, PushTwoProcessEntries_DifferentPid) {}

TEST_F(ProcessTrackerTest, AddProcessEntry_CorrectName) {}

TEST_F(ProcessTrackerTest, UpdateThreadCreate) {}

TEST_F(ProcessTrackerTest, PidReuseWithoutStartAndEndThread) {}

TEST_F(ProcessTrackerTest, Cmdline) {}

TEST_F(ProcessTrackerTest, UpdateThreadName) {}

TEST_F(ProcessTrackerTest, SetStartTsIfUnset) {}

TEST_F(ProcessTrackerTest, PidReuseAfterExplicitEnd) {}

TEST_F(ProcessTrackerTest, TidReuseAfterExplicitEnd) {}

TEST_F(ProcessTrackerTest, EndThreadAfterProcessEnd) {}

TEST_F(ProcessTrackerTest, UpdateTrustedPid) {}

TEST_F(ProcessTrackerTest, NamespacedProcessesAndThreads) {}

}  // namespace
}  // namespace perfetto::trace_processor