#include <string_view>
#include "extensions/renderer/bindings/argument_spec.h"
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/memory/raw_ptr.h"
#include "base/memory/raw_ref.h"
#include "base/strings/stringprintf.h"
#include "base/values.h"
#include "extensions/renderer/bindings/api_binding_test_util.h"
#include "extensions/renderer/bindings/api_invocation_errors.h"
#include "extensions/renderer/bindings/api_type_reference_map.h"
#include "extensions/renderer/bindings/argument_spec_builder.h"
#include "gin/converter.h"
#include "gin/dictionary.h"
#include "gin/public/isolate_holder.h"
#include "gin/test/v8_test.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "v8/include/v8.h"
namespace extensions {
IndexError;
InvalidType;
kTypeBoolean;
kTypeDouble;
kTypeFunction;
kTypeInteger;
kTypeList;
kTypeNull;
kTypeObject;
kTypeString;
kTypeUndefined;
MissingRequiredProperty;
NumberIsNaNOrInfinity;
V8Validator;
class ArgumentSpecUnitTest : public gin::V8Test { … };
void ArgumentSpecUnitTest::RunTest(RunTestParams& params) { … }
TEST_F(ArgumentSpecUnitTest, Test) { … }
TEST_F(ArgumentSpecUnitTest, TypeRefsTest) { … }
TEST_F(ArgumentSpecUnitTest, TypeChoicesTest) { … }
TEST_F(ArgumentSpecUnitTest, AdditionalPropertiesTest) { … }
TEST_F(ArgumentSpecUnitTest, IgnoreAdditionalPropertiesTest) { … }
TEST_F(ArgumentSpecUnitTest, InstanceOfTest) { … }
TEST_F(ArgumentSpecUnitTest, MinAndMaxLengths) { … }
TEST_F(ArgumentSpecUnitTest, PreserveNull) { … }
TEST_F(ArgumentSpecUnitTest, NaNFun) { … }
TEST_F(ArgumentSpecUnitTest, GetTypeName) { … }
TEST_F(ArgumentSpecUnitTest, V8Conversion) { … }
TEST_F(ArgumentSpecUnitTest, TestV8ValuePassedThrough) { … }
TEST_F(ArgumentSpecUnitTest, SerializableFunctions) { … }
}