Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
scoped_set_tz.h
Go to the documentation of this file.
1
// Copyright 2021 The PDFium Authors
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
#
ifndef
TESTING_SCOPED_SET_TZ_H_
6
#
define
TESTING_SCOPED_SET_TZ_H_
7
8
#
include
<
optional
>
9
#
include
<
string
>
10
11
#
include
"core/fxcrt/fx_memory.h"
12
13
class
ScopedSetTZ
{
14
public
:
15
FX_STACK_ALLOCATED();
16
17
explicit
ScopedSetTZ
(
const
std
::string& tz);
18
ScopedSetTZ
(
const
ScopedSetTZ
&) =
delete
;
19
ScopedSetTZ
&
operator
=(
const
ScopedSetTZ
&) =
delete
;
20
~
ScopedSetTZ
();
21
22
private
:
23
std
::optional<
std
::string> old_tz_;
24
};
25
26
#
endif
// TESTING_SCOPED_SET_TZ_H_
ByteString
fxcrt::ByteString ByteString
Definition
bytestring.h:180
TEST_F
TEST_F(CFXJSEFormCalcContextEmbedderTest, TranslateEmpty)
Definition
cfxjse_formcalc_context_embeddertest.cpp:109
CFXJSEFormCalcContextEmbedderTest
Definition
cfxjse_formcalc_context_embeddertest.cpp:20
CFXJSEFormCalcContextEmbedderTest::ExecuteExpectNaN
void ExecuteExpectNaN(ByteStringView input)
Definition
cfxjse_formcalc_context_embeddertest.cpp:87
CFXJSEFormCalcContextEmbedderTest::ExecuteExpectError
void ExecuteExpectError(ByteStringView input)
Definition
cfxjse_formcalc_context_embeddertest.cpp:30
CFXJSEFormCalcContextEmbedderTest::ExecuteExpectInt32
void ExecuteExpectInt32(ByteStringView input, int32_t expected)
Definition
cfxjse_formcalc_context_embeddertest.cpp:54
CFXJSEFormCalcContextEmbedderTest::ExecuteExpectFloat
void ExecuteExpectFloat(ByteStringView input, float expected)
Definition
cfxjse_formcalc_context_embeddertest.cpp:64
CFXJSEFormCalcContextEmbedderTest::GetJseContext
CFXJSE_Context * GetJseContext()
Definition
cfxjse_formcalc_context_embeddertest.cpp:26
CFXJSEFormCalcContextEmbedderTest::CFXJSEFormCalcContextEmbedderTest
CFXJSEFormCalcContextEmbedderTest()=default
CFXJSEFormCalcContextEmbedderTest::~CFXJSEFormCalcContextEmbedderTest
~CFXJSEFormCalcContextEmbedderTest() override=default
CFXJSEFormCalcContextEmbedderTest::ExecuteExpectBool
void ExecuteExpectBool(ByteStringView input, bool expected)
Definition
cfxjse_formcalc_context_embeddertest.cpp:41
CFXJSEFormCalcContextEmbedderTest::ExecuteExpectString
void ExecuteExpectString(ByteStringView input, const char *expected)
Definition
cfxjse_formcalc_context_embeddertest.cpp:96
CFXJSEFormCalcContextEmbedderTest::ExecuteExpectFloatNear
void ExecuteExpectFloatNear(ByteStringView input, float expected)
Definition
cfxjse_formcalc_context_embeddertest.cpp:74
CFXJSEFormCalcContextEmbedderTest::ExecuteExpectNull
void ExecuteExpectNull(ByteStringView input)
Definition
cfxjse_formcalc_context_embeddertest.cpp:34
CFXJSE_Context
Definition
cfxjse_context.h:25
CFXJSE_Engine::EventParamScope
Definition
cfxjse_engine.h:113
CFXJSE_Engine::EventParamScope::EventParamScope
EventParamScope(CFXJSE_Engine *pEngine, CXFA_Node *pTarget, CXFA_EventParam *pEventParam)
Definition
cfxjse_engine.cpp:151
CFXJSE_Engine::EventParamScope
friend class EventParamScope
Definition
cfxjse_engine.h:127
CFXJSE_ScopeUtil_IsolateHandleContext
Definition
cfxjse_isolatetracker.h:45
CFXJSE_ScopeUtil_IsolateHandleContext::CFXJSE_ScopeUtil_IsolateHandleContext
CFXJSE_ScopeUtil_IsolateHandleContext(CFXJSE_Context *pContext)
Definition
cfxjse_isolatetracker.cpp:23
CXFA_EventParam
Definition
cxfa_eventparam.h:49
CXFA_EventParam::GetNewText
WideString GetNewText() const
Definition
cxfa_eventparam.cpp:21
CXFA_EventParam::m_bCancelAction
bool m_bCancelAction
Definition
cxfa_eventparam.h:61
CXFA_EventParam::m_iSelEnd
int32_t m_iSelEnd
Definition
cxfa_eventparam.h:69
CXFA_EventParam::m_iSelStart
int32_t m_iSelStart
Definition
cxfa_eventparam.h:70
CXFA_EventParam::CXFA_EventParam
CXFA_EventParam(XFA_EVENTTYPE type)
Definition
cxfa_eventparam.cpp:9
JSEmbedderTest::isolate
v8::Isolate * isolate() const
Definition
js_embedder_test.cpp:13
ScopedSetTZ
Definition
scoped_set_tz.h:13
ScopedSetTZ::ScopedSetTZ
ScopedSetTZ(const std::string &tz)
Definition
scoped_set_tz.cpp:29
ScopedSetTZ::operator=
ScopedSetTZ & operator=(const ScopedSetTZ &)=delete
ScopedSetTZ::~ScopedSetTZ
~ScopedSetTZ()
Definition
scoped_set_tz.cpp:38
ScopedSetTZ::ScopedSetTZ
ScopedSetTZ(const ScopedSetTZ &)=delete
XFAJSEmbedderTest
Definition
xfa_js_embedder_test.h:19
XFAJSEmbedderTest::Execute
bool Execute(ByteStringView input)
Definition
xfa_js_embedder_test.cpp:76
XFAJSEmbedderTest::GetScriptContext
CFXJSE_Engine * GetScriptContext() const
Definition
xfa_js_embedder_test.h:33
pdfium::CFDETextOutLargeBitmapTest
Definition
cfde_textout_unittest.cpp:117
XFA_EVENT_Unknown
@ XFA_EVENT_Unknown
Definition
cxfa_eventparam.h:46
FXSYS_IsHexDigit
bool FXSYS_IsHexDigit(char c)
Definition
fx_extension.h:79
fxv8
Definition
fxv8.h:22
fxv8::IsBoolean
bool IsBoolean(v8::Local< v8::Value > value)
Definition
fxv8.cpp:28
fxv8::ReentrantToDoubleHelper
double ReentrantToDoubleHelper(v8::Isolate *pIsolate, v8::Local< v8::Value > pValue)
Definition
fxv8.cpp:154
fxv8::IsInteger
bool IsInteger(v8::Local< v8::Value > value)
Definition
fxv8.cpp:40
fxv8::IsNumber
bool IsNumber(v8::Local< v8::Value > value)
Definition
fxv8.cpp:36
fxv8::IsString
bool IsString(v8::Local< v8::Value > value)
Definition
fxv8.cpp:32
fxv8::ReentrantToByteStringHelper
ByteString ReentrantToByteStringHelper(v8::Isolate *pIsolate, v8::Local< v8::Value > pValue)
Definition
fxv8.cpp:176
fxv8::ToByteString
ByteString ToByteString(v8::Isolate *pIsolate, v8::Local< v8::String > pValue)
Definition
fxv8.cpp:128
fxv8::ReentrantToBooleanHelper
bool ReentrantToBooleanHelper(v8::Isolate *pIsolate, v8::Local< v8::Value > pValue)
Definition
fxv8.cpp:141
fxv8::IsNull
bool IsNull(v8::Local< v8::Value > value)
Definition
fxv8.cpp:24
fxv8::ReentrantToFloatHelper
float ReentrantToFloatHelper(v8::Isolate *pIsolate, v8::Local< v8::Value > pValue)
Definition
fxv8.cpp:149
fxv8::ReentrantToInt32Helper
int32_t ReentrantToInt32Helper(v8::Isolate *pIsolate, v8::Local< v8::Value > pValue)
Definition
fxv8.cpp:134
std
[33]
Definition
src_corelib_tools_qhash.cpp:421
ByteStringView
fxcrt::ByteStringView ByteStringView
Definition
string_view_template.h:325
qtwebengine
src
3rdparty
chromium
third_party
pdfium
testing
scoped_set_tz.h
Generated on
for Qt by
1.18.0