RetroArch
Macros | Functions
regextest.cpp File Reference
#include "unittest.h"
#include "rapidjson/internal/regex.h"
Include dependency graph for regextest.cpp:

Macros

#define EURO   "\xE2\x82\xAC"
 
#define TEST_INVALID(s)
 

Functions

 TEST (Regex, Single)
 
 TEST (Regex, Concatenation)
 
 TEST (Regex, Alternation1)
 
 TEST (Regex, Alternation2)
 
 TEST (Regex, Parenthesis1)
 
 TEST (Regex, Parenthesis2)
 
 TEST (Regex, Parenthesis3)
 
 TEST (Regex, ZeroOrOne1)
 
 TEST (Regex, ZeroOrOne2)
 
 TEST (Regex, ZeroOrOne3)
 
 TEST (Regex, ZeroOrOne4)
 
 TEST (Regex, ZeroOrOne5)
 
 TEST (Regex, ZeroOrMore1)
 
 TEST (Regex, ZeroOrMore2)
 
 TEST (Regex, ZeroOrMore3)
 
 TEST (Regex, ZeroOrMore4)
 
 TEST (Regex, OneOrMore1)
 
 TEST (Regex, OneOrMore2)
 
 TEST (Regex, OneOrMore3)
 
 TEST (Regex, OneOrMore4)
 
 TEST (Regex, QuantifierExact1)
 
 TEST (Regex, QuantifierExact2)
 
 TEST (Regex, QuantifierExact3)
 
 TEST (Regex, QuantifierMin1)
 
 TEST (Regex, QuantifierMin2)
 
 TEST (Regex, QuantifierMin3)
 
 TEST (Regex, QuantifierMinMax1)
 
 TEST (Regex, QuantifierMinMax2)
 
 TEST (Regex, QuantifierMinMax3)
 
 TEST (Regex, QuantifierMinMax4)
 
 TEST (Regex, QuantifierMinMax5)
 
 TEST (Regex, Unicode)
 
 TEST (Regex, AnyCharacter)
 
 TEST (Regex, CharacterRange1)
 
 TEST (Regex, CharacterRange2)
 
 TEST (Regex, CharacterRange3)
 
 TEST (Regex, CharacterRange4)
 
 TEST (Regex, CharacterRange5)
 
 TEST (Regex, CharacterRange6)
 
 TEST (Regex, CharacterRange7)
 
 TEST (Regex, CharacterRange8)
 
 TEST (Regex, Search)
 
 TEST (Regex, Search_BeginAnchor)
 
 TEST (Regex, Search_EndAnchor)
 
 TEST (Regex, Search_BothAnchor)
 
 TEST (Regex, Escape)
 
 TEST (Regex, Invalid)
 
 TEST (Regex, Issue538)
 
 TEST (Regex, Issue583)
 

Macro Definition Documentation

◆ EURO

#define EURO   "\xE2\x82\xAC"

◆ TEST_INVALID

#define TEST_INVALID (   s)
Value:
{\
Regex re(s);\
EXPECT_FALSE(re.IsValid());\
}
GLdouble s
Definition: glext.h:6390

Function Documentation

◆ TEST() [1/49]

TEST ( Regex  ,
Single   
)

◆ TEST() [2/49]

TEST ( Regex  ,
Concatenation   
)

◆ TEST() [3/49]

TEST ( Regex  ,
Alternation1   
)

◆ TEST() [4/49]

TEST ( Regex  ,
Alternation2   
)

◆ TEST() [5/49]

TEST ( Regex  ,
Parenthesis1   
)

◆ TEST() [6/49]

TEST ( Regex  ,
Parenthesis2   
)

◆ TEST() [7/49]

TEST ( Regex  ,
Parenthesis3   
)

◆ TEST() [8/49]

TEST ( Regex  ,
ZeroOrOne1   
)

◆ TEST() [9/49]

TEST ( Regex  ,
ZeroOrOne2   
)

◆ TEST() [10/49]

TEST ( Regex  ,
ZeroOrOne3   
)

◆ TEST() [11/49]

TEST ( Regex  ,
ZeroOrOne4   
)

◆ TEST() [12/49]

TEST ( Regex  ,
ZeroOrOne5   
)

◆ TEST() [13/49]

TEST ( Regex  ,
ZeroOrMore1   
)

◆ TEST() [14/49]

TEST ( Regex  ,
ZeroOrMore2   
)

◆ TEST() [15/49]

TEST ( Regex  ,
ZeroOrMore3   
)

◆ TEST() [16/49]

TEST ( Regex  ,
ZeroOrMore4   
)

◆ TEST() [17/49]

TEST ( Regex  ,
OneOrMore1   
)

◆ TEST() [18/49]

TEST ( Regex  ,
OneOrMore2   
)

◆ TEST() [19/49]

TEST ( Regex  ,
OneOrMore3   
)

◆ TEST() [20/49]

TEST ( Regex  ,
OneOrMore4   
)

◆ TEST() [21/49]

TEST ( Regex  ,
QuantifierExact1   
)

◆ TEST() [22/49]

TEST ( Regex  ,
QuantifierExact2   
)

◆ TEST() [23/49]

TEST ( Regex  ,
QuantifierExact3   
)

◆ TEST() [24/49]

TEST ( Regex  ,
QuantifierMin1   
)

◆ TEST() [25/49]

TEST ( Regex  ,
QuantifierMin2   
)

◆ TEST() [26/49]

TEST ( Regex  ,
QuantifierMin3   
)

◆ TEST() [27/49]

TEST ( Regex  ,
QuantifierMinMax1   
)

◆ TEST() [28/49]

TEST ( Regex  ,
QuantifierMinMax2   
)

◆ TEST() [29/49]

TEST ( Regex  ,
QuantifierMinMax3   
)

◆ TEST() [30/49]

TEST ( Regex  ,
QuantifierMinMax4   
)

◆ TEST() [31/49]

TEST ( Regex  ,
QuantifierMinMax5   
)

◆ TEST() [32/49]

TEST ( Regex  ,
Unicode   
)

◆ TEST() [33/49]

TEST ( Regex  ,
AnyCharacter   
)

◆ TEST() [34/49]

TEST ( Regex  ,
CharacterRange1   
)

◆ TEST() [35/49]

TEST ( Regex  ,
CharacterRange2   
)

◆ TEST() [36/49]

TEST ( Regex  ,
CharacterRange3   
)

◆ TEST() [37/49]

TEST ( Regex  ,
CharacterRange4   
)

◆ TEST() [38/49]

TEST ( Regex  ,
CharacterRange5   
)

◆ TEST() [39/49]

TEST ( Regex  ,
CharacterRange6   
)

◆ TEST() [40/49]

TEST ( Regex  ,
CharacterRange7   
)

◆ TEST() [41/49]

TEST ( Regex  ,
CharacterRange8   
)

◆ TEST() [42/49]

TEST ( Regex  ,
Search   
)

◆ TEST() [43/49]

TEST ( Regex  ,
Search_BeginAnchor   
)

◆ TEST() [44/49]

TEST ( Regex  ,
Search_EndAnchor   
)

◆ TEST() [45/49]

TEST ( Regex  ,
Search_BothAnchor   
)

◆ TEST() [46/49]

TEST ( Regex  ,
Escape   
)

◆ TEST() [47/49]

TEST ( Regex  ,
Invalid   
)

◆ TEST() [48/49]

TEST ( Regex  ,
Issue538   
)

◆ TEST() [49/49]

TEST ( Regex  ,
Issue583   
)