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
cxfa_timezoneprovider_unittest.cpp
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#include "xfa/fxfa/parser/cxfa_timezoneprovider.h"
6
7#include "testing/gtest/include/gtest/gtest.h"
8#include "testing/scoped_set_tz.h"
9
11 {
12 ScopedSetTZ scoped_set_tz("UTC");
14 }
15 {
16 ScopedSetTZ scoped_set_tz("UTC+1");
18 }
19 {
20 ScopedSetTZ scoped_set_tz("UTC-1");
22 }
23 {
24 ScopedSetTZ scoped_set_tz("UTC+14");
26 }
27 {
28 ScopedSetTZ scoped_set_tz("UTC-14");
30 }
31}
32
34 {
35 ScopedSetTZ scoped_set_tz("UTC+0:30");
37 }
38 {
39 ScopedSetTZ scoped_set_tz("UTC-0:30");
41 }
42 {
43 ScopedSetTZ scoped_set_tz("UTC+1:30");
45 }
46 {
47 ScopedSetTZ scoped_set_tz("UTC-1:30");
49 }
50 {
51 ScopedSetTZ scoped_set_tz("UTC+9:30");
53 }
54 {
55 ScopedSetTZ scoped_set_tz("UTC-9:30");
57 }
58}
TEST(FXCRYPT, MD5GenerateEmtpyData)