|
Blender
V2.93
|
#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) | |
| 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 436 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 | , |
| StrFormatIntGrouped | |||
| ) |
Definition at line 325 of file BLI_string_test.cc.
References BLI_str_format_int_grouped().
| TEST | ( | string | , |
| StringMaxPossibleWordCount | |||
| ) |
Definition at line 574 of file BLI_string_test.cc.
References BLI_string_max_possible_word_count(), and EXPECT_EQ().
| TEST | ( | string | , |
| StringStrncasestr | |||
| ) |
Definition at line 549 of file BLI_string_test.cc.
References BLI_strncasestr(), and EXPECT_EQ().
| TEST | ( | string | , |
| StrIsDecimal | |||
| ) |
Definition at line 584 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 646 of file BLI_string_test.cc.
| TEST_F | ( | StringCasecmpNatural | , |
| OnlyNumbers | |||
| ) |
Definition at line 761 of file BLI_string_test.cc.
| TEST_F | ( | StringCasecmpNatural | , |
| Period | |||
| ) |
Definition at line 741 of file BLI_string_test.cc.
| TEST_F | ( | StringCasecmpNatural | , |
| TextAndNumbers | |||
| ) |
Definition at line 783 of file BLI_string_test.cc.
| TEST_F | ( | StringCasecmpNatural | , |
| TextMixedCase | |||
| ) |
Definition at line 705 of file BLI_string_test.cc.
| TEST_F | ( | StringCasecmpNatural | , |
| TextOnlyLowerCase | |||
| ) |
Definition at line 682 of file BLI_string_test.cc.
| TEST_F | ( | StringCasecmpNatural | , |
| Whitespace | |||
| ) |
Definition at line 662 of file BLI_string_test.cc.
| TEST_F | ( | StringEscape | , |
| Control | |||
| ) |
Definition at line 860 of file BLI_string_test.cc.
| TEST_F | ( | StringEscape | , |
| Simple | |||
| ) |
Definition at line 833 of file BLI_string_test.cc.
| TEST_F | ( | StringFindSplitWords | , |
| Blank | |||
| ) |
Definition at line 519 of file BLI_string_test.cc.
| TEST_F | ( | StringFindSplitWords | , |
| LimitChars | |||
| ) |
Definition at line 537 of file BLI_string_test.cc.
| TEST_F | ( | StringFindSplitWords | , |
| LimitWords | |||
| ) |
Definition at line 528 of file BLI_string_test.cc.
| TEST_F | ( | StringFindSplitWords | , |
| Simple | |||
| ) |
Definition at line 489 of file BLI_string_test.cc.
| TEST_F | ( | StringFindSplitWords | , |
| Spacing | |||
| ) |
Definition at line 499 of file BLI_string_test.cc.
| TEST_F | ( | StringFindSplitWords | , |
| Trailing_Left | |||
| ) |
Definition at line 504 of file BLI_string_test.cc.
| TEST_F | ( | StringFindSplitWords | , |
| Trailing_LeftRight | |||
| ) |
Definition at line 514 of file BLI_string_test.cc.
| TEST_F | ( | StringFindSplitWords | , |
| Trailing_Right | |||
| ) |
Definition at line 509 of file BLI_string_test.cc.
| TEST_F | ( | StringFindSplitWords | , |
| Triple | |||
| ) |
Definition at line 494 of file BLI_string_test.cc.
| TEST_F | ( | StringFindSplitWords | , |
| Whitespace | |||
| ) |
Definition at line 523 of file BLI_string_test.cc.