5#ifndef TESTING_SCOPED_SET_TZ_H_
6#define TESTING_SCOPED_SET_TZ_H_
10#include "core/fxcrt/fx_memory.h"
11#include "third_party/abseil-cpp/absl/types/optional.h"
23 absl::optional<std::string> old_tz_;
TEST_F(CFXJSE_FormCalcContextEmbedderTest, TranslateEmpty)
EventParamScope(CFXJSE_Engine *pEngine, CXFA_Node *pTarget, CXFA_EventParam *pEventParam)
friend class EventParamScope
void ExecuteExpectBool(ByteStringView input, bool expected)
~CFXJSE_FormCalcContextEmbedderTest() override=default
CFXJSE_FormCalcContextEmbedderTest()=default
void ExecuteExpectNaN(ByteStringView input)
void ExecuteExpectFloat(ByteStringView input, float expected)
void ExecuteExpectError(ByteStringView input)
void ExecuteExpectInt32(ByteStringView input, int32_t expected)
void ExecuteExpectString(ByteStringView input, const char *expected)
void ExecuteExpectNull(ByteStringView input)
CFXJSE_Context * GetJseContext()
void ExecuteExpectFloatNear(ByteStringView input, float expected)
CFXJSE_ScopeUtil_IsolateHandleContext(CFXJSE_Context *pContext)
WideString GetNewText() const
CXFA_EventParam(XFA_EVENTTYPE type)
ScopedSetTZ(const std::string &tz)
ScopedSetTZ & operator=(const ScopedSetTZ &)=delete
ScopedSetTZ(const ScopedSetTZ &)=delete
bool Execute(ByteStringView input)
CFXJSE_Engine * GetScriptContext() const