|
Blender
V3.3
|
#include "testing/testing.h"#include <array>#include <initializer_list>#include <ostream>#include <string>#include <utility>#include <vector>#include "BLI_string.h"#include "BLI_string_utf8.h"#include "BLI_string_utils.h"#include "BLI_utildefines.h"Go to the source code of this file.
Classes | |
| struct | WordInfo |
| class | StringFindSplitWords |
| class | StringCasecmpNatural |
| class | StringEscape |
Functions | |
| TEST (string, StrPartition) | |
| TEST (string, StrRPartition) | |
| TEST (string, StrPartitionEx) | |
| TEST (string, StrPartitionUtf8) | |
| TEST (string, StrRPartitionUtf8) | |
| TEST (string, StrPartitionExUtf8) | |
| TEST (string, StrFormatIntGrouped) | |
| TEST (string, StrFormatByteUnits) | |
| TEST (string, StrFormatDecimalUnits) | |
| static std::ostream & | operator<< (std::ostream &os, const WordInfo &word_info) |
| TEST_F (StringFindSplitWords, Simple) | |
| TEST_F (StringFindSplitWords, Triple) | |
| TEST_F (StringFindSplitWords, Spacing) | |
| TEST_F (StringFindSplitWords, Trailing_Left) | |
| TEST_F (StringFindSplitWords, Trailing_Right) | |
| TEST_F (StringFindSplitWords, Trailing_LeftRight) | |
| TEST_F (StringFindSplitWords, Blank) | |
| TEST_F (StringFindSplitWords, Whitespace) | |
| TEST_F (StringFindSplitWords, LimitWords) | |
| TEST_F (StringFindSplitWords, LimitChars) | |
| TEST (string, StringStrncasestr) | |
| TEST (string, StringMaxPossibleWordCount) | |
| TEST (string, StrIsDecimal) | |
| TEST_F (StringCasecmpNatural, Empty) | |
| TEST_F (StringCasecmpNatural, Whitespace) | |
| TEST_F (StringCasecmpNatural, TextOnlyLowerCase) | |
| TEST_F (StringCasecmpNatural, TextMixedCase) | |
| TEST_F (StringCasecmpNatural, Period) | |
| TEST_F (StringCasecmpNatural, OnlyNumbers) | |
| TEST_F (StringCasecmpNatural, TextAndNumbers) | |
| TEST_F (StringEscape, Simple) | |
| TEST_F (StringEscape, Control) | |
|
static |
Definition at line 529 of file BLI_string_test.cc.
References WordInfo::end, and WordInfo::start.
| TEST | ( | string | , |
| StrFormatByteUnits | |||
| ) |
Definition at line 359 of file BLI_string_test.cc.
References BLI_str_format_byte_unit(), and size().
| TEST | ( | string | , |
| StrFormatDecimalUnits | |||
| ) |
Definition at line 424 of file BLI_string_test.cc.
References BLI_str_format_decimal_unit(), INT32_MAX, and size().
| TEST | ( | string | , |
| StrFormatIntGrouped | |||
| ) |
Definition at line 325 of file BLI_string_test.cc.
References BLI_str_format_int_grouped().
| TEST | ( | string | , |
| StringMaxPossibleWordCount | |||
| ) |
Definition at line 665 of file BLI_string_test.cc.
References BLI_string_max_possible_word_count(), and EXPECT_EQ().
| TEST | ( | string | , |
| StringStrncasestr | |||
| ) |
Definition at line 640 of file BLI_string_test.cc.
References BLI_strncasestr(), and EXPECT_EQ().
| TEST | ( | string | , |
| StrIsDecimal | |||
| ) |
Definition at line 675 of file BLI_string_test.cc.
References BLI_string_is_decimal().
| TEST | ( | string | , |
| StrPartition | |||
| ) |
Definition at line 26 of file BLI_string_test.cc.
References BLI_str_partition(), EXPECT_EQ(), and str.
| TEST | ( | string | , |
| StrPartitionEx | |||
| ) |
Definition at line 144 of file BLI_string_test.cc.
References BLI_str_partition_ex(), EXPECT_EQ(), and str.
| TEST | ( | string | , |
| StrPartitionExUtf8 | |||
| ) |
Definition at line 293 of file BLI_string_test.cc.
References BLI_str_partition_ex_utf8(), EXPECT_EQ(), and str.
| TEST | ( | string | , |
| StrPartitionUtf8 | |||
| ) |
Definition at line 175 of file BLI_string_test.cc.
References BLI_str_partition_utf8(), EXPECT_EQ(), and str.
| TEST | ( | string | , |
| StrRPartition | |||
| ) |
Definition at line 85 of file BLI_string_test.cc.
References BLI_str_rpartition(), EXPECT_EQ(), and str.
| TEST | ( | string | , |
| StrRPartitionUtf8 | |||
| ) |
Definition at line 234 of file BLI_string_test.cc.
References BLI_str_rpartition_utf8(), EXPECT_EQ(), and str.
| TEST_F | ( | StringCasecmpNatural | , |
| Empty | |||
| ) |
Definition at line 737 of file BLI_string_test.cc.
| TEST_F | ( | StringCasecmpNatural | , |
| OnlyNumbers | |||
| ) |
Definition at line 852 of file BLI_string_test.cc.
| TEST_F | ( | StringCasecmpNatural | , |
| Period | |||
| ) |
Definition at line 832 of file BLI_string_test.cc.
| TEST_F | ( | StringCasecmpNatural | , |
| TextAndNumbers | |||
| ) |
Definition at line 874 of file BLI_string_test.cc.
| TEST_F | ( | StringCasecmpNatural | , |
| TextMixedCase | |||
| ) |
Definition at line 796 of file BLI_string_test.cc.
| TEST_F | ( | StringCasecmpNatural | , |
| TextOnlyLowerCase | |||
| ) |
Definition at line 773 of file BLI_string_test.cc.
| TEST_F | ( | StringCasecmpNatural | , |
| Whitespace | |||
| ) |
Definition at line 753 of file BLI_string_test.cc.
| TEST_F | ( | StringEscape | , |
| Control | |||
| ) |
Definition at line 957 of file BLI_string_test.cc.
| TEST_F | ( | StringEscape | , |
| Simple | |||
| ) |
Definition at line 922 of file BLI_string_test.cc.
| TEST_F | ( | StringFindSplitWords | , |
| Blank | |||
| ) |
Definition at line 610 of file BLI_string_test.cc.
| TEST_F | ( | StringFindSplitWords | , |
| LimitChars | |||
| ) |
Definition at line 628 of file BLI_string_test.cc.
| TEST_F | ( | StringFindSplitWords | , |
| LimitWords | |||
| ) |
Definition at line 619 of file BLI_string_test.cc.
| TEST_F | ( | StringFindSplitWords | , |
| Simple | |||
| ) |
Definition at line 580 of file BLI_string_test.cc.
| TEST_F | ( | StringFindSplitWords | , |
| Spacing | |||
| ) |
Definition at line 590 of file BLI_string_test.cc.
| TEST_F | ( | StringFindSplitWords | , |
| Trailing_Left | |||
| ) |
Definition at line 595 of file BLI_string_test.cc.
| TEST_F | ( | StringFindSplitWords | , |
| Trailing_LeftRight | |||
| ) |
Definition at line 605 of file BLI_string_test.cc.
| TEST_F | ( | StringFindSplitWords | , |
| Trailing_Right | |||
| ) |
Definition at line 600 of file BLI_string_test.cc.
| TEST_F | ( | StringFindSplitWords | , |
| Triple | |||
| ) |
Definition at line 585 of file BLI_string_test.cc.
| TEST_F | ( | StringFindSplitWords | , |
| Whitespace | |||
| ) |
Definition at line 614 of file BLI_string_test.cc.