chromium/third_party/blink/renderer/platform/exported/web_vector_test.cc

// Copyright 2015 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 "third_party/blink/public/platform/web_vector.h"

#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/platform/web_string.h"
#include "third_party/blink/renderer/platform/wtf/std_lib_extras.h"
#include "third_party/blink/renderer/platform/wtf/vector.h"

namespace blink {

TEST(WebVectorTest, Iterators) {}

TEST(WebVectorTest, Empty) {}

TEST(WebVectorTest, Swap) {}

TEST(WebVectorTest, CreateFromPointer) {}

TEST(WebVectorTest, CreateFromWtfVector) {}

TEST(WebVectorTest, CreateFromStdVector) {}

TEST(WebVectorTest, Reserve) {}

TEST(WebVectorTest, EmplaceBackArgumentForwarding) {}

TEST(WebVectorTest, EmplaceBackElementPlacement) {}

TEST(WebVectorTest, ResizeToSameSize) {}

TEST(WebVectorTest, ResizeShrink) {}

namespace {

// Used to ensure that WebVector supports types without a default constructor.
struct NoDefaultConstructor {};

}  // anonymous namespace

TEST(WebVectorTest, NoDefaultConstructor) {}

}  // namespace blink