Steph Fox
755642c355
- Bring phar tests into line across all branches
2008-08-01 13:36:19 +00:00
Steph Fox
f08aea109b
- IS_UNICODE checks and conversions
...
- stub and creation file updates
- far too many test updates to think about
2008-05-19 19:05:42 +00:00
Greg Beaver
bfbe53eeb2
refactor isTar/isZip/isPhar into isFileFormat(int format) where format is one of Phar::TAR,, Phar::ZIP, Phar::PHAR
...
[DOC]
2008-05-02 05:05:56 +00:00
Greg Beaver
c0d82e966f
refactor compress/convertToTar/convertToPhar/convertToZip/convertToExecutable/convertToData
...
into 2 methods:
convertToExecutable/convertToData. Both methods accept 3 optional parameters
1 archive type, Phar::PHAR, Phar::TAR, or Phar::ZIP
2 compression Phar::NONE, Phar::GZ, or Phar::BZ2
3 file extension. Default is <format>.<compression> where .phar.tar is executable .tar
convertToExecutable always returns a Phar object
convertToData always returns a PharData object
also added Phar::PHAR, Phar::TAR, and Phar::ZIP class constants
[DOC]
2008-04-11 04:20:15 +00:00
Greg Beaver
2e9fca4f0b
fix read/write for PharData object, update tests to current API
2008-03-24 03:01:31 +00:00
Steph Fox
303b72fed3
Lunchbreak.
2008-02-25 15:41:47 +00:00
Greg Beaver
d108a03553
fix --CLEAN--
2008-02-24 23:47:13 +00:00
Greg Beaver
1ea58d0c04
fix test
2008-02-24 23:44:12 +00:00
Steph Fox
89842172e3
Updating tests. 100% pass rate here now - not sure about the rest of the world just yet (sorry Marcus).
2008-02-24 19:34:05 +00:00
Steph Fox
e8e85afbcc
Updating conversion tests to check for more conversion parameters than one. Note that these will all fail against current CVS.
...
@Greg: We need to clarify conversion policy across the board.
2008-02-21 14:45:44 +00:00
Steph Fox
6306029051
Move supporting files to their own directory (toplevel tests)
2008-02-20 13:11:40 +00:00
Greg Beaver
47a60c4f16
fix 2 tests, add phar.readonly checks to rmdir/mkdir
2008-01-22 20:24:52 +00:00
Greg Beaver
0e934c70d7
add optional whole-file compression to convertToTar/convertToPhar
2008-01-16 21:09:32 +00:00