Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
TestStringUtils.cpp File Reference
#include "utils/StringUtils.h"
#include <algorithm>
#include <gtest/gtest.h>

Namespaces

namespace  test_enum
 

Enumerations

enum class  ECG { A , B }
 
enum  EG { C , D }
 
enum class  test_enum::ECN { test_enum::A = 1 , test_enum::B }
 
enum  test_enum::EN { test_enum::C = 1 , test_enum::D }
 

Functions

 TEST (TestStringUtils, Format)
 
 TEST (TestStringUtils, FormatEnum)
 
 TEST (TestStringUtils, FormatEnumWidth)
 
 TEST (TestStringUtils, ToUpper)
 
 TEST (TestStringUtils, ToLower)
 
 TEST (TestStringUtils, ToCapitalize)
 
 TEST (TestStringUtils, EqualsNoCase)
 
 TEST (TestStringUtils, Left)
 
 TEST (TestStringUtils, Mid)
 
 TEST (TestStringUtils, Right)
 
 TEST (TestStringUtils, Trim)
 
 TEST (TestStringUtils, TrimLeft)
 
 TEST (TestStringUtils, TrimRight)
 
 TEST (TestStringUtils, Replace)
 
 TEST (TestStringUtils, StartsWith)
 
 TEST (TestStringUtils, EndsWith)
 
 TEST (TestStringUtils, Join)
 
 TEST (TestStringUtils, Split)
 
 TEST (TestStringUtils, FindNumber)
 
 TEST (TestStringUtils, AlphaNumericCompare)
 
 TEST (TestStringUtils, TimeStringToSeconds)
 
 TEST (TestStringUtils, RemoveCRLF)
 
 TEST (TestStringUtils, utf8_strlen)
 
 TEST (TestStringUtils, SecondsToTimeString)
 
 TEST (TestStringUtils, IsNaturalNumber)
 
 TEST (TestStringUtils, IsInteger)
 
 TEST (TestStringUtils, SizeToString)
 
 TEST (TestStringUtils, EmptyString)
 
 TEST (TestStringUtils, FindWords)
 
 TEST (TestStringUtils, FindWords_NonAscii)
 
 TEST (TestStringUtils, FindEndBracket)
 
 TEST (TestStringUtils, DateStringToYYYYMMDD)
 
 TEST (TestStringUtils, WordToDigits)
 
 TEST (TestStringUtils, CreateUUID)
 
 TEST (TestStringUtils, ValidateUUID)
 
 TEST (TestStringUtils, CompareFuzzy)
 
 TEST (TestStringUtils, FindBestMatch)
 
 TEST (TestStringUtils, Paramify)
 
 TEST (TestStringUtils, sortstringbyname)
 
 TEST (TestStringUtils, FileSizeFormat)
 
 TEST (TestStringUtils, ToHexadecimal)
 

Enumeration Type Documentation

◆ ECG

enum class ECG
strong
Enumerator

◆ EG

enum EG
Enumerator

Function Documentation

◆ TEST() [1/41]

TEST ( TestStringUtils ,
AlphaNumericCompare  )

◆ TEST() [2/41]

TEST ( TestStringUtils ,
CompareFuzzy  )

◆ TEST() [3/41]

TEST ( TestStringUtils ,
CreateUUID  )

◆ TEST() [4/41]

TEST ( TestStringUtils ,
DateStringToYYYYMMDD  )

◆ TEST() [5/41]

TEST ( TestStringUtils ,
EmptyString  )

◆ TEST() [6/41]

TEST ( TestStringUtils ,
EndsWith  )

◆ TEST() [7/41]

TEST ( TestStringUtils ,
EqualsNoCase  )

◆ TEST() [8/41]

TEST ( TestStringUtils ,
FileSizeFormat  )

◆ TEST() [9/41]

TEST ( TestStringUtils ,
FindBestMatch  )

◆ TEST() [10/41]

TEST ( TestStringUtils ,
FindEndBracket  )

◆ TEST() [11/41]

TEST ( TestStringUtils ,
FindNumber  )

◆ TEST() [12/41]

TEST ( TestStringUtils ,
FindWords  )

◆ TEST() [13/41]

TEST ( TestStringUtils ,
FindWords_NonAscii  )

◆ TEST() [14/41]

TEST ( TestStringUtils ,
Format  )

◆ TEST() [15/41]

TEST ( TestStringUtils ,
FormatEnum  )

◆ TEST() [16/41]

TEST ( TestStringUtils ,
FormatEnumWidth  )

◆ TEST() [17/41]

TEST ( TestStringUtils ,
IsInteger  )

◆ TEST() [18/41]

TEST ( TestStringUtils ,
IsNaturalNumber  )

◆ TEST() [19/41]

TEST ( TestStringUtils ,
Join  )

◆ TEST() [20/41]

TEST ( TestStringUtils ,
Left  )

◆ TEST() [21/41]

TEST ( TestStringUtils ,
Mid  )

◆ TEST() [22/41]

TEST ( TestStringUtils ,
Paramify  )

◆ TEST() [23/41]

TEST ( TestStringUtils ,
RemoveCRLF  )

◆ TEST() [24/41]

TEST ( TestStringUtils ,
Replace  )

◆ TEST() [25/41]

TEST ( TestStringUtils ,
Right  )

◆ TEST() [26/41]

TEST ( TestStringUtils ,
SecondsToTimeString  )

◆ TEST() [27/41]

TEST ( TestStringUtils ,
SizeToString  )

◆ TEST() [28/41]

TEST ( TestStringUtils ,
sortstringbyname  )

◆ TEST() [29/41]

TEST ( TestStringUtils ,
Split  )

◆ TEST() [30/41]

TEST ( TestStringUtils ,
StartsWith  )

◆ TEST() [31/41]

TEST ( TestStringUtils ,
TimeStringToSeconds  )

◆ TEST() [32/41]

TEST ( TestStringUtils ,
ToCapitalize  )

◆ TEST() [33/41]

TEST ( TestStringUtils ,
ToHexadecimal  )

◆ TEST() [34/41]

TEST ( TestStringUtils ,
ToLower  )

◆ TEST() [35/41]

TEST ( TestStringUtils ,
ToUpper  )

◆ TEST() [36/41]

TEST ( TestStringUtils ,
Trim  )

◆ TEST() [37/41]

TEST ( TestStringUtils ,
TrimLeft  )

◆ TEST() [38/41]

TEST ( TestStringUtils ,
TrimRight  )

◆ TEST() [39/41]

TEST ( TestStringUtils ,
utf8_strlen  )

◆ TEST() [40/41]

TEST ( TestStringUtils ,
ValidateUUID  )

◆ TEST() [41/41]

TEST ( TestStringUtils ,
WordToDigits  )