KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_string_utils.cpp File Reference
#include <boost/test/unit_test.hpp>
#include <string_utils.h>

Go to the source code of this file.

Macros

#define BOOST_TEST_NO_MAIN
 

Functions

 BOOST_AUTO_TEST_CASE (ReplaceIllegalFileNameChars_StdString_NoChange)
 
 BOOST_AUTO_TEST_CASE (ReplaceIllegalFileNameChars_StdString_PercentEncoding)
 
 BOOST_AUTO_TEST_CASE (ReplaceIllegalFileNameChars_WxString_ReplacementChar)
 
 BOOST_AUTO_TEST_CASE (ConvertPathToFileUri_UnixAbsolutePath)
 
 BOOST_AUTO_TEST_CASE (ConvertPathToFileUri_AlreadyHasScheme)
 
 BOOST_AUTO_TEST_CASE (ConvertPathToFileUri_Empty)
 
 BOOST_AUTO_TEST_CASE (ConvertPathToFileUri_Tilde)
 
 BOOST_AUTO_TEST_CASE (ConvertPathToFileUri_NonexistentPath)
 
 BOOST_AUTO_TEST_CASE (ConvertPathToFileUri_PlainText)
 

Macro Definition Documentation

◆ BOOST_TEST_NO_MAIN

#define BOOST_TEST_NO_MAIN

Definition at line 21 of file test_string_utils.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/9]

BOOST_AUTO_TEST_CASE ( ConvertPathToFileUri_AlreadyHasScheme )

Definition at line 124 of file test_string_utils.cpp.

References BOOST_TEST(), and ConvertPathToFileUri().

◆ BOOST_AUTO_TEST_CASE() [2/9]

BOOST_AUTO_TEST_CASE ( ConvertPathToFileUri_Empty )

Definition at line 130 of file test_string_utils.cpp.

References BOOST_TEST(), and ConvertPathToFileUri().

◆ BOOST_AUTO_TEST_CASE() [3/9]

BOOST_AUTO_TEST_CASE ( ConvertPathToFileUri_NonexistentPath )

Definition at line 140 of file test_string_utils.cpp.

References BOOST_TEST(), and ConvertPathToFileUri().

◆ BOOST_AUTO_TEST_CASE() [4/9]

BOOST_AUTO_TEST_CASE ( ConvertPathToFileUri_PlainText )

Definition at line 146 of file test_string_utils.cpp.

References BOOST_TEST(), and ConvertPathToFileUri().

◆ BOOST_AUTO_TEST_CASE() [5/9]

BOOST_AUTO_TEST_CASE ( ConvertPathToFileUri_Tilde )

Definition at line 135 of file test_string_utils.cpp.

References BOOST_TEST(), and ConvertPathToFileUri().

◆ BOOST_AUTO_TEST_CASE() [6/9]

BOOST_AUTO_TEST_CASE ( ConvertPathToFileUri_UnixAbsolutePath )

Definition at line 118 of file test_string_utils.cpp.

References BOOST_TEST(), and ConvertPathToFileUri().

◆ BOOST_AUTO_TEST_CASE() [7/9]

BOOST_AUTO_TEST_CASE ( ReplaceIllegalFileNameChars_StdString_NoChange )

◆ BOOST_AUTO_TEST_CASE() [8/9]

BOOST_AUTO_TEST_CASE ( ReplaceIllegalFileNameChars_StdString_PercentEncoding )

Definition at line 40 of file test_string_utils.cpp.

References BOOST_TEST(), name, and ReplaceIllegalFileNameChars().

◆ BOOST_AUTO_TEST_CASE() [9/9]

BOOST_AUTO_TEST_CASE ( ReplaceIllegalFileNameChars_WxString_ReplacementChar )

Definition at line 109 of file test_string_utils.cpp.

References BOOST_TEST(), name, and ReplaceIllegalFileNameChars().