Blender V5.3
blender::StringCasecmpNatural Class Reference

Inherits testing::Test.

Protected Types

using CompareWordsArray = vector<std::array<const char *, 2>>

Protected Member Functions

 StringCasecmpNatural ()=default
void testReturnsZeroForAll (const CompareWordsArray &items)
void testReturnsLessThanZeroForAll (const CompareWordsArray &items)
void testReturnsMoreThanZeroForAll (const CompareWordsArray &items)
CompareWordsArray copyWithSwappedWords (const CompareWordsArray &items)

Detailed Description

Definition at line 1212 of file BLI_string_test.cc.

Member Typedef Documentation

◆ CompareWordsArray

using blender::StringCasecmpNatural::CompareWordsArray = vector<std::array<const char *, 2>>
protected

Definition at line 1216 of file BLI_string_test.cc.

Constructor & Destructor Documentation

◆ StringCasecmpNatural()

blender::StringCasecmpNatural::StringCasecmpNatural ( )
protecteddefault

Member Function Documentation

◆ copyWithSwappedWords()

CompareWordsArray blender::StringCasecmpNatural::copyWithSwappedWords ( const CompareWordsArray & items)
inlineprotected

Definition at line 1240 of file BLI_string_test.cc.

◆ testReturnsLessThanZeroForAll()

void blender::StringCasecmpNatural::testReturnsLessThanZeroForAll ( const CompareWordsArray & items)
inlineprotected

Definition at line 1225 of file BLI_string_test.cc.

References blender::BLI_strcasecmp_natural(), and EXPECT_LT.

◆ testReturnsMoreThanZeroForAll()

void blender::StringCasecmpNatural::testReturnsMoreThanZeroForAll ( const CompareWordsArray & items)
inlineprotected

Definition at line 1232 of file BLI_string_test.cc.

References blender::BLI_strcasecmp_natural(), and EXPECT_GT.

◆ testReturnsZeroForAll()

void blender::StringCasecmpNatural::testReturnsZeroForAll ( const CompareWordsArray & items)
inlineprotected

Definition at line 1218 of file BLI_string_test.cc.

References blender::BLI_strcasecmp_natural(), and blender::EXPECT_EQ().


The documentation for this class was generated from the following file: