chromium/third_party/blink/renderer/core/css/resolver/cascade_map_test.cc

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

#include "third_party/blink/renderer/core/css/resolver/cascade_map.h"
#include <gtest/gtest.h>
#include "third_party/blink/renderer/core/css/css_property_name.h"
#include "third_party/blink/renderer/core/css/css_property_names.h"
#include "third_party/blink/renderer/core/css/properties/css_property.h"
#include "third_party/blink/renderer/core/css/resolver/cascade_priority.h"

namespace blink {

namespace {
CascadePriority UaPriority(wtf_size_t position) {}
CascadePriority UserPriority(wtf_size_t position) {}
CascadePriority AuthorPriority(wtf_size_t position) {}

bool AddTo(CascadeMap& map,
           const CSSPropertyName& name,
           CascadePriority priority) {}

}  // namespace

TEST(CascadeMapTest, Empty) {}

TEST(CascadeMapTest, AddCustom) {}

TEST(CascadeMapTest, AddNative) {}

TEST(CascadeMapTest, FindAndMutateCustom) {}

TEST(CascadeMapTest, FindAndMutateNative) {}

TEST(CascadeMapTest, AtCustom) {}

TEST(CascadeMapTest, AtNative) {}

TEST(CascadeMapTest, HighPriorityBits) {}

TEST(CascadeMapTest, AllHighPriorityBits) {}

TEST(CascadeMapTest, LastHighPrio) {}

TEST(CascadeMapTest, Reset) {}

TEST(CascadeMapTest, ResetHighPrio) {}

TEST(CascadeMapTest, FindOrigin) {}

}  // namespace blink