Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
cbc_pdf417i_unittest.cpp
Go to the documentation of this file.
1
// Copyright 2019 The PDFium Authors
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
#
include
"fxbarcode/cbc_pdf417i.h"
6
7
#
include
<
vector
>
8
9
#
include
"testing/gtest/include/gtest/gtest.h"
10
11
TEST
(
CBC_PDF417ITest
,
Normal
) {
12
CBC_PDF417I encoder;
13
EXPECT_TRUE(encoder
.
Encode
(L"Foo"));
14
}
15
16
TEST
(
CBC_PDF417ITest
,
MaxLength
) {
17
std::vector<
wchar_t
> input(2711, L'1');
18
CBC_PDF417I encoder;
19
EXPECT_FALSE(encoder
.
Encode
(WideStringView(input)));
20
}
CBC_PDF417I::Encode
bool Encode(WideStringView contents) override
Definition
cbc_pdf417i.cpp:44
TEST
TEST(FXCRYPT, MD5GenerateEmtpyData)
Definition
fx_crypt_unittest.cpp:45
qtwebengine
src
3rdparty
chromium
third_party
pdfium
fxbarcode
cbc_pdf417i_unittest.cpp
Generated on Thu Nov 14 2024 01:01:36 for Qt by
1.12.0