|
KiCad PCB EDA Suite
|
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 (ValueCompare) | |
| BOOST_AUTO_TEST_CASE (ValueCompareAlphanumericIdentifiers) | |
| BOOST_AUTO_TEST_CASE (Double2Str) | |
| Test the GetTrailingInt method. | |
| BOOST_AUTO_TEST_CASE (HTMLEscape) | |
| Test EscapeHTML and UnescapeHTML methods. | |
| BOOST_AUTO_TEST_CASE (VariantNameSort) | |
| Test SortVariantNames(). | |
| BOOST_AUTO_TEST_CASE (FormatTrimmedDecimalKeepsIntegerDigits) | |
| Test FormatTrimmedDecimal(). | |
| static wxString | oldTrimLoop (double aVal, int aPrecision) |
| BOOST_AUTO_TEST_CASE (FormatTrimmedDecimalMatchesOldTrimLoop) | |
Test suite for general string functions.
Definition in file test_kicad_string.cpp.
| BOOST_AUTO_TEST_CASE | ( | Double2Str | ) |
Test the GetTrailingInt method.
Definition at line 160 of file test_kicad_string.cpp.
References BOOST_CHECK_EQUAL(), FormatDouble2Str(), and UIDouble2Str().
| BOOST_AUTO_TEST_CASE | ( | FormatTrimmedDecimalKeepsIntegerDigits | ) |
Test FormatTrimmedDecimal().
Definition at line 230 of file test_kicad_string.cpp.
References BOOST_CHECK_EQUAL(), and FormatTrimmedDecimal().
| BOOST_AUTO_TEST_CASE | ( | FormatTrimmedDecimalMatchesOldTrimLoop | ) |
Definition at line 258 of file test_kicad_string.cpp.
References BOOST_CHECK_EQUAL(), FormatTrimmedDecimal(), and oldTrimLoop().
| BOOST_AUTO_TEST_CASE | ( | HTMLEscape | ) |
Test EscapeHTML and UnescapeHTML methods.
Definition at line 186 of file test_kicad_string.cpp.
References BOOST_CHECK_EQUAL(), EscapeHTML(), and UnescapeHTML().
| BOOST_AUTO_TEST_CASE | ( | NaturalNumberCompare | ) |
Test the StrNumCmp method.
Definition at line 62 of file test_kicad_string.cpp.
References StrNumCmp().
| BOOST_AUTO_TEST_CASE | ( | TrailingInt | ) |
Declare the test suite.
Test the GetTrailingInt method.
Definition at line 39 of file test_kicad_string.cpp.
References BOOST_AUTO_TEST_CASE(), BOOST_CHECK_EQUAL(), and GetTrailingInt().
| BOOST_AUTO_TEST_CASE | ( | ValueCompare | ) |
Definition at line 115 of file test_kicad_string.cpp.
References ValueStringCompare().
| BOOST_AUTO_TEST_CASE | ( | ValueCompareAlphanumericIdentifiers | ) |
Definition at line 147 of file test_kicad_string.cpp.
References ValueStringCompare().
| BOOST_AUTO_TEST_CASE | ( | VariantNameSort | ) |
Test SortVariantNames().
Definition at line 213 of file test_kicad_string.cpp.
References BOOST_CHECK_EQUAL(), GetDefaultVariantName(), and SortVariantNames().
|
static |
Definition at line 247 of file test_kicad_string.cpp.
Referenced by BOOST_AUTO_TEST_CASE().