Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "testing/fx_string_testhelpers.h"
#include <iomanip>
#include <ios>
#include <ostream>
#include "core/fxcrt/cfx_datetime.h"
#include "core/fxcrt/fx_string.h"
#include "fpdfsdk/cpdfsdk_helpers.h"
#include "third_party/base/check_op.h"
#include "third_party/base/containers/span.h"
Go to the source code of this file.
Functions | |
std::ostream & | operator<< (std::ostream &os, const CFX_DateTime &dt) |
std::vector< std::string > | StringSplit (const std::string &str, char delimiter) |
std::string | GetPlatformString (FPDF_WIDESTRING wstr) |
std::wstring | GetPlatformWString (FPDF_WIDESTRING wstr) |
ScopedFPDFWideString | GetFPDFWideString (const std::wstring &wstr) |
std::vector< FPDF_WCHAR > | GetFPDFWideStringBuffer (size_t length_bytes) |
ScopedFPDFWideString GetFPDFWideString | ( | const std::wstring & | wstr | ) |
Definition at line 63 of file fx_string_testhelpers.cpp.
std::vector< FPDF_WCHAR > GetFPDFWideStringBuffer | ( | size_t | length_bytes | ) |
Definition at line 78 of file fx_string_testhelpers.cpp.
std::string GetPlatformString | ( | FPDF_WIDESTRING | wstr | ) |
Definition at line 41 of file fx_string_testhelpers.cpp.
References fxcrt::ByteString::c_str(), fxcrt::WideString::ToUTF8(), and WideStringFromFPDFWideString().
Referenced by TEST_F(), TEST_F(), and TEST_F().
std::wstring GetPlatformWString | ( | FPDF_WIDESTRING | wstr | ) |
std::ostream & operator<< | ( | std::ostream & | os, |
const CFX_DateTime & | dt ) |
Definition at line 17 of file fx_string_testhelpers.cpp.
References CFX_DateTime::GetDay(), CFX_DateTime::GetHour(), CFX_DateTime::GetMillisecond(), CFX_DateTime::GetMinute(), CFX_DateTime::GetMonth(), CFX_DateTime::GetSecond(), and CFX_DateTime::GetYear().
std::vector< std::string > StringSplit | ( | const std::string & | str, |
char | delimiter ) |
Definition at line 26 of file fx_string_testhelpers.cpp.