Fission FSN
Loading...
Searching...
No Matches
fsStrTests.cpp File Reference
#include <doctest.h>
#include <fsCore/fsStr.h>
Include dependency graph for fsStrTests.cpp:

Functions

 TEST_CASE ("construction and equality")
 TEST_CASE ("concatenation")
 TEST_CASE ("unicode append encodes UTF-8")
 TEST_CASE ("find, rfind and erase")
 TEST_CASE ("eraseToLast and eraseFromLast")
 TEST_CASE ("chomp consumes up to terminator")
 TEST_CASE ("chunk tokenises with quotes and comments")
 TEST_CASE ("whitespace trimming")
 TEST_CASE ("replaceFirst and replaceAll")
 TEST_CASE ("hTMLCodesReplace decodes entities")
 TEST_CASE ("removeXmlTags strips non-rich-text tags")
 TEST_CASE ("removeXmlTags preserves supported rich-text tags")
 TEST_CASE ("counting and classification")
 TEST_CASE ("numeric conversion")
 TEST_CASE ("case mapping")
 TEST_CASE ("lengthGet on ASCII matches byte size")
 TEST_CASE ("lengthGet counts characters not bytes for UTF-8")
 TEST_CASE ("trimToLength keeps multi-byte characters intact")
 TEST_CASE ("removeXmlTags copes with '>' before the first tag")

Function Documentation

◆ TEST_CASE() [1/19]

TEST_CASE ( "case mapping" )

◆ TEST_CASE() [2/19]

TEST_CASE ( "chomp consumes up to terminator" )

◆ TEST_CASE() [3/19]

TEST_CASE ( "chunk tokenises with quotes and comments" )

◆ TEST_CASE() [4/19]

TEST_CASE ( "concatenation" )

◆ TEST_CASE() [5/19]

TEST_CASE ( "construction and equality" )

◆ TEST_CASE() [6/19]

TEST_CASE ( "counting and classification" )

◆ TEST_CASE() [7/19]

TEST_CASE ( "eraseToLast and eraseFromLast" )

◆ TEST_CASE() [8/19]

TEST_CASE ( " find,
rfind and erase"  )

◆ TEST_CASE() [9/19]

TEST_CASE ( "hTMLCodesReplace decodes entities" )

◆ TEST_CASE() [10/19]

TEST_CASE ( "lengthGet counts characters not bytes for UTF-8" )

◆ TEST_CASE() [11/19]

TEST_CASE ( "lengthGet on ASCII matches byte size" )

◆ TEST_CASE() [12/19]

TEST_CASE ( "numeric conversion" )

◆ TEST_CASE() [13/19]

TEST_CASE ( "removeXmlTags copes with ' ,
' before the first tag"  )

◆ TEST_CASE() [14/19]

TEST_CASE ( "removeXmlTags preserves supported rich-text tags" )

◆ TEST_CASE() [15/19]

TEST_CASE ( "removeXmlTags strips non-rich-text tags" )

◆ TEST_CASE() [16/19]

TEST_CASE ( "replaceFirst and replaceAll" )

◆ TEST_CASE() [17/19]

TEST_CASE ( "trimToLength keeps multi-byte characters intact" )

◆ TEST_CASE() [18/19]

TEST_CASE ( "unicode append encodes UTF-8" )

◆ TEST_CASE() [19/19]

TEST_CASE ( "whitespace trimming" )