#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "third_party/blink/renderer/platform/wtf/text/string_view.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/platform/wtf/text/atomic_string.h"
#include "third_party/blink/renderer/platform/wtf/text/string_impl.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
namespace WTF {
const char kChars[] = …;
const LChar* const kChars8 = …;
const UChar* const kChars16 = …;
TEST(StringViewTest, ConstructionStringImpl8) { … }
TEST(StringViewTest, ConstructionStringImpl16) { … }
TEST(StringViewTest, ConstructionStringImplRef8) { … }
TEST(StringViewTest, ConstructionStringImplRef16) { … }
TEST(StringViewTest, ConstructionString8) { … }
TEST(StringViewTest, ConstructionString16) { … }
TEST(StringViewTest, ConstructionAtomicString8) { … }
TEST(StringViewTest, ConstructionAtomicString16) { … }
TEST(StringViewTest, ConstructionStringView8) { … }
TEST(StringViewTest, ConstructionStringView16) { … }
TEST(StringViewTest, SubstringContainsOnlyWhitespaceOrEmpty) { … }
TEST(StringViewTest, ConstructionLiteral8) { … }
TEST(StringViewTest, ConstructionLiteral16) { … }
#if ENABLE_SECURITY_ASSERT
TEST(StringViewTest, OverflowInConstructor) { … }
TEST(StringViewTest, OverflowInSet) { … }
#endif
TEST(StringViewTest, IsEmpty) { … }
TEST(StringViewTest, ToString) { … }
TEST(StringViewTest, ToAtomicString) { … }
TEST(StringViewTest, ToStringImplSharing) { … }
TEST(StringViewTest, NullString) { … }
TEST(StringViewTest, IndexAccess) { … }
TEST(StringViewTest, EqualIgnoringASCIICase) { … }
TEST(StringViewTest, DeprecatedEqualIgnoringCase) { … }
TEST(StringViewTest, NextCodePointOffset) { … }
}