![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <string>#include <vector>#include "public/fpdf_attachment.h"#include "public/fpdfview.h"#include "testing/embedder_test.h"#include "testing/fx_string_testhelpers.h"#include "testing/gmock/include/gmock/gmock.h"#include "testing/utils/hash.h"Go to the source code of this file.
Classes | |
| class | FPDFAttachmentEmbedderTest |
Functions | |
| TEST_F (FPDFAttachmentEmbedderTest, ExtractAttachments) | |
| TEST_F (FPDFAttachmentEmbedderTest, NoAttachmentToExtract) | |
| TEST_F (FPDFAttachmentEmbedderTest, InvalidAttachmentData) | |
| TEST_F (FPDFAttachmentEmbedderTest, AddAttachments) | |
| TEST_F (FPDFAttachmentEmbedderTest, AddAttachmentsWithParams) | |
| TEST_F (FPDFAttachmentEmbedderTest, AddAttachmentsToFileWithNoAttachments) | |
| TEST_F (FPDFAttachmentEmbedderTest, DeleteAttachment) | |
| TEST_F (FPDFAttachmentEmbedderTest, GetStringValueForChecksumNotString) | |
| TEST_F (FPDFAttachmentEmbedderTest, GetStringValueForNotString) | |
Variables | |
| static constexpr char | kDateKey [] = "CreationDate" |
| static constexpr char | kChecksumKey [] = "CheckSum" |
| TEST_F | ( | FPDFAttachmentEmbedderTest | , |
| AddAttachments | ) |
Definition at line 133 of file fpdf_attachment_embeddertest.cpp.
References FPDFAttachment_GetFile(), and FPDFAttachment_GetName().
| TEST_F | ( | FPDFAttachmentEmbedderTest | , |
| AddAttachmentsToFileWithNoAttachments | ) |
Definition at line 279 of file fpdf_attachment_embeddertest.cpp.
References FPDFAttachment_GetFile(), and FPDFAttachment_GetName().
| TEST_F | ( | FPDFAttachmentEmbedderTest | , |
| AddAttachmentsWithParams | ) |
Definition at line 202 of file fpdf_attachment_embeddertest.cpp.
References FPDFAttachment_GetFile(), FPDFAttachment_GetName(), FPDFAttachment_GetStringValue(), kChecksumKey, and kDateKey.
| TEST_F | ( | FPDFAttachmentEmbedderTest | , |
| DeleteAttachment | ) |
Definition at line 342 of file fpdf_attachment_embeddertest.cpp.
References FPDFAttachment_GetName().
| TEST_F | ( | FPDFAttachmentEmbedderTest | , |
| ExtractAttachments | ) |
Definition at line 20 of file fpdf_attachment_embeddertest.cpp.
References FPDFAttachment_GetFile(), FPDFAttachment_GetName(), FPDFAttachment_GetStringValue(), FPDFAttachment_GetValueType(), FPDFAttachment_HasKey(), kChecksumKey, and kDateKey.
| TEST_F | ( | FPDFAttachmentEmbedderTest | , |
| GetStringValueForChecksumNotString | ) |
Definition at line 370 of file fpdf_attachment_embeddertest.cpp.
References FPDFAttachment_GetStringValue(), and kChecksumKey.
| TEST_F | ( | FPDFAttachmentEmbedderTest | , |
| GetStringValueForNotString | ) |
Definition at line 389 of file fpdf_attachment_embeddertest.cpp.
References FPDFAttachment_GetStringValue(), and kChecksumKey.
| TEST_F | ( | FPDFAttachmentEmbedderTest | , |
| InvalidAttachmentData | ) |
Definition at line 109 of file fpdf_attachment_embeddertest.cpp.
References FPDFAttachment_GetFile(), and FPDFAttachment_GetName().
| TEST_F | ( | FPDFAttachmentEmbedderTest | , |
| NoAttachmentToExtract | ) |
Definition at line 99 of file fpdf_attachment_embeddertest.cpp.
|
staticconstexpr |
|
staticconstexpr |
Definition at line 15 of file fpdf_attachment_embeddertest.cpp.