ASF Bugzilla – Attachment 34150 Details for
Bug 60003
Regression: HSLF Powerpoint text extractor from footer of master slide
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Failing unit test
bug60003_unittest.patch (text/plain), 1.09 KB, created by
Javen O'Neal
on 2016-08-15 04:15:20 UTC
(
hide
)
Description:
Failing unit test
Filename:
MIME Type:
Creator:
Javen O'Neal
Created:
2016-08-15 04:15:20 UTC
Size:
1.09 KB
patch
obsolete
>Index: src/scratchpad/testcases/org/apache/poi/hslf/extractor/TestExtractor.java >=================================================================== >--- src/scratchpad/testcases/org/apache/poi/hslf/extractor/TestExtractor.java (revision 1756343) >+++ src/scratchpad/testcases/org/apache/poi/hslf/extractor/TestExtractor.java (working copy) >@@ -22,6 +22,7 @@ > import static org.junit.Assert.assertFalse; > import static org.junit.Assert.assertNotNull; > import static org.junit.Assert.assertTrue; >+import static org.junit.Assert.fail; > > import java.io.ByteArrayOutputStream; > import java.io.InputStream; >@@ -431,5 +432,17 @@ > String target = "this\tText\tis\twithin\ta\n"+ > "table\t1\t2\t3\t4"; > assertTrue(text.contains(target)); >- } >+ } >+ >+ @Test >+ public void testPrague() throws Exception { >+ HSLFSlideShowImpl hslf = new HSLFSlideShowImpl(slTests.openResourceAsStream("60003.ppt")); >+ ppe.close(); >+ >+ ppe = new PowerPointExtractor(hslf); >+ >+ String text = ppe.getText(); >+ assertContains(text, "Prague"); >+ hslf.close(); >+ } > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 60003
:
34150
|
34152
|
34265
|
34266