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

Side by Side Diff: fpdfsdk/fsdk_baseform_embeddertest.cpp

Issue 2384503003: Move fpdfsdk/include to fpdfsdk (Closed)
Patch Set: Rebase to master Created 4 years, 2 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
« no previous file with comments | « fpdfsdk/fsdk_actionhandler.cpp ('k') | fpdfsdk/fsdk_common.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/cba_annotiterator.h"
6 #include "fpdfsdk/include/cpdfsdk_annot.h" 6 #include "fpdfsdk/cpdfsdk_annot.h"
7 #include "fpdfsdk/include/cpdfsdk_document.h" 7 #include "fpdfsdk/cpdfsdk_document.h"
8 #include "fpdfsdk/include/fsdk_define.h" 8 #include "fpdfsdk/fsdk_define.h"
9 #include "testing/embedder_test.h" 9 #include "testing/embedder_test.h"
10 #include "testing/embedder_test_mock_delegate.h" 10 #include "testing/embedder_test_mock_delegate.h"
11 #include "testing/embedder_test_timer_handling_delegate.h" 11 #include "testing/embedder_test_timer_handling_delegate.h"
12 #include "testing/gmock/include/gmock/gmock.h" 12 #include "testing/gmock/include/gmock/gmock.h"
13 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
14 14
15 namespace { 15 namespace {
16 16
17 void CheckRect(const CFX_FloatRect& actual, const CFX_FloatRect& expected) { 17 void CheckRect(const CFX_FloatRect& actual, const CFX_FloatRect& expected) {
18 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
116 CheckRect(pAnnot->GetRect(), RightTop); 116 CheckRect(pAnnot->GetRect(), RightTop);
117 pAnnot = iter.GetPrevAnnot(pAnnot); 117 pAnnot = iter.GetPrevAnnot(pAnnot);
118 CheckRect(pAnnot->GetRect(), LeftBottom); 118 CheckRect(pAnnot->GetRect(), LeftBottom);
119 pAnnot = iter.GetPrevAnnot(pAnnot); 119 pAnnot = iter.GetPrevAnnot(pAnnot);
120 EXPECT_EQ(iter.GetLastAnnot(), pAnnot); 120 EXPECT_EQ(iter.GetLastAnnot(), pAnnot);
121 } 121 }
122 UnloadPage(page2); 122 UnloadPage(page2);
123 UnloadPage(page1); 123 UnloadPage(page1);
124 UnloadPage(page0); 124 UnloadPage(page0);
125 } 125 }
OLDNEW
« no previous file with comments | « fpdfsdk/fsdk_actionhandler.cpp ('k') | fpdfsdk/fsdk_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698