KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_kicad_string.cpp File Reference

Test suite for general string functions. More...

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (TrailingInt)
 Declare the test suite.
 
 BOOST_AUTO_TEST_CASE (NaturalNumberCompare)
 Test the StrNumCmp method.
 
 BOOST_AUTO_TEST_CASE (Double2Str)
 Test the GetTrailingInt method.
 
 BOOST_AUTO_TEST_CASE (HTMLEscape)
 Test EscapeHTML and UnescapeHTML methods.
 

Detailed Description

Test suite for general string functions.

Definition in file test_kicad_string.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/4]

BOOST_AUTO_TEST_CASE ( Double2Str  )

Test the GetTrailingInt method.

Definition at line 122 of file test_kicad_string.cpp.

References FormatDouble2Str(), and UIDouble2Str().

◆ BOOST_AUTO_TEST_CASE() [2/4]

BOOST_AUTO_TEST_CASE ( HTMLEscape  )

Test EscapeHTML and UnescapeHTML methods.

Definition at line 148 of file test_kicad_string.cpp.

References EscapeHTML(), and UnescapeHTML().

◆ BOOST_AUTO_TEST_CASE() [3/4]

BOOST_AUTO_TEST_CASE ( NaturalNumberCompare  )

Test the StrNumCmp method.

Definition at line 66 of file test_kicad_string.cpp.

References StrNumCmp().

◆ BOOST_AUTO_TEST_CASE() [4/4]

BOOST_AUTO_TEST_CASE ( TrailingInt  )

Declare the test suite.

Test the GetTrailingInt method.

Definition at line 43 of file test_kicad_string.cpp.

References GetTrailingInt().