#include "extensions/renderer/bindings/declarative_event.h"
#include <memory>
#include <string_view>
#include "base/functional/bind.h"
#include "base/strings/stringprintf.h"
#include "base/values.h"
#include "extensions/common/extension_api.h"
#include "extensions/renderer/bindings/api_binding_test.h"
#include "extensions/renderer/bindings/api_binding_test_util.h"
#include "extensions/renderer/bindings/api_bindings_system.h"
#include "extensions/renderer/bindings/api_bindings_system_unittest.h"
#include "extensions/renderer/bindings/api_last_error.h"
#include "extensions/renderer/bindings/api_request_handler.h"
#include "extensions/renderer/bindings/api_type_reference_map.h"
#include "extensions/renderer/bindings/argument_spec.h"
#include "extensions/renderer/bindings/test_interaction_provider.h"
#include "gin/handle.h"
namespace extensions {
namespace {
const char kDeclarativeAPIName[] = …;
const char kDeclarativeAPISpec[] = …;
}
class DeclarativeEventTest : public APIBindingTest { … };
TEST_F(DeclarativeEventTest, TestRulesSchema) { … }
class DeclarativeEventWithSchemaTest : public APIBindingsSystemTest { … };
TEST_F(DeclarativeEventWithSchemaTest, TestAllMethods) { … }
}