#include "third_party/blink/renderer/core/css/invalidation/invalidation_set.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/frame/local_frame_view.h"
#include "third_party/blink/renderer/core/html/html_element.h"
#include "third_party/blink/renderer/core/testing/dummy_page_holder.h"
#include "third_party/blink/renderer/platform/testing/task_environment.h"
namespace blink {
namespace {
BackingType;
BackingFlags;
Backing;
template <BackingType type>
bool HasAny(const Backing<type>& backing,
const BackingFlags& flags,
std::initializer_list<const char*> args) { … }
template <BackingType type>
bool HasAll(const Backing<type>& backing,
const BackingFlags& flags,
std::initializer_list<const char*> args) { … }
TEST(InvalidationSetTest, Backing_Create) { … }
TEST(InvalidationSetTest, Backing_Add) { … }
TEST(InvalidationSetTest, Backing_AddSame) { … }
TEST(InvalidationSetTest, Backing_Independence) { … }
TEST(InvalidationSetTest, Backing_ClearContains) { … }
TEST(InvalidationSetTest, Backing_BackingIsEmpty) { … }
TEST(InvalidationSetTest, Backing_IsEmpty) { … }
TEST(InvalidationSetTest, Backing_Iterator) { … }
TEST(InvalidationSetTest, Backing_GetString) { … }
TEST(InvalidationSetTest, Backing_GetHashSet) { … }
TEST(InvalidationSetTest, ClassInvalidatesElement) { … }
TEST(InvalidationSetTest, AttributeInvalidatesElement) { … }
TEST(InvalidationSetTest, SubtreeInvalid_AddBefore) { … }
TEST(InvalidationSetTest, SubtreeInvalid_AddAfter) { … }
TEST(InvalidationSetTest, SubtreeInvalid_Combine_1) { … }
TEST(InvalidationSetTest, SubtreeInvalid_Combine_2) { … }
TEST(InvalidationSetTest, SubtreeInvalid_AddCustomPseudoBefore) { … }
TEST(InvalidationSetTest, SelfInvalidationSet_Combine) { … }
}
}