proxygen
|
#include <folly/FBString.h>
#include <atomic>
#include <cstdlib>
#include <iomanip>
#include <list>
#include <sstream>
#include <boost/algorithm/string.hpp>
#include <boost/random.hpp>
#include <folly/Conv.h>
#include <folly/Portability.h>
#include <folly/Random.h>
#include <folly/Utility.h>
#include <folly/container/Foreach.h>
#include <folly/portability/GTest.h>
#include <folly/test/TestUtils.h>
Go to the source code of this file.
Macros | |
#define | TEST_CLAUSE(x) |
Functions | |
template<class String > | |
void | clause11_21_4_2_a (String &test) |
template<class String > | |
void | clause11_21_4_2_b (String &test) |
template<class String > | |
void | clause11_21_4_2_c (String &test) |
template<class String > | |
void | clause11_21_4_2_d (String &test) |
template<class String > | |
void | clause11_21_4_2_e (String &test) |
template<class String > | |
void | clause11_21_4_2_f (String &test) |
template<class String > | |
void | clause11_21_4_2_g (String &test) |
template<class String > | |
void | clause11_21_4_2_h (String &test) |
template<class String > | |
void | clause11_21_4_2_i (String &test) |
template<class String > | |
void | clause11_21_4_2_j (String &test) |
template<class String > | |
void | clause11_21_4_2_k (String &test) |
template<class String > | |
void | clause11_21_4_2_l (String &test) |
template<class String > | |
void | clause11_21_4_2_lprime (String &test) |
template<class String > | |
void | clause11_21_4_2_m (String &test) |
template<class String > | |
void | clause11_21_4_2_n (String &test) |
template<class String > | |
void | clause11_21_4_3 (String &test) |
template<class String > | |
void | clause11_21_4_4 (String &test) |
template<class String > | |
void | clause11_21_4_5 (String &test) |
template<class String > | |
void | clause11_21_4_6_1 (String &test) |
template<class String > | |
void | clause11_21_4_6_2 (String &test) |
template<class String > | |
void | clause11_21_4_6_3_a (String &test) |
template<class String > | |
void | clause11_21_4_6_3_b (String &test) |
template<class String > | |
void | clause11_21_4_6_3_c (String &test) |
template<class String > | |
void | clause11_21_4_6_3_d (String &test) |
template<class String > | |
void | clause11_21_4_6_3_e (String &test) |
template<class String > | |
void | clause11_21_4_6_3_f (String &test) |
template<class String > | |
void | clause11_21_4_6_3_g (String &test) |
template<class String > | |
void | clause11_21_4_6_3_h (String &test) |
template<class String > | |
void | clause11_21_4_6_3_i (String &test) |
template<class String > | |
void | clause11_21_4_6_3_j (String &test) |
template<class String > | |
void | clause11_21_4_6_3_k (String &test) |
template<class String > | |
void | clause11_21_4_6_4 (String &test) |
template<class String > | |
void | clause11_21_4_6_5 (String &test) |
template<class String > | |
void | clause11_21_4_6_6 (String &test) |
template<class String > | |
void | clause11_21_4_6_7 (String &test) |
template<class String > | |
void | clause11_21_4_6_8 (String &test) |
template<class String > | |
void | clause11_21_4_7_1 (String &test) |
template<class String > | |
void | clause11_21_4_7_2_a (String &test) |
template<class String > | |
void | clause11_21_4_7_2_a1 (String &test) |
template<class String > | |
void | clause11_21_4_7_2_a2 (String &test) |
template<class String > | |
void | clause11_21_4_7_2_b (String &test) |
template<class String > | |
void | clause11_21_4_7_2_b1 (String &test) |
template<class String > | |
void | clause11_21_4_7_2_b2 (String &test) |
template<class String > | |
void | clause11_21_4_7_2_c (String &test) |
template<class String > | |
void | clause11_21_4_7_2_c1 (String &test) |
template<class String > | |
void | clause11_21_4_7_2_c2 (String &test) |
template<class String > | |
void | clause11_21_4_7_2_d (String &test) |
template<class String > | |
void | clause11_21_4_7_3_a (String &test) |
template<class String > | |
void | clause11_21_4_7_3_b (String &test) |
template<class String > | |
void | clause11_21_4_7_3_c (String &test) |
template<class String > | |
void | clause11_21_4_7_3_d (String &test) |
template<class String > | |
void | clause11_21_4_7_4_a (String &test) |
template<class String > | |
void | clause11_21_4_7_4_b (String &test) |
template<class String > | |
void | clause11_21_4_7_4_c (String &test) |
template<class String > | |
void | clause11_21_4_7_4_d (String &test) |
template<class String > | |
void | clause11_21_4_7_5_a (String &test) |
template<class String > | |
void | clause11_21_4_7_5_b (String &test) |
template<class String > | |
void | clause11_21_4_7_5_c (String &test) |
template<class String > | |
void | clause11_21_4_7_5_d (String &test) |
template<class String > | |
void | clause11_21_4_7_6_a (String &test) |
template<class String > | |
void | clause11_21_4_7_6_b (String &test) |
template<class String > | |
void | clause11_21_4_7_6_c (String &test) |
template<class String > | |
void | clause11_21_4_7_6_d (String &test) |
template<class String > | |
void | clause11_21_4_7_7_a (String &test) |
template<class String > | |
void | clause11_21_4_7_7_b (String &test) |
template<class String > | |
void | clause11_21_4_7_7_c (String &test) |
template<class String > | |
void | clause11_21_4_7_7_d (String &test) |
template<class String > | |
void | clause11_21_4_7_8 (String &test) |
template<class String > | |
void | clause11_21_4_7_9_a (String &test) |
template<class String > | |
void | clause11_21_4_7_9_b (String &test) |
template<class String > | |
void | clause11_21_4_7_9_c (String &test) |
template<class String > | |
void | clause11_21_4_7_9_d (String &test) |
template<class String > | |
void | clause11_21_4_7_9_e (String &test) |
template<class String > | |
void | clause11_21_4_8_1_a (String &test) |
template<class String > | |
void | clause11_21_4_8_1_b (String &test) |
template<class String > | |
void | clause11_21_4_8_1_c (String &test) |
template<class String > | |
void | clause11_21_4_8_1_d (String &test) |
template<class String > | |
void | clause11_21_4_8_1_e (String &test) |
template<class String > | |
void | clause11_21_4_8_1_f (String &test) |
template<class String > | |
void | clause11_21_4_8_1_g (String &test) |
template<class String > | |
void | clause11_21_4_8_1_h (String &test) |
template<class String > | |
void | clause11_21_4_8_1_i (String &test) |
template<class String > | |
void | clause11_21_4_8_1_j (String &test) |
template<class String > | |
void | clause11_21_4_8_1_k (String &test) |
template<class String > | |
void | clause11_21_4_8_1_l (String &test) |
template<class String > | |
void | clause11_21_4_8_9_a (String &test) |
TEST (FBString, testAllClauses) | |
TEST (FBString, testGetline) | |
TEST (FBString, testMoveCtor) | |
TEST (FBString, testMoveAssign) | |
TEST (FBString, testMoveOperatorPlusLhs) | |
TEST (FBString, testMoveOperatorPlusRhs) | |
TEST (FBString, testConstructionFromLiteralZero) | |
TEST (FBString, testFixedBugs_D479397) | |
TEST (FBString, testFixedBugs_D481173) | |
TEST (FBString, testFixedBugs_D580267_push_back) | |
TEST (FBString, testFixedBugs_D580267_operator_add_assign) | |
TEST (FBString, testFixedBugs_D661622) | |
TEST (FBString, testFixedBugs_D785057) | |
TEST (FBString, testFixedBugs_D1012196_allocator_malloc) | |
TEST (FBString, testFixedBugs_D2813713) | |
TEST (FBString, testFixedBugs_D3698862) | |
TEST (FBString, testFixedBugs_D4355440) | |
TEST (FBString, findWithNpos) | |
TEST (FBString, testHash) | |
TEST (FBString, testFrontBack) | |
TEST (FBString, noexcept) | |
TEST (FBString, iomanip) | |
TEST (FBString, rvalueIterators) | |
TEST (FBString, moveTerminator) | |
TEST (FBStringCtorTest, DefaultInitStructDefaultAlloc) | |
TEST (FBStringCtorTest, DefaultInitStructAlloc) | |
TEST (FBStringCtorTest, NullZeroConstruction) | |
TEST (FBString, compareToStdString) | |
TEST (U16FBString, compareToStdU16String) | |
TEST (U32FBString, compareToStdU32String) | |
TEST (WFBString, compareToStdWString) | |
TEST (FBString, compareToStdStringLong) | |
TEST (U16FBString, compareToStdU16StringLong) | |
#define TEST_CLAUSE | ( | x | ) |
Referenced by TEST().
void clause11_21_4_2_a | ( | String & | test | ) |
Definition at line 84 of file FBStringTest.cpp.
References test().
void clause11_21_4_2_b | ( | String & | test | ) |
Definition at line 89 of file FBStringTest.cpp.
void clause11_21_4_2_c | ( | String & | test | ) |
Definition at line 94 of file FBStringTest.cpp.
References EXPECT_EQ, EXPECT_LE, and folly::gen::move.
void clause11_21_4_2_d | ( | String & | test | ) |
Definition at line 106 of file FBStringTest.cpp.
void clause11_21_4_2_e | ( | String & | test | ) |
void clause11_21_4_2_f | ( | String & | test | ) |
void clause11_21_4_2_g | ( | String & | test | ) |
Definition at line 137 of file FBStringTest.cpp.
void clause11_21_4_2_h | ( | String & | test | ) |
Definition at line 144 of file FBStringTest.cpp.
References c, EXPECT_EQ, and folly::pushmi::detail::t.
void clause11_21_4_2_i | ( | String & | test | ) |
void clause11_21_4_2_j | ( | String & | test | ) |
Definition at line 181 of file FBStringTest.cpp.
References EXPECT_EQ, FOR_EACH_RANGE, i, random(), s, and folly::size().
void clause11_21_4_2_k | ( | String & | test | ) |
Definition at line 190 of file FBStringTest.cpp.
References EXPECT_EQ, EXPECT_LE, FOR_EACH_RANGE, i, folly::gen::move, random(), s, and folly::size().
void clause11_21_4_2_l | ( | String & | test | ) |
void clause11_21_4_2_lprime | ( | String & | test | ) |
void clause11_21_4_2_m | ( | String & | test | ) |
void clause11_21_4_2_n | ( | String & | test | ) |
Definition at line 228 of file FBStringTest.cpp.
void clause11_21_4_3 | ( | String & | test | ) |
Definition at line 235 of file FBStringTest.cpp.
void clause11_21_4_4 | ( | String & | test | ) |
Definition at line 250 of file FBStringTest.cpp.
References folly::copy(), folly::empty(), EXPECT_EQ, EXPECT_LE, and test().
void clause11_21_4_5 | ( | String & | test | ) |
Definition at line 275 of file FBStringTest.cpp.
References folly::pushmi::detail::as_const, EXPECT_EQ, EXPECT_THROW, i, and random().
void clause11_21_4_6_1 | ( | String & | test | ) |
Definition at line 290 of file FBStringTest.cpp.
References folly::copy(), EXPECT_EQ, FOR_EACH_RANGE, random(), randomString(), and test().
void clause11_21_4_6_2 | ( | String & | test | ) |
Definition at line 345 of file FBStringTest.cpp.
References c, EXPECT_EQ, random(), RandomList(), randomString(), and s.
void clause11_21_4_6_3_a | ( | String & | test | ) |
Definition at line 376 of file FBStringTest.cpp.
References EXPECT_EQ, EXPECT_LE, folly::gen::move, randomString(), and s.
void clause11_21_4_6_3_b | ( | String & | test | ) |
void clause11_21_4_6_3_c | ( | String & | test | ) |
void clause11_21_4_6_3_d | ( | String & | test | ) |
void clause11_21_4_6_3_e | ( | String & | test | ) |
void clause11_21_4_6_3_f | ( | String & | test | ) |
void clause11_21_4_6_3_g | ( | String & | test | ) |
Definition at line 429 of file FBStringTest.cpp.
void clause11_21_4_6_3_h | ( | String & | test | ) |
void clause11_21_4_6_3_i | ( | String & | test | ) |
Definition at line 441 of file FBStringTest.cpp.
References random().
void clause11_21_4_6_3_j | ( | String & | test | ) |
Definition at line 447 of file FBStringTest.cpp.
void clause11_21_4_6_3_k | ( | String & | test | ) |
Definition at line 453 of file FBStringTest.cpp.
void clause11_21_4_6_4 | ( | String & | test | ) |
Definition at line 460 of file FBStringTest.cpp.
References EXPECT_EQ, i, random(), RandomList(), randomString(), and s.
void clause11_21_4_6_5 | ( | String & | test | ) |
Definition at line 495 of file FBStringTest.cpp.
void clause11_21_4_6_6 | ( | String & | test | ) |
void clause11_21_4_6_7 | ( | String & | test | ) |
void clause11_21_4_6_8 | ( | String & | test | ) |
void clause11_21_4_7_1 | ( | String & | test | ) |
void clause11_21_4_7_2_a | ( | String & | test | ) |
void clause11_21_4_7_2_a1 | ( | String & | test | ) |
void clause11_21_4_7_2_a2 | ( | String & | test | ) |
Definition at line 660 of file FBStringTest.cpp.
References Num2String(), random(), and test().
void clause11_21_4_7_2_b | ( | String & | test | ) |
Definition at line 667 of file FBStringTest.cpp.
References folly::pushmi::operators::from, Num2String(), and random().
void clause11_21_4_7_2_b1 | ( | String & | test | ) |
Definition at line 677 of file FBStringTest.cpp.
References folly::pushmi::operators::from, Num2String(), and random().
void clause11_21_4_7_2_b2 | ( | String & | test | ) |
Definition at line 687 of file FBStringTest.cpp.
References folly::pushmi::operators::from, Num2String(), random(), and test().
void clause11_21_4_7_2_c | ( | String & | test | ) |
void clause11_21_4_7_2_c1 | ( | String & | test | ) |
void clause11_21_4_7_2_c2 | ( | String & | test | ) |
Definition at line 711 of file FBStringTest.cpp.
References Num2String(), random(), and test().
void clause11_21_4_7_2_d | ( | String & | test | ) |
void clause11_21_4_7_3_a | ( | String & | test | ) |
void clause11_21_4_7_3_b | ( | String & | test | ) |
void clause11_21_4_7_3_c | ( | String & | test | ) |
void clause11_21_4_7_3_d | ( | String & | test | ) |
void clause11_21_4_7_4_a | ( | String & | test | ) |
Definition at line 748 of file FBStringTest.cpp.
References Num2String(), random(), and randomString().
void clause11_21_4_7_4_b | ( | String & | test | ) |
Definition at line 755 of file FBStringTest.cpp.
References Num2String(), random(), and randomString().
void clause11_21_4_7_4_c | ( | String & | test | ) |
Definition at line 765 of file FBStringTest.cpp.
References Num2String(), random(), and randomString().
void clause11_21_4_7_4_d | ( | String & | test | ) |
void clause11_21_4_7_5_a | ( | String & | test | ) |
Definition at line 778 of file FBStringTest.cpp.
References Num2String(), random(), and randomString().
void clause11_21_4_7_5_b | ( | String & | test | ) |
Definition at line 785 of file FBStringTest.cpp.
References Num2String(), random(), and randomString().
void clause11_21_4_7_5_c | ( | String & | test | ) |
Definition at line 795 of file FBStringTest.cpp.
References Num2String(), random(), and randomString().
void clause11_21_4_7_5_d | ( | String & | test | ) |
void clause11_21_4_7_6_a | ( | String & | test | ) |
Definition at line 807 of file FBStringTest.cpp.
References Num2String(), random(), and randomString().
void clause11_21_4_7_6_b | ( | String & | test | ) |
Definition at line 814 of file FBStringTest.cpp.
References Num2String(), random(), and randomString().
void clause11_21_4_7_6_c | ( | String & | test | ) |
Definition at line 824 of file FBStringTest.cpp.
References Num2String(), random(), and randomString().
void clause11_21_4_7_6_d | ( | String & | test | ) |
void clause11_21_4_7_7_a | ( | String & | test | ) |
Definition at line 837 of file FBStringTest.cpp.
References Num2String(), random(), and randomString().
void clause11_21_4_7_7_b | ( | String & | test | ) |
Definition at line 844 of file FBStringTest.cpp.
References Num2String(), random(), and randomString().
void clause11_21_4_7_7_c | ( | String & | test | ) |
Definition at line 854 of file FBStringTest.cpp.
References Num2String(), random(), and randomString().
void clause11_21_4_7_7_d | ( | String & | test | ) |
void clause11_21_4_7_8 | ( | String & | test | ) |
void clause11_21_4_7_9_a | ( | String & | test | ) |
void clause11_21_4_7_9_b | ( | String & | test | ) |
Definition at line 885 of file FBStringTest.cpp.
References Num2String(), random(), randomString(), and s.
void clause11_21_4_7_9_c | ( | String & | test | ) |
Definition at line 899 of file FBStringTest.cpp.
References Num2String(), random(), and randomString().
void clause11_21_4_7_9_d | ( | String & | test | ) |
void clause11_21_4_7_9_e | ( | String & | test | ) |
Definition at line 930 of file FBStringTest.cpp.
References Num2String(), random(), and randomString().
void clause11_21_4_8_1_a | ( | String & | test | ) |
void clause11_21_4_8_1_b | ( | String & | test | ) |
void clause11_21_4_8_1_c | ( | String & | test | ) |
void clause11_21_4_8_1_d | ( | String & | test | ) |
void clause11_21_4_8_1_e | ( | String & | test | ) |
void clause11_21_4_8_1_f | ( | String & | test | ) |
Definition at line 992 of file FBStringTest.cpp.
References folly::gen::move, randomString(), and s.
void clause11_21_4_8_1_g | ( | String & | test | ) |
void clause11_21_4_8_1_h | ( | String & | test | ) |
Definition at line 1008 of file FBStringTest.cpp.
References folly::gen::move, random(), randomString(), and s.
void clause11_21_4_8_1_i | ( | String & | test | ) |
void clause11_21_4_8_1_j | ( | String & | test | ) |
Definition at line 1024 of file FBStringTest.cpp.
References folly::gen::move, randomString(), and s.
void clause11_21_4_8_1_k | ( | String & | test | ) |
void clause11_21_4_8_1_l | ( | String & | test | ) |
Definition at line 1040 of file FBStringTest.cpp.
References folly::gen::move, randomString(), and s.
void clause11_21_4_8_9_a | ( | String & | test | ) |
Definition at line 1050 of file FBStringTest.cpp.
References test().
TEST | ( | FBString | , |
testAllClauses | |||
) |
Definition at line 1059 of file FBStringTest.cpp.
References c, folly::basic_fbstring< E, T, A, Storage >::c_str(), count, folly::basic_fbstring< E, T, A, Storage >::data(), EXPECT_EQ, EXPECT_TRUE, mb(), randomString(), rng, seed, folly::basic_fbstring< E, T, A, Storage >::size(), string, and TEST_CLAUSE.
Referenced by TEST().
TEST | ( | FBString | , |
testGetline | |||
) |
Definition at line 1206 of file FBStringTest.cpp.
References EXPECT_EQ, EXPECT_TRUE, fail(), FOR_EACH, getline(), folly::gen::split(), and v.
TEST | ( | FBString | , |
testMoveCtor | |||
) |
Definition at line 1239 of file FBStringTest.cpp.
References folly::basic_fbstring< E, T, A, Storage >::empty(), EXPECT_EQ, EXPECT_TRUE, folly::gen::move, random(), s, folly::size(), and folly::basic_fbstring< E, T, A, Storage >::size().
TEST | ( | FBString | , |
testMoveAssign | |||
) |
Definition at line 1249 of file FBStringTest.cpp.
References folly::basic_fbstring< E, T, A, Storage >::empty(), EXPECT_EQ, EXPECT_TRUE, folly::gen::move, random(), s, folly::size(), folly::basic_fbstring< E, T, A, Storage >::size(), and test().
TEST | ( | FBString | , |
testMoveOperatorPlusLhs | |||
) |
Definition at line 1260 of file FBStringTest.cpp.
References folly::basic_fbstring< E, T, A, Storage >::empty(), EXPECT_EQ, EXPECT_TRUE, folly::gen::move, random(), folly::basic_fbstring< E, T, A, Storage >::size(), and test().
TEST | ( | FBString | , |
testMoveOperatorPlusRhs | |||
) |
Definition at line 1273 of file FBStringTest.cpp.
References EXPECT_EQ, folly::gen::move, random(), folly::basic_fbstring< E, T, A, Storage >::size(), and test().
TEST | ( | FBString | , |
testConstructionFromLiteralZero | |||
) |
TEST | ( | FBString | , |
testFixedBugs_D479397 | |||
) |
Definition at line 1295 of file FBStringTest.cpp.
References folly::basic_fbstring< E, T, A, Storage >::c_str(), folly::basic_fbstring< E, T, A, Storage >::clear(), EXPECT_EQ, and folly::basic_fbstring< E, T, A, Storage >::front().
TEST | ( | FBString | , |
testFixedBugs_D481173 | |||
) |
Definition at line 1303 of file FBStringTest.cpp.
References folly::basic_fbstring< E, T, A, Storage >::c_str(), EXPECT_EQ, i, folly::basic_fbstring< E, T, A, Storage >::push_back(), and folly::basic_fbstring< E, T, A, Storage >::size().
TEST | ( | FBString | , |
testFixedBugs_D580267_push_back | |||
) |
Definition at line 1313 of file FBStringTest.cpp.
References folly::basic_fbstring< E, T, A, Storage >::push_back().
TEST | ( | FBString | , |
testFixedBugs_D580267_operator_add_assign | |||
) |
Definition at line 1319 of file FBStringTest.cpp.
TEST | ( | FBString | , |
testFixedBugs_D661622 | |||
) |
Definition at line 1325 of file FBStringTest.cpp.
References EXPECT_EQ, s, and folly::basic_fbstring< E, T, A, Storage >::size().
TEST | ( | FBString | , |
testFixedBugs_D785057 | |||
) |
Definition at line 1330 of file FBStringTest.cpp.
References EXPECT_EQ, folly::basic_fbstring< E, T, A, Storage >::size(), and folly::f14::swap().
TEST | ( | FBString | , |
testFixedBugs_D1012196_allocator_malloc | |||
) |
Definition at line 1336 of file FBStringTest.cpp.
References folly::basic_fbstring< E, T, A, Storage >::capacity(), folly::basic_fbstring< E, T, A, Storage >::clear(), folly::copy(), EXPECT_GE, and folly::basic_fbstring< E, T, A, Storage >::push_back().
TEST | ( | FBString | , |
testFixedBugs_D2813713 | |||
) |
Definition at line 1344 of file FBStringTest.cpp.
References EXPECT_EQ, folly::gen::move, and folly::basic_fbstring< E, T, A, Storage >::reserve().
TEST | ( | FBString | , |
testFixedBugs_D3698862 | |||
) |
TEST | ( | FBString | , |
testFixedBugs_D4355440 | |||
) |
Definition at line 1360 of file FBStringTest.cpp.
References folly::basic_fbstring< E, T, A, Storage >::capacity(), EXPECT_EQ, EXPECT_NE, folly::goodMallocSize(), folly::basic_fbstring< E, T, A, Storage >::reserve(), SKIP_IF, and folly::usingJEMalloc().
TEST | ( | FBString | , |
findWithNpos | |||
) |
Definition at line 1375 of file FBStringTest.cpp.
References EXPECT_EQ, and folly::basic_fbstring< E, T, A, Storage >::find().
TEST | ( | FBString | , |
testHash | |||
) |
Definition at line 1380 of file FBStringTest.cpp.
References a, b, EXPECT_NE, folly::basic_fbstring< E, T, A, Storage >::push_back(), and TEST().
TEST | ( | FBString | , |
testFrontBack | |||
) |
Definition at line 1405 of file FBStringTest.cpp.
References folly::basic_fbstring< E, T, A, Storage >::back(), EXPECT_EQ, and folly::basic_fbstring< E, T, A, Storage >::front().
TEST | ( | FBString | , |
noexcept | |||
) |
Definition at line 1416 of file FBStringTest.cpp.
References EXPECT_FALSE, EXPECT_TRUE, folly::gen::move, folly::pushmi::__adl::noexcept(), and x.
TEST | ( | FBString | , |
iomanip | |||
) |
TEST | ( | FBString | , |
rvalueIterators | |||
) |
Definition at line 1451 of file FBStringTest.cpp.
References b, folly::basic_fbstring< E, T, A, Storage >::begin(), folly::basic_fbstring< E, T, A, Storage >::end(), EXPECT_EQ, folly::basic_fbstring< E, T, A, Storage >::replace(), and s.
TEST | ( | FBString | , |
moveTerminator | |||
) |
Definition at line 1471 of file FBStringTest.cpp.
References folly::basic_fbstring< E, T, A, Storage >::c_str(), EXPECT_EQ, k, folly::gen::move, s, and folly::basic_fbstring< E, T, A, Storage >::size().
TEST | ( | FBStringCtorTest | , |
DefaultInitStructDefaultAlloc | |||
) |
TEST | ( | FBStringCtorTest | , |
DefaultInitStructAlloc | |||
) |
TEST | ( | FBStringCtorTest | , |
NullZeroConstruction | |||
) |
Definition at line 1526 of file FBStringTest.cpp.
References EXPECT_EQ, f, and folly::basic_fbstring< E, T, A, Storage >::size().
TEST | ( | FBString | , |
compareToStdString | |||
) |
TEST | ( | U16FBString | , |
compareToStdU16String | |||
) |
Definition at line 1562 of file FBStringTest.cpp.
References EXPECT_TRUE, and s.
TEST | ( | U32FBString | , |
compareToStdU32String | |||
) |
Definition at line 1587 of file FBStringTest.cpp.
References EXPECT_TRUE, and s.
TEST | ( | WFBString | , |
compareToStdWString | |||
) |
Definition at line 1612 of file FBStringTest.cpp.
References EXPECT_TRUE, and s.
TEST | ( | FBString | , |
compareToStdStringLong | |||
) |
TEST | ( | U16FBString | , |
compareToStdU16StringLong | |||
) |
Definition at line 1665 of file FBStringTest.cpp.
References EXPECT_TRUE, s, and TEST().