Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
fx_string_unittest.cpp File Reference

(0ccf980226462398d5097987466bcffd8236e1e9)

#include <limits>
#include "build/build_config.h"
#include "core/fxcrt/fx_string.h"
#include "core/fxcrt/span.h"
#include "core/fxcrt/utf16.h"
#include "testing/gtest/include/gtest/gtest.h"
Include dependency graph for fx_string_unittest.cpp:

Go to the source code of this file.

Functions

 TEST (fxstring, FXUTF8Encode)
 TEST (fxstring, FXUTF8EncodeSupplementary)
 TEST (fxstring, ByteStringToFloat)
 TEST (fxstring, WideStringToFloat)
 TEST (fxstring, ByteStringToDouble)
 TEST (fxstring, WideStringToDouble)
 TEST (fxstring, SplitByteString)
 TEST (fxstring, SplitByteStringView)
 TEST (fxstring, SplitWideString)
 TEST (fxstring, SplitWideStringView)
 TEST (fxstring, ByteStringSplitEfficiency)
 TEST (fxstring, ByteStringViewSplitEfficiency)
 TEST (fxstring, WideStringSplitEfficiency)
 TEST (fxstring, WideStringViewSplitEfficiency)

Function Documentation

◆ TEST() [1/14]

TEST ( fxstring ,
ByteStringSplitEfficiency  )

Definition at line 343 of file fx_string_unittest.cpp.

◆ TEST() [2/14]

TEST ( fxstring ,
ByteStringToDouble  )

Definition at line 101 of file fx_string_unittest.cpp.

◆ TEST() [3/14]

TEST ( fxstring ,
ByteStringToFloat  )

Definition at line 55 of file fx_string_unittest.cpp.

◆ TEST() [4/14]

TEST ( fxstring ,
ByteStringViewSplitEfficiency  )

Definition at line 353 of file fx_string_unittest.cpp.

◆ TEST() [5/14]

TEST ( fxstring ,
FXUTF8Encode  )

Definition at line 13 of file fx_string_unittest.cpp.

◆ TEST() [6/14]

TEST ( fxstring ,
FXUTF8EncodeSupplementary  )

Definition at line 34 of file fx_string_unittest.cpp.

◆ TEST() [7/14]

TEST ( fxstring ,
SplitByteString  )

Definition at line 147 of file fx_string_unittest.cpp.

References fxcrt::ByteString::ByteString().

Here is the call graph for this function:

◆ TEST() [8/14]

TEST ( fxstring ,
SplitByteStringView  )

Definition at line 196 of file fx_string_unittest.cpp.

◆ TEST() [9/14]

TEST ( fxstring ,
SplitWideString  )

Definition at line 245 of file fx_string_unittest.cpp.

References fxcrt::WideString::WideString().

Here is the call graph for this function:

◆ TEST() [10/14]

TEST ( fxstring ,
SplitWideStringView  )

Definition at line 294 of file fx_string_unittest.cpp.

◆ TEST() [11/14]

TEST ( fxstring ,
WideStringSplitEfficiency  )

Definition at line 363 of file fx_string_unittest.cpp.

◆ TEST() [12/14]

TEST ( fxstring ,
WideStringToDouble  )

Definition at line 124 of file fx_string_unittest.cpp.

◆ TEST() [13/14]

TEST ( fxstring ,
WideStringToFloat  )

Definition at line 78 of file fx_string_unittest.cpp.

◆ TEST() [14/14]

TEST ( fxstring ,
WideStringViewSplitEfficiency  )

Definition at line 373 of file fx_string_unittest.cpp.