OLD | NEW |
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/fsdk_baseform.h" | 5 #include "fpdfsdk/include/fsdk_baseform.h" |
6 #include "fpdfsdk/include/fsdk_define.h" | 6 #include "fpdfsdk/include/fsdk_define.h" |
7 #include "fpdfsdk/include/fsdk_mgr.h" | 7 #include "fpdfsdk/include/fsdk_mgr.h" |
8 #include "testing/embedder_test.h" | 8 #include "testing/embedder_test.h" |
9 #include "testing/embedder_test_mock_delegate.h" | 9 #include "testing/embedder_test_mock_delegate.h" |
10 #include "testing/embedder_test_timer_handling_delegate.h" | 10 #include "testing/embedder_test_timer_handling_delegate.h" |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 pAnnot = iter.GetPrevAnnot(pAnnot); | 106 pAnnot = iter.GetPrevAnnot(pAnnot); |
107 CheckRect(pAnnot->GetRect(), LeftTop); | 107 CheckRect(pAnnot->GetRect(), LeftTop); |
108 pAnnot = iter.GetPrevAnnot(pAnnot); | 108 pAnnot = iter.GetPrevAnnot(pAnnot); |
109 CheckRect(pAnnot->GetRect(), RightTop); | 109 CheckRect(pAnnot->GetRect(), RightTop); |
110 pAnnot = iter.GetPrevAnnot(pAnnot); | 110 pAnnot = iter.GetPrevAnnot(pAnnot); |
111 CheckRect(pAnnot->GetRect(), LeftBottom); | 111 CheckRect(pAnnot->GetRect(), LeftBottom); |
112 pAnnot = iter.GetPrevAnnot(pAnnot); | 112 pAnnot = iter.GetPrevAnnot(pAnnot); |
113 EXPECT_EQ(iter.GetLastAnnot(), pAnnot); | 113 EXPECT_EQ(iter.GetLastAnnot(), pAnnot); |
114 } | 114 } |
115 } | 115 } |
OLD | NEW |