chromium/gin/converter_unittest.cc

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/351564777): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "gin/converter.h"

#include <limits.h>
#include <stddef.h>
#include <stdint.h>

#include <string>

#include "base/compiler_specific.h"
#include "base/strings/utf_string_conversions.h"
#include "gin/function_template.h"
#include "gin/handle.h"
#include "gin/public/isolate_holder.h"
#include "gin/test/v8_test.h"
#include "gin/wrappable.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "v8/include/v8-container.h"
#include "v8/include/v8-forward.h"
#include "v8/include/v8-function.h"
#include "v8/include/v8-isolate.h"
#include "v8/include/v8-primitive.h"
#include "v8/include/v8-template.h"

namespace gin {

Array;
Boolean;
HandleScope;
Integer;
Local;
Null;
Number;
Object;
String;
Undefined;
Value;

ConverterTest;

TEST_F(ConverterTest, Bool) {}

TEST_F(ConverterTest, String16) {}

TEST_F(ConverterTest, Int32) {}

TEST_F(ConverterTest, Vector) {}

TEST_F(ConverterTest, VectorOfVectors) {}

namespace {

class MyObject : public Wrappable<MyObject> {};

WrapperInfo MyObject::kWrapperInfo =;

}  // namespace

TEST_F(ConverterTest, VectorOfWrappables) {}

namespace {

class MoveOnlyObject {};

}  // namespace

template <>
struct Converter<MoveOnlyObject> {};

TEST_F(ConverterTest, MoveOnlyParameters) {}

TEST_F(ConverterTest, VectorOfMoveOnly) {}

}  // namespace gin