OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 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 "testing/gtest/include/gtest/gtest.h" | |
6 #include "core/include/fxcrt/fx_basic.h" | 5 #include "core/include/fxcrt/fx_basic.h" |
7 #include "testing/fx_string_testhelpers.h" | 6 #include "testing/fx_string_testhelpers.h" |
| 7 #include "testing/gtest/include/gtest/gtest.h" |
8 #include "xfa/src/fxbarcode/pdf417/BC_PDF417HighLevelEncoder.h" | 8 #include "xfa/src/fxbarcode/pdf417/BC_PDF417HighLevelEncoder.h" |
9 | 9 |
10 TEST(PDF417HighLevelEncoder, EncodeHighLevel) { | 10 TEST(PDF417HighLevelEncoder, EncodeHighLevel) { |
11 // TODO(tsepez): implement test cases. | 11 // TODO(tsepez): implement test cases. |
12 } | 12 } |
13 | 13 |
14 TEST(PDF417HighLevelEncoder, EncodeText) { | 14 TEST(PDF417HighLevelEncoder, EncodeText) { |
15 // TODO(tsepez): implement test cases. | 15 // TODO(tsepez): implement test cases. |
16 } | 16 } |
17 | 17 |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 CFX_WideString input(ptr->input); | 230 CFX_WideString input(ptr->input); |
231 int actual_count = | 231 int actual_count = |
232 CBC_PDF417HighLevelEncoder::determineConsecutiveTextCount(input, | 232 CBC_PDF417HighLevelEncoder::determineConsecutiveTextCount(input, |
233 ptr->offset); | 233 ptr->offset); |
234 EXPECT_EQ(ptr->expected_count, actual_count) << " for case number " << i; | 234 EXPECT_EQ(ptr->expected_count, actual_count) << " for case number " << i; |
235 } | 235 } |
236 CBC_PDF417HighLevelEncoder::Finalize(); | 236 CBC_PDF417HighLevelEncoder::Finalize(); |
237 } | 237 } |
238 | 238 |
239 TEST(PDF417HighLevelEncoder, ConsecutiveBinaryCount) {} | 239 TEST(PDF417HighLevelEncoder, ConsecutiveBinaryCount) {} |
OLD | NEW |