OLD | NEW |
1 // Copyright 2015 PDFium Authors. All rights reserved. | 1 // Copyright 2015 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include <limits> | 5 #include <limits> |
6 #include <string> | 6 #include <string> |
7 | 7 |
8 #include "core/fxcrt/include/fx_system.h" | 8 #include "core/fxcrt/fx_system.h" |
9 #include "testing/fx_string_testhelpers.h" | 9 #include "testing/fx_string_testhelpers.h" |
10 #include "testing/gtest/include/gtest/gtest.h" | 10 #include "testing/gtest/include/gtest/gtest.h" |
11 | 11 |
12 // Unit test covering cases where PDFium replaces well-known library | 12 // Unit test covering cases where PDFium replaces well-known library |
13 // functionality on any given platformn. | 13 // functionality on any given platformn. |
14 | 14 |
15 #if _FXM_PLATFORM_ != _FXM_PLATFORM_WINDOWS_ | 15 #if _FXM_PLATFORM_ != _FXM_PLATFORM_WINDOWS_ |
16 | 16 |
17 namespace { | 17 namespace { |
18 | 18 |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 | 153 |
154 Check64BitBase16Itoa(std::numeric_limits<int64_t>::max(), "7fffffffffffffff"); | 154 Check64BitBase16Itoa(std::numeric_limits<int64_t>::max(), "7fffffffffffffff"); |
155 Check64BitBase10Itoa(std::numeric_limits<int64_t>::max(), | 155 Check64BitBase10Itoa(std::numeric_limits<int64_t>::max(), |
156 "9223372036854775807"); | 156 "9223372036854775807"); |
157 Check64BitBase2Itoa( | 157 Check64BitBase2Itoa( |
158 std::numeric_limits<int64_t>::max(), | 158 std::numeric_limits<int64_t>::max(), |
159 "111111111111111111111111111111111111111111111111111111111111111"); | 159 "111111111111111111111111111111111111111111111111111111111111111"); |
160 } | 160 } |
161 | 161 |
162 #endif // _FXM_PLATFORM_ != _FXM_PLATFORM_WINDOWS_ | 162 #endif // _FXM_PLATFORM_ != _FXM_PLATFORM_WINDOWS_ |
OLD | NEW |