Author: Raymond Bosman
Date: 2006-01-19 16:59:17 +0100 (Thu, 19 Jan 2006)
New Revision: 1983
Log:
- Updated inline documentation.
Modified:
packages/Archive/trunk/src/archive.php
packages/Archive/trunk/src/file/block_file.php
packages/Archive/trunk/src/file/file.php
packages/Archive/trunk/tests/file/block_file_test.php
Modified: packages/Archive/trunk/src/archive.php
===================================================================
--- packages/Archive/trunk/src/archive.php 2006-01-19 14:43:07 UTC (rev
1982)
+++ packages/Archive/trunk/src/archive.php 2006-01-19 15:59:17 UTC (rev
1983)
@@ -155,7 +155,7 @@
* archive format via the file data. Therefore the $forceType can only be
* null when the archive contains data.
* - If $forceType is set, it will use the specified algorithm. Even when
- * the given archive format is different than specified.
+ * the given archive is from another type than specified.
*
* @throws ezcArchiveUnknownTypeException if the type of the archive
cannot be determined.
*
Modified: packages/Archive/trunk/src/file/block_file.php
===================================================================
--- packages/Archive/trunk/src/file/block_file.php 2006-01-19 14:43:07 UTC
(rev 1982)
+++ packages/Archive/trunk/src/file/block_file.php 2006-01-19 15:59:17 UTC
(rev 1983)
@@ -271,7 +271,7 @@
*
* This method tries to write the $data to the file. Upon failure, this
method
* will retry, until no progress is made anymore. And eventually it will
throw
- * an exception.
+ * an exception. Sometimes an (invalid) interrupt may stop the writing
process.
*
* @throws ezcBaseFileIoException if it is not possible to write to the
file.
*
Modified: packages/Archive/trunk/src/file/file.php
===================================================================
--- packages/Archive/trunk/src/file/file.php 2006-01-19 14:43:07 UTC (rev
1982)
+++ packages/Archive/trunk/src/file/file.php 2006-01-19 15:59:17 UTC (rev
1983)
@@ -79,7 +79,6 @@
protected $streamFilters;
-
protected function openFile( $fileName, $createIfNotExist )
{
$this->readOnly = false;
Modified: packages/Archive/trunk/tests/file/block_file_test.php
===================================================================
--- packages/Archive/trunk/tests/file/block_file_test.php 2006-01-19
14:43:07 UTC (rev 1982)
+++ packages/Archive/trunk/tests/file/block_file_test.php 2006-01-19
15:59:17 UTC (rev 1983)
@@ -11,6 +11,19 @@
$this->assertEquals( "file1.txt", substr($data, 0, 9) );
}
+ /*
+ public function testGzipOpenFile()
+ {
+ $tmpDir = $this->createTempDir("ezcArchive_");
+ $tmpFile = $tmpDir . "/compress.zlib://my_file.gz";
+
+ // Create a new file, and set the blocksize to 5.
+ $blockFile = new ezcArchiveBlockFile( $tmpFile, true, 5 );
+
+ $this->removeTempDir();
+ }
+ */
+
public function testFileNotFoundException()
{
try
--
svn-components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/svn-components