aboutsummaryrefslogtreecommitdiffstats
path: root/libtests/qtest
AgeCommit message (Collapse)Author
2016-01-24Use RM_WS_ONLY_LINES in testThorsten Schöning
Some compilers output extra newlines in some cases.
2015-10-31Implement deterministic IDJay Berkenbilt
For non-encrypted files, determinstic ID generation uses file contents instead of timestamp and file name. At a small runtime cost, this enables generation of the same /ID if the same inputs are converted in the same way multiple times.
2013-12-16Remove needless #ifdef _WIN32 from getWhoamiJay Berkenbilt
2013-12-14Refactor random data generationJay Berkenbilt
Add new RandomDataProvider object and implement existing random number generation in terms of that. This enables end users to supply their own random data providers.
2013-03-05Call QUtil::safe_fopen in place of fopenJay Berkenbilt
fopen was previuosly called wrapped by QUtil::fopen_wrapper, but QUtil::safe_fopen does this itself, which is less cumbersome.
2013-03-05Remove all calls to sprintfJay Berkenbilt
2013-03-05Use portable versions of some UNIX-specific callsJay Berkenbilt
Remove needless calls to open, close, and fileno; call remove instead of unlink.
2013-03-04Rewrite QUtil::int_to_string and QUtil::double_to_stringJay Berkenbilt
Make them safer by avoiding any internal limits and replacing sprintf with std::ostringstream.
2012-12-31SHA2 pipeline with support for 256, 384, and 512 bitsJay Berkenbilt
Implemented pipeline around sph sha calls using standard test vectors for full-byte values. Did not test or support partial byte values.
2012-06-20Remove extraneous execute bitsJay Berkenbilt
2010-09-24add * and -> operatorsJay Berkenbilt
git-svn-id: svn+q:///qpdf/trunk@1029 71b93d88-0707-0410-a8cf-f5a4172ac649
2009-10-27minor tweaks so rpm creation works properly in rhel5Jay Berkenbilt
git-svn-id: svn+q:///qpdf/trunk@911 71b93d88-0707-0410-a8cf-f5a4172ac649
2009-10-18test aesJay Berkenbilt
git-svn-id: svn+q:///qpdf/trunk@813 71b93d88-0707-0410-a8cf-f5a4172ac649
2009-10-14use binmode so test suite works with ActivePerlJay Berkenbilt
git-svn-id: svn+q:///qpdf/trunk@801 71b93d88-0707-0410-a8cf-f5a4172ac649
2009-09-26removed qexc; non-compatible ABI changeJay Berkenbilt
git-svn-id: svn+q:///qpdf/trunk@709 71b93d88-0707-0410-a8cf-f5a4172ac649
2009-07-15windows fixes; okay for modern compilersJay Berkenbilt
git-svn-id: svn+q:///qpdf/trunk@685 71b93d88-0707-0410-a8cf-f5a4172ac649
2009-07-13Fix a few compiler errors reported correctly my MSVC 9.0.Jay Berkenbilt
Fix libtests test suites to pass on Windows, mostly by dealing with ascii vs. binary and NL vs. CRNL change ($td->NORMALIZE_NEWLINES). Convert some test suites to use fread instead of read. PCRE.hh: define PCRE_STATIC if on Windows. Provide cross-platform function for getting current time instead of using time(0). git-svn-id: svn+q:///qpdf/trunk@678 71b93d88-0707-0410-a8cf-f5a4172ac649
2009-02-20fix problem with lzw decoder when run without early code change, now that we ↵Jay Berkenbilt
actually have test input git-svn-id: svn+q:///qpdf/trunk@646 71b93d88-0707-0410-a8cf-f5a4172ac649
2008-04-29update release date to actual daterelease-qpdf-2.0Jay Berkenbilt
git-svn-id: svn+q:///qpdf/trunk@599 71b93d88-0707-0410-a8cf-f5a4172ac649