aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* Bugzilla #36460 (first part): Jeremias Maerki2005-09-0110-314/+398
| | | | | | | Some minor cleanup and two bigger revamps of two cases Submitted by: Manuel Mall <mm.at.arcus.com.au> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@265711 13f79535-47bb-0310-9956-ffa450edef68
* PDFNumber.doubleOut() rewritten using java.text.DecimalFormat. Jeremias Maerki2005-09-012-0/+115
| | | | | | | This fixes a bug of doubleOut() not recognizing the scientific format sometimes returned by Double.toString(double). This change may result in slightly different value being written to the PDF stream. The former doubleOut contained specific code to do special rounding where the new method using DecimalFormat implicitly uses the BigDecimal.ROUND_HALF_EVEN strategy when rounding. These different values hopefully won't make a big visual difference. They don't in my tests. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@265688 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #36379:Finn Bock2005-08-3135-205/+1449
| | | | | | | | | | | | Revised percentage resolution system. Submitted by: Manuel Mall <mm.at.arcus.com.au> Slightly modified to avoid early evaluation of getValue(). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@265577 13f79535-47bb-0310-9956-ffa450edef68
* Test case for squeezing an oversized image into a page. Currently fails ↵Jeremias Maerki2005-08-313-0/+53
| | | | | | because min/opt/max mechanisms currently ignored by the EGLM. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@265051 13f79535-47bb-0310-9956-ffa450edef68
* normal-breaking6 shows problems with breaking in narrow environments. Jeremias Maerki2005-08-303-0/+125
| | | | | | keep-together-inline1 documents that keep-together.within-line doesn't work, yet. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@264822 13f79535-47bb-0310-9956-ffa450edef68
* Fix for text-align2.xml (for real now). The alignment used to set up the ↵Jeremias Maerki2005-08-302-2/+1
| | | | | | element list was not properly determined. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@264797 13f79535-47bb-0310-9956-ffa450edef68
* Hmm, seems like my fix was not enough. Now, it simply crashes due to a ↵Jeremias Maerki2005-08-302-1/+5
| | | | | | different case. Not sure how to solve this, yet. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@264789 13f79535-47bb-0310-9956-ffa450edef68
* Some tests for text-align (not comprehensive!). Jeremias Maerki2005-08-302-0/+171
| | | | | | text-align2 test for a special constellation which currently results in a ClassPathException. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@264771 13f79535-47bb-0310-9956-ffa450edef68
* Initial commit for a FO tree testing facility.Jeremias Maerki2005-08-3010-0/+509
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@264709 13f79535-47bb-0310-9956-ffa450edef68
* Background trait's toString() streamlined. Test cases adjusted accordingly. Jeremias Maerki2005-08-2916-23/+72
| | | | | | | Test cases without checks will fail from now on!!! Checks for certain test cases and the others are added to the disabled list. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@264120 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #36396: Jeremias Maerki2005-08-2910-0/+833
| | | | | | | More test cases for background images. Submitted by: Manuel Mall <mm.at.arcus.com.au> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@264118 13f79535-47bb-0310-9956-ffa450edef68
* Added negative reference-orientations to block-container4. Jeremias Maerki2005-08-273-42/+212
| | | | | | | | Now checking the CTMs, too New block-container4a based on the test case submitted by Yannick Valot for Bugzilla #36391. I had to disable block-container4a because the CTM for 180/-180 is really wrong. Comment about the defect added to the checks. There's no quick fix, but this is also low-priority for me. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@240461 13f79535-47bb-0310-9956-ffa450edef68
* Two new config values: stop-on-exception and create-diffs.Jeremias Maerki2005-08-261-21/+45
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@240253 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla: #36356 Jeremias Maerki2005-08-262-0/+60
| | | | | | | Test case for Bug #36356, slightly simplified by using absolute lengths instead of percentages for the margins. Checks added, too. Submitted by: Manuel Mall <mm.at.arcus.com.au> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@240219 13f79535-47bb-0310-9956-ffa450edef68
* Testcase showing a page-number whose ipd is not correctly setLuca Furini2005-08-262-1/+55
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@240206 13f79535-47bb-0310-9956-ffa450edef68
* After chasing a phantom for hours, it looks like it's simply the big images ↵Jeremias Maerki2005-08-251-0/+5
| | | | | | | | being generated that eat over 90% of the memory and at some point cause an OutOfMemoryError. Releasing the bitmaps a little sooner now which helps a little. "-Xmx256m" is still a good idea for BatchDiffer. Haven't found any memory leaks inside FOP, since I fixed the image cache. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@240079 13f79535-47bb-0310-9956-ffa450edef68
* Moved CLI to its own package. New main class is org.apache.fop.cli.Main. Jeremias Maerki2005-08-231-1/+1
| | | | | | InputHandler is not passed through the FOUserAgent anymore. IMO it doesn't belong there. Instead I defined an interface "Renderable" in the AWT preview that InputHandler implements. This is used exclusively for reloading the document inside the preview dialog. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@239409 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #36224: Jeremias Maerki2005-08-212-1/+9
| | | | | | | | | | | | | | This patch ports the 0.20.5 CCITTFaxDecode filter functionality and its support of direct embedding on certain TIFF images to the trunk. It also cleans up some of the image handling with respect to consistent closing of the input stream to avoid dangling open files. Submitted by: Manuel Mall <mm.at.arcus.com.au> Changes to the patch: Fixed a small problem with the NullFilter in the PDF library. Used tiff_group4.tiff in external-graphic-tiff.xml. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@234261 13f79535-47bb-0310-9956-ffa450edef68
* Show and fix a bug where bottom/right positioning of block-containers didn't ↵Jeremias Maerki2005-08-211-1/+15
| | | | | | work properly when the block-container is nested in a block. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@234203 13f79535-47bb-0310-9956-ffa450edef68
* I want to work while this is running. :-)Jeremias Maerki2005-08-211-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@234189 13f79535-47bb-0310-9956-ffa450edef68
* Testing all inline-level FOs inside fo:inline to check for ↵Jeremias Maerki2005-08-201-0/+59
| | | | | | ClassCastExceptions as reported in Bugzilla #36248. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@234033 13f79535-47bb-0310-9956-ffa450edef68
* Add a method to clear all image caches for testing purposes. It shouldn't be ↵Jeremias Maerki2005-08-161-5/+36
| | | | | | | | necessary anymore to call such a method in a production environment or we have a problem with the image cache. Testing SystemID resolution as well as StreamSource with an InputStream. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232952 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #36082 Jeremias Maerki2005-08-161-11/+9
| | | | | | | Renamed FOUserAgent.getStream() to FOUserAgent.resolveURI() which now simply returns a Source instance which the ImageFactory uses to get at an InputStream somehow. Submitted by: Manuel Mall <mm.at.arcus.com.au> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232949 13f79535-47bb-0310-9956-ffa450edef68
* ref to bugzilla 36180Chris Bowditch2005-08-153-0/+251
| | | | | | | Submitted by: Manuel Mall <mm.at.arcus.com.au> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232810 13f79535-47bb-0310-9956-ffa450edef68
* Aaargh. Imports again.Jeremias Maerki2005-08-151-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232789 13f79535-47bb-0310-9956-ffa450edef68
* JUnit Test cases to test URI resolution using custom URIResolvers. They are ↵Jeremias Maerki2005-08-153-0/+279
| | | | | | not yet integrated into the test suite as the second test fails and the first test needs some changes in the code (see TODO). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232788 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #36082 Jeremias Maerki2005-08-1517-0/+554
| | | | | | | | | | | | | | | | | | | | | 1. Addresses the URI resolving issue as discussed in this bug by providing a FOP implementation of the URIResolver interface as well as the capabilities to set a URIResolver on the FOUserAgent object. 2. Modifies the BMPReader to extract the resolution information. 3. Fixes a possible array bounds exception in BMPImage which can happen for BMP images with extra bytes at the end. 4. Provides some infrastructure in ImageFactory in preparation of external configuration of multiple prioritised image providers per mime type. 5. Sets a proper base URL in SVGElement. 6. Provides test cases and test images for the different formats and resolutions. Submitted by: Manuel Mall <mm.at.arcus.com.au> Patch slightly modified: - EPS sample graphic exchanged with a very simple and more importantly much smaller one generated by Barcode4J. - Enabled resolution checking for some of the format-specific testcases (especially after working around resolution detection for PNG) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232786 13f79535-47bb-0310-9956-ffa450edef68
* Removed left over .cvsignore files.Joerg Pietschmann2005-08-131-3/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232529 13f79535-47bb-0310-9956-ffa450edef68
* Initial upload of the visual testing facility. Docs in code. A Wiki page ↵Jeremias Maerki2005-08-1214-0/+1301
| | | | | | will follow shortly. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232300 13f79535-47bb-0310-9956-ffa450edef68
* Merged branch ↵Jeremias Maerki2005-08-125-3/+202
| | | | | | | | | | | | | https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/inlineblock back into Trunk. Revisions: 227462 to HEAD (231261) This adds support for block-level content inside fo:inline. The full set of changes on the branch can be extracted by: svn log http://svn.apache.org/repos/asf/xmlgraphics/fop/branches/inlineblock -r 227462:231261 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232250 13f79535-47bb-0310-9956-ffa450edef68
* Some general housekeeping. No functional changes.Jeremias Maerki2005-08-1012-42/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@231325 13f79535-47bb-0310-9956-ffa450edef68
* Removed DOM-related tests as discussed. We don't want to test the buggy ↵Jeremias Maerki2005-08-101-35/+1
| | | | | | innards of Xalan-J. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@231263 13f79535-47bb-0310-9956-ffa450edef68
* Oops. Forgot to update this one.Jeremias Maerki2005-08-101-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@231242 13f79535-47bb-0310-9956-ffa450edef68
* Found a bug. Element list is not correct. Auxiliary boxes for starting and ↵Jeremias Maerki2005-08-101-0/+18
| | | | | | ending borders are not generated. May cause wrong break decisions. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@231241 13f79535-47bb-0310-9956-ffa450edef68
* Support checking for the auxiliary flag on boxes.Jeremias Maerki2005-08-101-0/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@231240 13f79535-47bb-0310-9956-ffa450edef68
* Forgot to commit a changed file. Straggler from the RTF library clean-up.Jeremias Maerki2005-08-101-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@231221 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #36067 Jeremias Maerki2005-08-103-73/+122
| | | | | | | Support for relative font sizes. Submitted by: Manuel Mall <mm.at.arcus.com.au> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@231198 13f79535-47bb-0310-9956-ffa450edef68
* Submitted by: Manuel Mall <mm.at.arcus.com.au>Chris Bowditch2005-08-092-0/+205
| | | | | | ref to bugzilla 36098 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@231047 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #35992 Jeremias Maerki2005-08-051-0/+3
| | | | | | | Additional element for background-position demonstration. Submitted by: Manuel Mall <mm.at.arcus.com.au> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@230497 13f79535-47bb-0310-9956-ffa450edef68
* Please keep it sorted.Jeremias Maerki2005-08-051-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@230448 13f79535-47bb-0310-9956-ffa450edef68
* Patch supplied by Manuel Mall in bugzilla 36036 with minor modificationsChris Bowditch2005-08-053-73/+103
| | | | | | Submitted by: Manuel Mall <mm.at.arcus.com.au> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@230445 13f79535-47bb-0310-9956-ffa450edef68
* disabled font size absolute and relative tests as they currently fail!Chris Bowditch2005-08-041-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227399 13f79535-47bb-0310-9956-ffa450edef68
* Test cases submitted by Manual Mall, bugzilla 36025. I have added some ↵Chris Bowditch2005-08-043-0/+369
| | | | | | | | checks to increase effectiveness of tests Submitted by: Manuel Mall <mm.at.arcus.com.au> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227398 13f79535-47bb-0310-9956-ffa450edef68
* This does no more cause a ClassCastExceptions.Luca Furini2005-08-041-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227352 13f79535-47bb-0310-9956-ffa450edef68
* Testcases for leaderChristian Geisert2005-08-043-0/+245
| | | | | | | | | Submitted by: Manuel Mall <mm.at.arcus.com.au> see Bugzilla #36013, #36015, #36017 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227350 13f79535-47bb-0310-9956-ffa450edef68
* Setting svn:eol-style and svn:keywords where necessary. Need to lookup why ↵Jeremias Maerki2005-08-0425-1497/+1497
| | | | | | these are missing only on some. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227338 13f79535-47bb-0310-9956-ffa450edef68
* added some checks to the test case to make it more effective in checking for ↵Chris Bowditch2005-08-042-1/+17
| | | | | | regressions git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227335 13f79535-47bb-0310-9956-ffa450edef68
* Testcases for word-spacingChristian Geisert2005-08-044-0/+234
| | | | | | | Submitted by: Manuel Mall <mm.at.arcus.com.au>, see Bugzilla #36010 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227334 13f79535-47bb-0310-9956-ffa450edef68
* disabled letter-spacing3.xml for now as it failsChris Bowditch2005-08-041-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227323 13f79535-47bb-0310-9956-ffa450edef68
* Submitted by Manual Mall in bugzilla 36008Chris Bowditch2005-08-043-0/+176
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227322 13f79535-47bb-0310-9956-ffa450edef68