llvm/clang-tools-extra/clangd/unittests/support/TraceTests.cpp

//===-- TraceTests.cpp - Tracing unit tests ---------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "TestTracer.h"
#include "support/Trace.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/SourceMgr.h"
#include "llvm/Support/Threading.h"
#include "llvm/Support/YAMLParser.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"

namespace clang {
namespace clangd {
namespace {

_;
ElementsAre;
SizeIs;
StartsWith;

MATCHER_P(stringNode, Val, "") {}

// Checks that N is a Mapping (JS object) with the expected scalar properties.
// The object must have all the Expected properties, but may have others.
bool verifyObject(llvm::yaml::Node &N,
                  std::map<std::string, std::string> Expected) {}

TEST(TraceTest, SmokeTest) {}

TEST(MetricsTracer, LatencyTest) {}

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

TEST_F(CSVMetricsTracerTest, RecordsValues) {}

TEST_F(CSVMetricsTracerTest, Escaping) {}

TEST_F(CSVMetricsTracerTest, IgnoresArgs) {}

} // namespace
} // namespace clangd
} // namespace clang