![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <array>
#include <set>
#include <string>
#include <vector>
#include "core/fpdfapi/parser/cpdf_dictionary.h"
#include "core/fpdfapi/parser/cpdf_document.h"
#include "core/fpdfapi/parser/cpdf_reference.h"
#include "core/fxcrt/bytestring.h"
#include "core/fxcrt/fx_safe_types.h"
#include "core/fxge/cfx_defaultrenderdevice.h"
#include "fpdfsdk/cpdfsdk_helpers.h"
#include "public/cpp/fpdf_scopers.h"
#include "public/fpdf_doc.h"
#include "public/fpdf_edit.h"
#include "public/fpdfview.h"
#include "testing/embedder_test.h"
#include "testing/fx_string_testhelpers.h"
#include "testing/gtest/include/gtest/gtest.h"
Go to the source code of this file.
Classes | |
class | FPDFDocEmbedderTest |
TEST_F | ( | FPDFDocEmbedderTest | , |
ActionBadArguments | ) |
Definition at line 326 of file fpdf_doc_embeddertest.cpp.
References FPDFAction_GetDest(), FPDFAction_GetFilePath(), FPDFAction_GetType(), and FPDFAction_GetURIPath().
TEST_F | ( | FPDFDocEmbedderTest | , |
ActionEmbeddedGoto | ) |
Definition at line 478 of file fpdf_doc_embeddertest.cpp.
References FPDFAction_GetFilePath(), FPDFAction_GetType(), FPDFDest_GetView(), FPDFLink_GetAction(), and FPDFLink_GetLinkAtPoint().
TEST_F | ( | FPDFDocEmbedderTest | , |
ActionGoto | ) |
Definition at line 453 of file fpdf_doc_embeddertest.cpp.
References FPDFAction_GetFilePath(), FPDFAction_GetType(), FPDFLink_GetAction(), and FPDFLink_GetLinkAtPoint().
TEST_F | ( | FPDFDocEmbedderTest | , |
ActionLaunch | ) |
Definition at line 338 of file fpdf_doc_embeddertest.cpp.
References FPDFAction_GetFilePath(), FPDFAction_GetType(), FPDFLink_GetAction(), and FPDFLink_GetLinkAtPoint().
TEST_F | ( | FPDFDocEmbedderTest | , |
ActionNonesuch | ) |
Definition at line 515 of file fpdf_doc_embeddertest.cpp.
References FPDFAction_GetFilePath(), FPDFAction_GetType(), FPDFLink_GetAction(), and FPDFLink_GetLinkAtPoint().
TEST_F | ( | FPDFDocEmbedderTest | , |
ActionUri | ) |
Definition at line 369 of file fpdf_doc_embeddertest.cpp.
References FPDFAction_GetFilePath(), FPDFAction_GetType(), FPDFLink_GetAction(), and FPDFLink_GetLinkAtPoint().
TEST_F | ( | FPDFDocEmbedderTest | , |
ActionUriNonAscii | ) |
Definition at line 400 of file fpdf_doc_embeddertest.cpp.
References FPDFAction_GetType(), FPDFLink_GetAction(), and FPDFLink_GetLinkAtPoint().
TEST_F | ( | FPDFDocEmbedderTest | , |
Bookmarks | ) |
Definition at line 558 of file fpdf_doc_embeddertest.cpp.
References FPDFBookmark_GetAction(), FPDFBookmark_GetCount(), FPDFBookmark_GetTitle(), and GetPlatformWString().
TEST_F | ( | FPDFDocEmbedderTest | , |
Bug1506First | ) |
Definition at line 212 of file fpdf_doc_embeddertest.cpp.
TEST_F | ( | FPDFDocEmbedderTest | , |
Bug1506Second | ) |
Definition at line 220 of file fpdf_doc_embeddertest.cpp.
TEST_F | ( | FPDFDocEmbedderTest | , |
Bug1506Third | ) |
Definition at line 235 of file fpdf_doc_embeddertest.cpp.
TEST_F | ( | FPDFDocEmbedderTest | , |
Bug182 | ) |
Definition at line 915 of file fpdf_doc_embeddertest.cpp.
References GetPlatformWString().
TEST_F | ( | FPDFDocEmbedderTest | , |
Bug680376 | ) |
Definition at line 250 of file fpdf_doc_embeddertest.cpp.
TEST_F | ( | FPDFDocEmbedderTest | , |
Bug821454 | ) |
Definition at line 259 of file fpdf_doc_embeddertest.cpp.
References FPDFDest_GetLocationInPage(), FPDFLink_GetDest(), FPDFLink_GetLinkAtPoint(), and FPDFLink_GetLinkZOrderAtPoint().
TEST_F | ( | FPDFDocEmbedderTest | , |
DeletePage | ) |
Definition at line 635 of file fpdf_doc_embeddertest.cpp.
References FPDFPage_Delete().
TEST_F | ( | FPDFDocEmbedderTest | , |
DeletePageAndRender | ) |
Definition at line 651 of file fpdf_doc_embeddertest.cpp.
TEST_F | ( | FPDFDocEmbedderTest | , |
DeletePageAndSaveForPageWithMultipleUses | ) |
Definition at line 801 of file fpdf_doc_embeddertest.cpp.
TEST_F | ( | FPDFDocEmbedderTest | , |
DeletePageAndSaveWithBookmarks | ) |
Definition at line 744 of file fpdf_doc_embeddertest.cpp.
TEST_F | ( | FPDFDocEmbedderTest | , |
DeletePageAndSaveWithCustomObject | ) |
Definition at line 757 of file fpdf_doc_embeddertest.cpp.
TEST_F | ( | FPDFDocEmbedderTest | , |
DeletePageAndSaveWithCustomObjectForNewPage | ) |
Definition at line 770 of file fpdf_doc_embeddertest.cpp.
TEST_F | ( | FPDFDocEmbedderTest | , |
DestGetLocationInPage | ) |
Definition at line 184 of file fpdf_doc_embeddertest.cpp.
References FPDFDest_GetLocationInPage().
TEST_F | ( | FPDFDocEmbedderTest | , |
DestGetPageIndex | ) |
Definition at line 97 of file fpdf_doc_embeddertest.cpp.
References FPDFDest_GetDestPageIndex().
TEST_F | ( | FPDFDocEmbedderTest | , |
DestGetView | ) |
Definition at line 125 of file fpdf_doc_embeddertest.cpp.
References FPDFDest_GetView().
TEST_F | ( | FPDFDocEmbedderTest | , |
FindBookmarks | ) |
Definition at line 602 of file fpdf_doc_embeddertest.cpp.
References FPDFBookmark_GetTitle(), and GetPlatformWString().
TEST_F | ( | FPDFDocEmbedderTest | , |
FindBookmarksBug420 | ) |
Definition at line 626 of file fpdf_doc_embeddertest.cpp.
TEST_F | ( | FPDFDocEmbedderTest | , |
GetFileIdentifier | ) |
Definition at line 822 of file fpdf_doc_embeddertest.cpp.
TEST_F | ( | FPDFDocEmbedderTest | , |
GetMetaText | ) |
Definition at line 873 of file fpdf_doc_embeddertest.cpp.
References FPDF_GetMetaText(), and GetPlatformWString().
TEST_F | ( | FPDFDocEmbedderTest | , |
GetMetaTextFromNewDocument | ) |
Definition at line 944 of file fpdf_doc_embeddertest.cpp.
References FPDF_CreateNewDocument().
TEST_F | ( | FPDFDocEmbedderTest | , |
GetMetaTextInAttachmentFile | ) |
Definition at line 935 of file fpdf_doc_embeddertest.cpp.
References GetPlatformWString().
TEST_F | ( | FPDFDocEmbedderTest | , |
GetMetaTextSameObjectNumber | ) |
Definition at line 924 of file fpdf_doc_embeddertest.cpp.
References GetPlatformWString().
TEST_F | ( | FPDFDocEmbedderTest | , |
GetNonexistentFileIdentifier | ) |
Definition at line 865 of file fpdf_doc_embeddertest.cpp.
TEST_F | ( | FPDFDocEmbedderTest | , |
GetNonHexFileIdentifier | ) |
Definition at line 850 of file fpdf_doc_embeddertest.cpp.
References fxcrt::ByteString::ByteString().
TEST_F | ( | FPDFDocEmbedderTest | , |
GetPageAAction | ) |
Definition at line 950 of file fpdf_doc_embeddertest.cpp.
References FPDF_GetPageAAction(), FPDFAction_GetFilePath(), and FPDFAction_GetType().
TEST_F | ( | FPDFDocEmbedderTest | , |
GetPageLabels | ) |
Definition at line 989 of file fpdf_doc_embeddertest.cpp.
References GetPlatformWString().
TEST_F | ( | FPDFDocEmbedderTest | , |
LinkToAnnotConversion | ) |
Definition at line 431 of file fpdf_doc_embeddertest.cpp.
References FPDFLink_GetAnnot(), and FPDFLink_GetLinkAtPoint().
TEST_F | ( | FPDFDocEmbedderTest | , |
MultipleSamePage | ) |
Definition at line 78 of file fpdf_doc_embeddertest.cpp.
References CPDF_Document::GetParsedPageCountForTesting().
TEST_F | ( | FPDFDocEmbedderTest | , |
NoBookmarks | ) |
Definition at line 539 of file fpdf_doc_embeddertest.cpp.
References FPDFBookmark_Find(), FPDFBookmark_GetAction(), FPDFBookmark_GetDest(), FPDFBookmark_GetFirstChild(), FPDFBookmark_GetNextSibling(), and FPDFBookmark_GetTitle().
TEST_F | ( | FPDFDocEmbedderTest | , |
NoPageLabels | ) |
Definition at line 982 of file fpdf_doc_embeddertest.cpp.
TEST_F | ( | FPDFDocEmbedderTest | , |
Utf8Metadata | ) |
Definition at line 901 of file fpdf_doc_embeddertest.cpp.
References FPDFBookmark_GetTitle(), and GetPlatformWString().