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

Side by Side Diff: fpdfsdk/fsdk_baseform_embeddertest.cpp

Issue 2335243002: Split fsdk_mgr files apart. (Closed)
Patch Set: Sort headers Created 4 years, 3 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 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 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 "fpdfsdk/include/cba_annotiterator.h" 5 #include "fpdfsdk/include/cba_annotiterator.h"
6 #include "fpdfsdk/include/cpdfsdk_annot.h"
7 #include "fpdfsdk/include/cpdfsdk_document.h"
6 #include "fpdfsdk/include/fsdk_define.h" 8 #include "fpdfsdk/include/fsdk_define.h"
7 #include "fpdfsdk/include/fsdk_mgr.h"
8 #include "testing/embedder_test.h" 9 #include "testing/embedder_test.h"
9 #include "testing/embedder_test_mock_delegate.h" 10 #include "testing/embedder_test_mock_delegate.h"
10 #include "testing/embedder_test_timer_handling_delegate.h" 11 #include "testing/embedder_test_timer_handling_delegate.h"
11 #include "testing/gmock/include/gmock/gmock.h" 12 #include "testing/gmock/include/gmock/gmock.h"
12 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
13 14
14 namespace { 15 namespace {
15 16
16 void CheckRect(const CFX_FloatRect& actual, const CFX_FloatRect& expected) { 17 void CheckRect(const CFX_FloatRect& actual, const CFX_FloatRect& expected) {
17 EXPECT_EQ(expected.left, actual.left); 18 EXPECT_EQ(expected.left, actual.left);
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 CheckRect(pAnnot->GetRect(), RightTop); 116 CheckRect(pAnnot->GetRect(), RightTop);
116 pAnnot = iter.GetPrevAnnot(pAnnot); 117 pAnnot = iter.GetPrevAnnot(pAnnot);
117 CheckRect(pAnnot->GetRect(), LeftBottom); 118 CheckRect(pAnnot->GetRect(), LeftBottom);
118 pAnnot = iter.GetPrevAnnot(pAnnot); 119 pAnnot = iter.GetPrevAnnot(pAnnot);
119 EXPECT_EQ(iter.GetLastAnnot(), pAnnot); 120 EXPECT_EQ(iter.GetLastAnnot(), pAnnot);
120 } 121 }
121 UnloadPage(page2); 122 UnloadPage(page2);
122 UnloadPage(page1); 123 UnloadPage(page1);
123 UnloadPage(page0); 124 UnloadPage(page0);
124 } 125 }
OLDNEW
« BUILD.gn ('K') | « fpdfsdk/fsdk_actionhandler.cpp ('k') | fpdfsdk/fsdk_mgr.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698