Author: dr
Date: Mon Jul 30 09:12:23 2007
New Revision: 5753
Log:
- Fixed test cases
#- This was done after 1.3 was released in trunk, so it didn't make it into the
# branch for 1.3.
Modified:
stable/Mail/1.3/tests/transports/transport_imap_test.php
stable/Mail/1.3/tests/transports/transport_pop3_test.php
Modified: stable/Mail/1.3/tests/transports/transport_imap_test.php
==============================================================================
--- stable/Mail/1.3/tests/transports/transport_imap_test.php [iso-8859-1]
(original)
+++ stable/Mail/1.3/tests/transports/transport_imap_test.php [iso-8859-1] Mon
Jul 30 09:12:23 2007
@@ -279,7 +279,7 @@
$parser = new ezcMailParser();
$mail = $parser->parseMail( $message );
$this->assertEquals( 1, count( $mail ) );
- $this->assertEquals( array( 0 => '1' ), $this->getAttribute( $message,
'messages' ) );
+ $this->assertEquals( array( 0 => '1' ), $this->readAttribute(
$message, 'messages' ) );
$this->assertEquals( 'ezcMailImapSet', get_class( $message ) );
}
@@ -1359,7 +1359,7 @@
$imap = new ezcMailImapTransport( "dolly.ez.no" );
// hack to get the connection property as it is private
- $connection = $this->getAttribute( $imap, 'connection' );
+ $connection = $this->readAttribute( $imap, 'connection' );
$this->assertEquals( true, isset( $connection->options ) );
$this->assertEquals( false, isset( $connection->no_such_property ) );
Modified: stable/Mail/1.3/tests/transports/transport_pop3_test.php
==============================================================================
--- stable/Mail/1.3/tests/transports/transport_pop3_test.php [iso-8859-1]
(original)
+++ stable/Mail/1.3/tests/transports/transport_pop3_test.php [iso-8859-1] Mon
Jul 30 09:12:23 2007
@@ -194,7 +194,7 @@
$parser = new ezcMailParser();
$mail = $parser->parseMail( $message );
$this->assertEquals( 1, count( $mail ) );
- $this->assertEquals( array( 0 => '1' ), $this->getAttribute( $message,
'messages' ) );
+ $this->assertEquals( array( 0 => '1' ), $this->readAttribute(
$message, 'messages' ) );
$this->assertEquals( 'ezcMailPop3Set', get_class( $message ) );
}
--
svn-components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/svn-components