Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(186)

Side by Side Diff: xfa/src/fxbarcode/pdf417/BC_PDF417HighLevelEncoder_unittest.cpp

Issue 842043002: Organize barcode codes into modules. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: rebase Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "core/include/fxcrt/fx_basic.h"
6 #include "include/BC_PDF417HighLevelEncoder.h" 6 #include "include/BC_PDF417HighLevelEncoder.h"
7 #include "testing/gtest/include/gtest/gtest.h" 7 #include "testing/gtest/include/gtest/gtest.h"
8 #include "testing/fx_string_testhelpers.h" 8 #include "testing/fx_string_testhelpers.h"
9 9
10 TEST(PDF417HighLevelEncoder, EncodeHighLevel) { 10 TEST(PDF417HighLevelEncoder, EncodeHighLevel) {
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 }
OLDNEW
« no previous file with comments | « xfa/src/fxbarcode/pdf417/BC_PDF417HighLevelEncoder.cpp ('k') | xfa/src/fxbarcode/pdf417/BC_PDF417Reader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698