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