Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 PDFium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "core/include/fxcrt/fx_string.h" | |
|
Lei Zhang
2016/01/06 02:05:06
Again, not needed. Also fx_string_testhelpers.h.
Tom Sepez
2016/01/06 17:57:10
Done.
| |
| 6 #include "public/fpdf_edit.h" | |
| 7 #include "public/fpdfview.h" | |
| 8 #include "testing/embedder_test.h" | |
| 9 #include "testing/fx_string_testhelpers.h" | |
| 10 #include "testing/gtest/include/gtest/gtest.h" | |
| 11 | |
| 12 class FPDFEditEmbeddertest : public EmbedderTest {}; | |
| 13 | |
| 14 TEST_F(FPDFEditEmbeddertest, EmptyCreation) { | |
| 15 EXPECT_TRUE(CreateDocument()); | |
| 16 FPDF_PAGE page = FPDFPage_New(document(), 1, 640.0, 480.0); | |
| 17 EXPECT_NE(nullptr, page); | |
| 18 EXPECT_TRUE(FPDFPage_GenerateContent(page)); | |
| 19 FPDFPage_Delete(document(), 1); | |
| 20 } | |
| OLD | NEW |