Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "xfa/fgas/crt/cfgas_stringformatter.h"
#include <iterator>
#include "build/build_config.h"
#include "core/fpdfapi/page/cpdf_pagemodule.h"
#include "core/fxcrt/cfx_datetime.h"
#include "testing/fx_string_testhelpers.h"
#include "testing/fxgc_unittest.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/scoped_set_tz.h"
#include "v8/include/cppgc/persistent.h"
#include "xfa/fxfa/parser/cxfa_localemgr.h"
Go to the source code of this file.
Classes | |
class | CFGAS_StringFormatterTest |
Functions | |
TEST_F (CFGAS_StringFormatterTest, DateFormat) | |
TEST_F (CFGAS_StringFormatterTest, TimeFormat) | |
TEST_F (CFGAS_StringFormatterTest, DateTimeFormat) | |
TEST_F (CFGAS_StringFormatterTest, TimeDateFormat) | |
TEST_F (CFGAS_StringFormatterTest, DateParse) | |
TEST_F (CFGAS_StringFormatterTest, SplitFormatString) | |
TEST_F (CFGAS_StringFormatterTest, NumParse) | |
TEST_F (CFGAS_StringFormatterTest, NumFormat) | |
TEST_F (CFGAS_StringFormatterTest, TextParse) | |
TEST_F (CFGAS_StringFormatterTest, InvalidTextParse) | |
TEST_F (CFGAS_StringFormatterTest, TextFormat) | |
TEST_F (CFGAS_StringFormatterTest, NullParse) | |
TEST_F (CFGAS_StringFormatterTest, NullFormat) | |
TEST_F (CFGAS_StringFormatterTest, ZeroParse) | |
TEST_F (CFGAS_StringFormatterTest, ZeroFormat) | |
TEST_F (CFGAS_StringFormatterTest, GetCategory) | |
TEST_F | ( | CFGAS_StringFormatterTest | , |
DateFormat | ) |
Definition at line 38 of file cfgas_stringformatter_unittest.cpp.
References fxcrt::WideString::c_str(), CFGAS_StringFormatter::FormatDateTime(), and CFGAS_StringFormatter::kDate.
TEST_F | ( | CFGAS_StringFormatterTest | , |
DateParse | ) |
Definition at line 215 of file cfgas_stringformatter_unittest.cpp.
References CFX_DateTime::CFX_DateTime(), CFGAS_StringFormatter::kDate, and CFGAS_StringFormatter::ParseDateTime().
TEST_F | ( | CFGAS_StringFormatterTest | , |
DateTimeFormat | ) |
Definition at line 155 of file cfgas_stringformatter_unittest.cpp.
References fxcrt::WideString::c_str(), CFGAS_StringFormatter::FormatDateTime(), and CFGAS_StringFormatter::kDateTime.
TEST_F | ( | CFGAS_StringFormatterTest | , |
GetCategory | ) |
Definition at line 721 of file cfgas_stringformatter_unittest.cpp.
References CFGAS_StringFormatter::CFGAS_StringFormatter(), CFGAS_StringFormatter::GetCategory(), CFGAS_StringFormatter::kDate, CFGAS_StringFormatter::kDateTime, CFGAS_StringFormatter::kNull, CFGAS_StringFormatter::kNum, CFGAS_StringFormatter::kText, CFGAS_StringFormatter::kTime, CFGAS_StringFormatter::kUnknown, and CFGAS_StringFormatter::kZero.
TEST_F | ( | CFGAS_StringFormatterTest | , |
InvalidTextParse | ) |
Definition at line 629 of file cfgas_stringformatter_unittest.cpp.
References CFGAS_StringFormatter::CFGAS_StringFormatter(), and CFGAS_StringFormatter::ParseText().
TEST_F | ( | CFGAS_StringFormatterTest | , |
NullFormat | ) |
Definition at line 675 of file cfgas_stringformatter_unittest.cpp.
References fxcrt::WideString::c_str(), and CFGAS_StringFormatter::FormatNull().
TEST_F | ( | CFGAS_StringFormatterTest | , |
NullParse | ) |
Definition at line 660 of file cfgas_stringformatter_unittest.cpp.
References CFGAS_StringFormatter::ParseNull().
TEST_F | ( | CFGAS_StringFormatterTest | , |
NumFormat | ) |
Definition at line 474 of file cfgas_stringformatter_unittest.cpp.
References CFGAS_StringFormatter::CFGAS_StringFormatter(), fxcrt::WideString::c_str(), and CFGAS_StringFormatter::FormatNum().
TEST_F | ( | CFGAS_StringFormatterTest | , |
NumParse | ) |
Definition at line 326 of file cfgas_stringformatter_unittest.cpp.
References CFGAS_StringFormatter::CFGAS_StringFormatter(), fxcrt::WideString::c_str(), and CFGAS_StringFormatter::ParseNum().
TEST_F | ( | CFGAS_StringFormatterTest | , |
SplitFormatString | ) |
Definition at line 305 of file cfgas_stringformatter_unittest.cpp.
TEST_F | ( | CFGAS_StringFormatterTest | , |
TextFormat | ) |
Definition at line 636 of file cfgas_stringformatter_unittest.cpp.
References fxcrt::WideString::c_str(), and CFGAS_StringFormatter::FormatText().
TEST_F | ( | CFGAS_StringFormatterTest | , |
TextParse | ) |
Definition at line 605 of file cfgas_stringformatter_unittest.cpp.
References fxcrt::WideString::c_str(), and CFGAS_StringFormatter::ParseText().
TEST_F | ( | CFGAS_StringFormatterTest | , |
TimeDateFormat | ) |
Definition at line 186 of file cfgas_stringformatter_unittest.cpp.
References fxcrt::WideString::c_str(), CFGAS_StringFormatter::FormatDateTime(), and CFGAS_StringFormatter::kTimeDate.
TEST_F | ( | CFGAS_StringFormatterTest | , |
TimeFormat | ) |
Definition at line 103 of file cfgas_stringformatter_unittest.cpp.
References fxcrt::WideString::c_str(), CFGAS_StringFormatter::FormatDateTime(), and CFGAS_StringFormatter::kTime.
TEST_F | ( | CFGAS_StringFormatterTest | , |
ZeroFormat | ) |
Definition at line 701 of file cfgas_stringformatter_unittest.cpp.
References fxcrt::WideString::c_str(), and CFGAS_StringFormatter::FormatZero().
TEST_F | ( | CFGAS_StringFormatterTest | , |
ZeroParse | ) |
Definition at line 689 of file cfgas_stringformatter_unittest.cpp.
References CFGAS_StringFormatter::ParseZero().