#include "gin/interceptor.h"
#include <stdint.h>
#include "base/functional/bind.h"
#include "gin/arguments.h"
#include "gin/handle.h"
#include "gin/object_template_builder.h"
#include "gin/per_isolate_data.h"
#include "gin/public/isolate_holder.h"
#include "gin/test/v8_test.h"
#include "gin/try_catch.h"
#include "gin/wrappable.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "v8/include/v8-function.h"
#include "v8/include/v8-script.h"
#include "v8/include/v8-util.h"
namespace gin {
class MyInterceptor : public Wrappable<MyInterceptor>,
public NamedPropertyInterceptor,
public IndexedPropertyInterceptor { … };
WrapperInfo MyInterceptor::kWrapperInfo = …;
class InterceptorTest : public V8Test { … };
TEST_F(InterceptorTest, NamedInterceptor) { … }
TEST_F(InterceptorTest, NamedInterceptorCall) { … }
TEST_F(InterceptorTest, IndexedInterceptor) { … }
TEST_F(InterceptorTest, BypassInterceptorAllowed) { … }
TEST_F(InterceptorTest, BypassInterceptorForbidden) { … }
}