|
Blender V5.3
|
#include "testing/testing.h"#include <array>#include <initializer_list>#include <ostream>#include <string>#include <utility>#include <vector>#include "MEM_guardedalloc.h"#include "BLI_string.hh"#include "BLI_string_utf8.hh"#include "BLI_string_utils.hh"#include "BLI_utildefines.hh"Go to the source code of this file.
Classes | |
| struct | blender::WordInfo |
| class | blender::StringFindSplitWords |
| class | blender::StringCasecmpNatural |
| class | blender::StringEscape |
Namespaces | |
| namespace | blender |
| BMesh Iterators. | |
Macros | |
| #define | STR_N_CAT(dst_init, dst_size, src, result_expect) |
| #define | STRNCPY_ENSURE_PAD_EXPECT(src, dst_expect, dst_maxncpy) |
| #define | STR_REPLACE_RANGE(src, size, beg, end, dst, result_expect) |
| #define | STR_ESCAPE_TRUNC_EXPECT(src, dst_expect, dst_maxncpy) |
| #define | STR_UNESCAPE_EXPECT(src, dst_expect, src_len) |
Functions | |
| blender::TEST (BLI_string, bounded_strcpy) | |
| blender::TEST (BLI_string, StartsWith) | |
| blender::TEST (BLI_string, EndsWith) | |
String Concatenate | |
| blender::TEST (string, StrCat) | |
String Copy (Ensure Pad) | |
| blender::TEST (string, StrCopyEnsurePad) | |
String Replace | |
| blender::TEST (string, StrReplaceRange) | |
String Partition | |
| blender::TEST (string, StrPartition) | |
| blender::TEST (string, StrRPartition) | |
| blender::TEST (string, StrPartitionEx) | |
| blender::TEST (string, StrPartitionUtf8) | |
| blender::TEST (string, StrRPartitionUtf8) | |
| blender::TEST (string, StrPartitionExUtf8) | |
String Format Integer (Grouped) | |
| blender::TEST (string, StrFormatIntGrouped) | |
| blender::TEST (string, StrFormatUint64Grouped) | |
String Format Byte Units | |
| blender::TEST (string, StrFormatByteUnits) | |
| blender::TEST (string, StrFormatByteUnitsCompact) | |
String Format Decimal Units | |
| blender::TEST (string, StrFormatDecimalUnits) | |
| blender::TEST (string, StrFormatIntegerUnits) | |
String Length (Clamped) | |
| blender::TEST (string, StringNLen) | |
String Find Split Words | |
| static std::ostream & | blender::operator<< (std::ostream &os, const WordInfo &word_info) |
| blender::TEST_F (StringFindSplitWords, Simple) | |
| blender::TEST_F (StringFindSplitWords, Triple) | |
| blender::TEST_F (StringFindSplitWords, Spacing) | |
| blender::TEST_F (StringFindSplitWords, Trailing_Left) | |
| blender::TEST_F (StringFindSplitWords, Trailing_Right) | |
| blender::TEST_F (StringFindSplitWords, Trailing_LeftRight) | |
| blender::TEST_F (StringFindSplitWords, Blank) | |
| blender::TEST_F (StringFindSplitWords, Whitespace) | |
| blender::TEST_F (StringFindSplitWords, LimitWords) | |
| blender::TEST_F (StringFindSplitWords, LimitChars) | |
String Element | |
| blender::TEST (string, StringElemEmpty) | |
| blender::TEST (string, StringElemSingle) | |
| blender::TEST (string, StringElemComplex) | |
String Search (Case Insensitive) | |
| blender::TEST (string, StringStrncasestr) | |
String Maximum Word Count | |
| blender::TEST (string, StringMaxPossibleWordCount) | |
String is Decimal | |
| blender::TEST (string, StrIsDecimal) | |
String Case Insensitive Comparison | |
| blender::TEST_F (StringCasecmpNatural, Empty) | |
| blender::TEST_F (StringCasecmpNatural, Whitespace) | |
| blender::TEST_F (StringCasecmpNatural, TextOnlyLowerCase) | |
| blender::TEST_F (StringCasecmpNatural, TextMixedCase) | |
| blender::TEST_F (StringCasecmpNatural, Period) | |
| blender::TEST_F (StringCasecmpNatural, OnlyNumbers) | |
| blender::TEST_F (StringCasecmpNatural, TextAndNumbers) | |
String Escape/Un-Escape | |
| blender::TEST_F (StringEscape, Simple) | |
| blender::TEST_F (StringEscape, Control) | |
| blender::TEST_F (StringEscape, Truncate) | |
| blender::TEST_F (StringEscape, UnescapeTrailingBackslash) | |
| blender::TEST_F (StringEscape, UnescapeLen) | |
String Join | |
| #define | BUFFER_SIZE 128 |
| static void | blender::string_join_array_test_truncate (const char *strings[], int strings_num, char buffer[BUFFER_SIZE]) |
| static void | blender::string_join_array_with_sep_char_test_truncate (const char *strings[], int strings_num, char buffer[BUFFER_SIZE]) |
| blender::TEST (string, StrJoin_Truncate) | |
| #define BUFFER_SIZE 128 |
Definition at line 865 of file BLI_string_test.cc.
Referenced by blender::string_join_array_test_truncate(), blender::string_join_array_with_sep_char_test_truncate(), and blender::TEST().
| #define STR_ESCAPE_TRUNC_EXPECT | ( | src, | |
| dst_expect, | |||
| dst_maxncpy ) |
Referenced by blender::TEST_F().
| #define STR_N_CAT | ( | dst_init, | |
| dst_size, | |||
| src, | |||
| result_expect ) |
Referenced by blender::TEST().
| #define STR_REPLACE_RANGE | ( | src, | |
| size, | |||
| beg, | |||
| end, | |||
| dst, | |||
| result_expect ) |
Referenced by blender::TEST().
| #define STR_UNESCAPE_EXPECT | ( | src, | |
| dst_expect, | |||
| src_len ) |
Referenced by blender::TEST_F().
| #define STRNCPY_ENSURE_PAD_EXPECT | ( | src, | |
| dst_expect, | |||
| dst_maxncpy ) |
Referenced by blender::TEST().