aboutsummaryrefslogtreecommitdiffstats
path: root/src/scratchpad/testcases/org/apache/poi/hemf
diff options
context:
space:
mode:
authorAndreas Beeker <kiwiwings@apache.org>2018-09-17 19:25:40 +0000
committerAndreas Beeker <kiwiwings@apache.org>2018-09-17 19:25:40 +0000
commite6e1f622d8289b5eb08633c6edcb45a0ba3f48e6 (patch)
treea9435b4d82c8dbe2bacbac4c11f4640747e909f2 /src/scratchpad/testcases/org/apache/poi/hemf
parenta6a55a6ca514f9e76a784aadbec0d6d774ba8b9a (diff)
downloadpoi-e6e1f622d8289b5eb08633c6edcb45a0ba3f48e6.tar.gz
poi-e6e1f622d8289b5eb08633c6edcb45a0ba3f48e6.zip
#60656 - Support export file that contains emf and render it correctly
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/hemf@1841134 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/scratchpad/testcases/org/apache/poi/hemf')
-rw-r--r--src/scratchpad/testcases/org/apache/poi/hemf/hemfplus/extractor/HemfPlusExtractorTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scratchpad/testcases/org/apache/poi/hemf/hemfplus/extractor/HemfPlusExtractorTest.java b/src/scratchpad/testcases/org/apache/poi/hemf/hemfplus/extractor/HemfPlusExtractorTest.java
index 5811accac5..b42bac7d5d 100644
--- a/src/scratchpad/testcases/org/apache/poi/hemf/hemfplus/extractor/HemfPlusExtractorTest.java
+++ b/src/scratchpad/testcases/org/apache/poi/hemf/hemfplus/extractor/HemfPlusExtractorTest.java
@@ -42,7 +42,7 @@ public class HemfPlusExtractorTest {
EmfCommentDataPlus emfPlus = getCommentRecord("SimpleEMF_windows.emf", 0);
List<HemfPlusRecord> records = emfPlus.getRecords();
assertEquals(1, records.size());
- assertEquals(HemfPlusRecordType.header, records.get(0).getRecordType());
+ assertEquals(HemfPlusRecordType.header, records.get(0).getEmfPlusRecordType());
HemfPlusHeader header = (HemfPlusHeader)records.get(0);
assertEquals(240, header.getLogicalDpiX());
@@ -67,7 +67,7 @@ public class HemfPlusExtractorTest {
assertEquals(expected.size(), records.size());
for (int i = 0; i < expected.size(); i++) {
- assertEquals(expected.get(i), records.get(i).getRecordType());
+ assertEquals(expected.get(i), records.get(i).getEmfPlusRecordType());
}
}