chromium/tools/binary_size/libsupersize/viewer/caspian/tree_builder_test.cc

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "tools/binary_size/libsupersize/viewer/caspian/tree_builder.h"

#include <stdint.h>

#include <deque>
#include <memory>
#include <string>
#include <string_view>
#include <utility>
#include <vector>

#include "testing/gtest/include/gtest/gtest.h"
#include "tools/binary_size/libsupersize/viewer/caspian/model.h"

namespace caspian {

namespace {

FilterList;

std::unique_ptr<SizeInfo> MakeSizeInfo() {}

void MakeSymbol(SizeInfo* size_info,
                SectionId section_id,
                int32_t size,
                const char* path,
                const char* component,
                std::string_view name = "") {}

std::string ShortName(const Json::Value& node) {}
}  // namespace

std::unique_ptr<SizeInfo> CreateSizeInfo() {}

void CheckAllTreeNodesFindable(TreeBuilder& tree, const Json::Value& node) {}

TEST(TreeBuilderTest, TestIdPathLens) {}

TEST(TreeBuilderTest, TestComponentLens) {}

TEST(TreeBuilderTest, TestTemplateLens) {}

TEST(TreeBuilderTest, TestNoNameUnderGroup) {}

TEST(TreeBuilderTest, TestJoinDexMethodClasses) {}

TEST(TreeBuilderTest, TestJoinDexMethodClassesStringLiteral) {}

}  // namespace caspian