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 "core/include/fxcrt/fx_basic.h" | 5 #include "testing/gtest/include/gtest/gtest.h" |
| 6 #include "../../../../core/include/fxcrt/fx_basic.h" |
| 7 #include "../../../../testing/fx_string_testhelpers.h" |
6 #include "BC_PDF417HighLevelEncoder.h" | 8 #include "BC_PDF417HighLevelEncoder.h" |
7 #include "testing/gtest/include/gtest/gtest.h" | |
8 #include "testing/fx_string_testhelpers.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 |
18 TEST(PDF417HighLevelEncoder, EncodeBinary) { | 18 TEST(PDF417HighLevelEncoder, EncodeBinary) { |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 CFX_WideString input(ptr->input); | 212 CFX_WideString input(ptr->input); |
213 int actual_count = CBC_PDF417HighLevelEncoder::determineConsecutiveTextCount
(input, ptr->offset); | 213 int actual_count = CBC_PDF417HighLevelEncoder::determineConsecutiveTextCount
(input, ptr->offset); |
214 EXPECT_EQ(ptr->expected_count, actual_count) << " for case number " << i; | 214 EXPECT_EQ(ptr->expected_count, actual_count) << " for case number " << i; |
215 } | 215 } |
216 CBC_PDF417HighLevelEncoder::Finalize(); | 216 CBC_PDF417HighLevelEncoder::Finalize(); |
217 } | 217 } |
218 | 218 |
219 TEST(PDF417HighLevelEncoder, ConsecutiveBinaryCount) { | 219 TEST(PDF417HighLevelEncoder, ConsecutiveBinaryCount) { |
220 | 220 |
221 } | 221 } |
OLD | NEW |