#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) { … }
}
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) { … }
}