#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "third_party/blink/renderer/bindings/core/v8/to_v8_traits.h"
#include "base/time/time.h"
#include "third_party/blink/renderer/bindings/core/v8/frozen_array.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_align_setting.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_binding_for_testing.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_create_html_callback.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_dom_point_init.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_event_listener.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_union_file_formdata_usvstring.h"
#include "third_party/blink/renderer/core/dom/events/event_target.h"
#include "third_party/blink/renderer/core/streams/stream_promise_resolver.h"
#include "third_party/blink/renderer/core/testing/garbage_collected_script_wrappable.h"
#include "third_party/blink/renderer/core/typed_arrays/dom_array_buffer.h"
#include "third_party/blink/renderer/platform/bindings/dictionary_base.h"
#include "third_party/blink/renderer/platform/testing/task_environment.h"
namespace blink {
namespace {
#define TEST_TOV8_TRAITS(scope, IDLType, expected, value) …
template <typename IDLType, typename T>
void TestToV8Traits(const V8TestingScope& scope,
const String& expected,
T value,
const char* path,
int line_number) { … }
TEST(ToV8TraitsTest, Any) { … }
TEST(ToV8TraitsTest, Boolean) { … }
TEST(ToV8TraitsTest, BigInt) { … }
TEST(ToV8TraitsTest, Integer) { … }
TEST(ToV8TraitsTest, FloatAndDouble) { … }
TEST(ToV8TraitsTest, String) { … }
TEST(ToV8TraitsTest, EmptyString) { … }
TEST(ToV8TraitsTest, Object) { … }
TEST(ToV8TraitsTest, Promise) { … }
TEST(ToV8TraitsTest, NotShared) { … }
TEST(ToV8TraitsTest, MaybeShared) { … }
TEST(ToV8TraitsTest, Vector) { … }
TEST(ToV8TraitsTest, HeapVector) { … }
TEST(ToV8TraitsTest, BasicIDLTypeVectors) { … }
TEST(ToV8TraitsTest, StringVectorVector) { … }
TEST(ToV8TraitsTest, ArrayAndSequence) { … }
TEST(ToV8TraitsTest, PairVector) { … }
TEST(ToV8TraitsTest, PairHeapVector) { … }
TEST(ToV8TraitsTest, NullStringInputForNoneNullableType) { … }
TEST(ToV8TraitsTest, Nullable) { … }
TEST(ToV8TraitsTest, NullableString) { … }
TEST(ToV8TraitsTest, NullableObject) { … }
TEST(ToV8TraitsTest, NullableScriptWrappable) { … }
TEST(ToV8TraitsTest, NullableDictionary) { … }
TEST(ToV8TraitsTest, NullableCallbackFunction) { … }
TEST(ToV8TraitsTest, NullableCallbackInterface) { … }
TEST(ToV8TraitsTest, NullableEnumeration) { … }
TEST(ToV8TraitsTest, NullableArray) { … }
TEST(ToV8TraitsTest, NullableDate) { … }
TEST(ToV8TraitsTest, Union) { … }
TEST(ToV8TraitsTest, NullableUnion) { … }
TEST(ToV8TraitsTest, Optional) { … }
}
}