#include "chrome/browser/extensions/api/declarative_content/content_condition.h"
#include <vector>
#include "base/functional/bind.h"
#include "base/memory/raw_ptr.h"
#include "base/test/values_test_util.h"
#include "base/values.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace extensions {
namespace {
class TestPredicate : public ContentPredicate { … };
class TestPredicateFactoryGeneratingError : public ContentPredicateFactory { … };
class TestPredicateFactoryGeneratingPredicate : public ContentPredicateFactory { … };
}
HasSubstr;
UnorderedElementsAre;
TEST(DeclarativeContentConditionTest, UnknownPredicateName) { … }
TEST(DeclarativeContentConditionTest,
PredicateWithErrorProducesEmptyCondition) { … }
TEST(DeclarativeContentConditionTest, AllSpecifiedPredicatesCreated) { … }
}