| 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 <string> | 5 #include <string> |
| 6 | 6 |
| 7 #include "../../../testing/fx_string_testhelpers.h" |
| 8 #include "core/include/fxcrt/fx_system.h" |
| 7 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
| 8 #include "../../../testing/fx_string_testhelpers.h" | |
| 9 #include "../../include/fxcrt/fx_system.h" | |
| 10 | 10 |
| 11 // Unit test covering cases where PDFium replaces well-known library | 11 // Unit test covering cases where PDFium replaces well-known library |
| 12 // functionality on any given platformn. | 12 // functionality on any given platformn. |
| 13 | 13 |
| 14 #if _FXM_PLATFORM_ != _FXM_PLATFORM_WINDOWS_ | 14 #if _FXM_PLATFORM_ != _FXM_PLATFORM_WINDOWS_ |
| 15 | 15 |
| 16 namespace { | 16 namespace { |
| 17 | 17 |
| 18 const FX_CHAR kSentinel = 0x7f; | 18 const FX_CHAR kSentinel = 0x7f; |
| 19 | 19 |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 | 152 |
| 153 Check64BitBase16Itoa(std::numeric_limits<int64_t>::max(), "7fffffffffffffff"); | 153 Check64BitBase16Itoa(std::numeric_limits<int64_t>::max(), "7fffffffffffffff"); |
| 154 Check64BitBase10Itoa(std::numeric_limits<int64_t>::max(), | 154 Check64BitBase10Itoa(std::numeric_limits<int64_t>::max(), |
| 155 "9223372036854775807"); | 155 "9223372036854775807"); |
| 156 Check64BitBase2Itoa( | 156 Check64BitBase2Itoa( |
| 157 std::numeric_limits<int64_t>::max(), | 157 std::numeric_limits<int64_t>::max(), |
| 158 "111111111111111111111111111111111111111111111111111111111111111"); | 158 "111111111111111111111111111111111111111111111111111111111111111"); |
| 159 } | 159 } |
| 160 | 160 |
| 161 #endif // _FXM_PLATFORM_ != _FXM_PLATFORM_WINDOWS_ | 161 #endif // _FXM_PLATFORM_ != _FXM_PLATFORM_WINDOWS_ |
| OLD | NEW |