|
From: <jue...@we...> - 2004-11-07 18:34:21
|
Thanks for the offer, but I already rewrote the test: It rebuilds a = iText document with the same content, checking whether the result has = the same size as the content generated by AbstractPdfView, and also = checking that the differing bytes are below a certain limit (as the = content will differ in the encryption of the content - but only there). = That should be good enough for this unit test: After all, it should test = AbstractPdfView rather than iText itself. =20 Juergen =20 ________________________________ Von: spr...@li... im Auftrag = von Rob Harrop Gesendet: So 07.11.2004 19:19 An: spr...@li... Betreff: [Springframework-developer] Re: pdfbox and itext If the unit test is very important, I can write a custom parser to the = test the PDF contents without pdfbox. Rob j=FCrgen h=F6ller [werk3AT] writes: > Actually, I consider removing the pdfbox jar completely... It's 1.7 MB = (!!) and just used in a unit test. As we need to ship everything that's = needed to build and run the test suite, we'd need to include it in the = distribution if we kept that unit test. >=20 > I just noticed that we have already shipped that jar in the 1.1.1 = download. Still, I vote for removing it: 1.7 MB is too large just for a = unit test - in particular if the unit test is testing iText itself = rather than our AbstractPdfView. >=20 > I don't mean to intend that the particular unit test isn't valuable - = just that a 1.7 MB increase in download size is a bad tradeoff for such = a unit test. >=20 > Juergen > =20 > > ________________________________ > > Von: spr...@li... im Auftrag = von Dmitriy Kopylenko > Gesendet: So 07.11.2004 18:05 > An: spr...@li... > Betreff: Re: [Springframework-developer] Re: pdfbox and itext > >=20 > > Let's move it to "pdfbox" directory > > Dmitriy. > > Rob Harrop wrote: > >> I think pdfbox is used in the iText unit tests - it has support for >> getting at the PDF text which is used in some of the unit tests. >> >> Rob >> j=FCrgen h=F6ller [werk3AT] writes: >> >>> Where's pdfbox used? Quite certainly not in the main sources... In >>> any case, I vote for moving it to a separate "pdfbox" directory. >>> >>> Juergen >>> >>> ________________________________ >>> Von: spr...@li... im = Auftrag >>> von Dmitriy Kopylenko >>> Gesendet: Do 04.11.2004 15:13 >>> An: spr...@li... >>> Betreff: [Springframework-developer] pdfbox and itext >>> >>> >>> Hello everyone. >>> I've noticed in our lib/itext directory there are two jars for both >>> itext and pdfbox. As they're two different libraries, would it make = more >>> sense to rename top level directory into something like pdf? Or = maybe >>> create two separate directories one for itext and one for pdfbox? >>> Any thoughts? >>> Regards, >>> Dmitriy. >>> >>> ------------------------------------------------------- >>> This SF.Net email is sponsored by: >>> Sybase ASE Linux Express Edition - download now for FREE >>> LinuxWorld Reader's Choice Award Winner for best database on Linux. >>> http://ads.osdn.com/?ad_id=3D5588&alloc_id=3D12065&op=3Dclick >>> _______________________________________________ >>> Springframework-developer mailing list >>> Spr...@li... >>> = https://lists.sourceforge.net/lists/listinfo/springframework-developer >>> >>> >>> >>> ------------------------------------------------------- >>> This SF.Net email is sponsored by: >>> Sybase ASE Linux Express Edition - download now for FREE >>> LinuxWorld Reader's Choice Award Winner for best database on Linux. >>> http://ads.osdn.com/?ad_idU88&alloc_id=12065&opclick >>> _______________________________________________ >>> Springframework-developer mailing list >>> Spr...@li... >>> = https://lists.sourceforge.net/lists/listinfo/springframework-developer >> >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: >> Sybase ASE Linux Express Edition - download now for FREE >> LinuxWorld Reader's Choice Award Winner for best database on Linux. >> http://ads.osdn.com/?ad_id=3D5588&alloc_id=3D12065&op=3Dclick >> _______________________________________________ >> Springframework-developer mailing list >> Spr...@li... >> = https://lists.sourceforge.net/lists/listinfo/springframework-developer >=20 > >=20 > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=3D5588&alloc_id=3D12065&op=3Dclick > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > >=20 > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_idU88&alloc_id=12065&opclick > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=3D5588&alloc_id=3D12065&op=3Dclick _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |