summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdf_edit_embeddertest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/fpdf_edit_embeddertest.cpp')
-rw-r--r--fpdfsdk/fpdf_edit_embeddertest.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/fpdfsdk/fpdf_edit_embeddertest.cpp b/fpdfsdk/fpdf_edit_embeddertest.cpp
index 80191556f3..8f54bf8eab 100644
--- a/fpdfsdk/fpdf_edit_embeddertest.cpp
+++ b/fpdfsdk/fpdf_edit_embeddertest.cpp
@@ -468,11 +468,14 @@ TEST_F(FPDFEditEmbeddertest, RemoveMarkedObjectsPrime) {
GetPlatformWString(reinterpret_cast<unsigned short*>(buffer));
if (name == L"Prime") {
prime_count++;
+ EXPECT_EQ(0, FPDFPageObjMark_CountParams(mark));
primes.push_back(page_object);
} else if (name == L"Square") {
square_count++;
+ EXPECT_EQ(1, FPDFPageObjMark_CountParams(mark));
} else if (name == L"GreaterThanTen") {
greater_than_ten_count++;
+ EXPECT_EQ(0, FPDFPageObjMark_CountParams(mark));
} else {
FAIL();
}