Geeklog
[ class tree: Geeklog ] [ index: Geeklog ] [ all elements ]

Class: Swift_Transport_SendmailTransportTest

Source Location: /system/vendor/swiftmailer/swiftmailer/tests/unit/Swift/Transport/SendmailTransportTest.php

Class Overview

PHPUnit_Framework_TestCase
   |
   --SwiftMailerTestCase
      |
      --Swift_Transport_AbstractSmtpTest
         |
         --Swift_Transport_AbstractSmtpEventSupportTest
            |
            --Swift_Transport_SendmailTransportTest

A base test case with some custom expectations.


Author(s):

  • Rouven Weßling

Methods


Inherited Methods

Class: Swift_Transport_AbstractSmtpEventSupportTest

Swift_Transport_AbstractSmtpEventSupportTest::testCancellingBubbleBeforeTransportStartStopsEvent()
Swift_Transport_AbstractSmtpEventSupportTest::testCancellingBubbleBeforeTransportStoppedStopsEvent()
Swift_Transport_AbstractSmtpEventSupportTest::testCancellingEventBubbleBeforeSendStopsEvent()
Swift_Transport_AbstractSmtpEventSupportTest::testCommandEventsAreGenerated()
Swift_Transport_AbstractSmtpEventSupportTest::testExceptionBubblesCanBeCancelled()
Swift_Transport_AbstractSmtpEventSupportTest::testExceptionsCauseExceptionEvents()
Swift_Transport_AbstractSmtpEventSupportTest::testRegisterPluginLoadsPluginInEventDispatcher()
Swift_Transport_AbstractSmtpEventSupportTest::testResponseEventsAreGenerated()
Swift_Transport_AbstractSmtpEventSupportTest::testSendEventCapturesFailures()
Swift_Transport_AbstractSmtpEventSupportTest::testSendEventHasResultFailedIfAllFailures()
Swift_Transport_AbstractSmtpEventSupportTest::testSendEventHasResultSuccessIfNoFailures()
Swift_Transport_AbstractSmtpEventSupportTest::testSendEventHasResultTentativeIfSomeFailures()
Swift_Transport_AbstractSmtpEventSupportTest::testSendingDispatchesBeforeSendEvent()
Swift_Transport_AbstractSmtpEventSupportTest::testSendingDispatchesSendEvent()
Swift_Transport_AbstractSmtpEventSupportTest::testStartingTransportDispatchesBeforeTransportChangeEvent()
Swift_Transport_AbstractSmtpEventSupportTest::testStartingTransportDispatchesTransportChangeEvent()
Swift_Transport_AbstractSmtpEventSupportTest::testStoppingTransportDispatchesBeforeTransportChangeEvent()
Swift_Transport_AbstractSmtpEventSupportTest::testStoppingTransportDispatchesTransportChangeEvent()
Swift_Transport_AbstractSmtpEventSupportTest::_createEventDispatcher()

Class: Swift_Transport_AbstractSmtpTest

Swift_Transport_AbstractSmtpTest::testBadDataResponseCausesException()
Swift_Transport_AbstractSmtpTest::testBadGreetingCausesException()
Swift_Transport_AbstractSmtpTest::testBadResponseAfterDataTransmissionCausesException()
Swift_Transport_AbstractSmtpTest::testBccRecipientsAreRemovedFromHeaders()
Swift_Transport_AbstractSmtpTest::testBufferCanBeFetched()
Swift_Transport_AbstractSmtpTest::testBufferCanBeWrittenToUsingExecuteCommand()
Swift_Transport_AbstractSmtpTest::testCcRecipientsSendsMultipleRcpt()
Swift_Transport_AbstractSmtpTest::testDomainNameIsPlacedInHelo()
Swift_Transport_AbstractSmtpTest::testEachBccRecipientIsSentASeparateMessage()
Swift_Transport_AbstractSmtpTest::testFailedRecipientsCanBeCollectedByReference()
Swift_Transport_AbstractSmtpTest::testInvalidHeloResponseCausesException()
Swift_Transport_AbstractSmtpTest::testInvalidResponseCodeFromMailCausesException()
Swift_Transport_AbstractSmtpTest::testMailFromCommandIsOnlySentOncePerMessage()
Swift_Transport_AbstractSmtpTest::testMessageIsStreamedToBufferForData()
Swift_Transport_AbstractSmtpTest::testMessageStateIsRestoredOnFailure()
Swift_Transport_AbstractSmtpTest::testMultipleRecipientsSendsMultipleRcpt()
Swift_Transport_AbstractSmtpTest::testResponseCodesAreValidated()
Swift_Transport_AbstractSmtpTest::testReturnPathIsPreferredOverSender()
Swift_Transport_AbstractSmtpTest::testRsetIsSentIfNoSuccessfulRecipients()
Swift_Transport_AbstractSmtpTest::testSenderIsPreferredOverFrom()
Swift_Transport_AbstractSmtpTest::testSendingRegeneratesMessageId()
Swift_Transport_AbstractSmtpTest::testSendReturnsNumberOfSuccessfulRecipients()
Swift_Transport_AbstractSmtpTest::testStartAccepts220ServiceGreeting()
Swift_Transport_AbstractSmtpTest::testStartSendsHeloToInitiate()
Swift_Transport_AbstractSmtpTest::testStopSendsQuitCommand()
Swift_Transport_AbstractSmtpTest::testSuccessfulDataCommand()
Swift_Transport_AbstractSmtpTest::testSuccessfulMailCommand()
Swift_Transport_AbstractSmtpTest::testSuccessfulRcptCommandWith250Response()
Swift_Transport_AbstractSmtpTest::_createMessage()
Swift_Transport_AbstractSmtpTest::_finishBuffer()
Swift_Transport_AbstractSmtpTest::_getBuffer()
Swift_Transport_AbstractSmtpTest::_getTransport()
Abstract test method

Class: SwiftMailerTestCase

SwiftMailerTestCase::assertIdenticalBinary()
SwiftMailerTestCase::getMockery()
SwiftMailerTestCase::regExp()
SwiftMailerTestCase::tearDown()

Class Details

[line 3]
A base test case with some custom expectations.



Tags:

author:  Rouven Weßling


[ Top ]


Class Methods


method testCommandCanBeSetAndFetched [line 27]

void testCommandCanBeSetAndFetched( )



Tags:

access:  public


[ Top ]

method testFluidInterface [line 144]

void testFluidInterface( )



Tags:

access:  public


[ Top ]

method testSendingInTModeWith_oi_FlagDoesntEscapeDot [line 92]

void testSendingInTModeWith_oi_FlagDoesntEscapeDot( )



Tags:

access:  public


[ Top ]

method testSendingIn_t_ModeWith_i_FlagDoesntEscapeDot [line 65]

void testSendingIn_t_ModeWith_i_FlagDoesntEscapeDot( )



Tags:

access:  public


[ Top ]

method testSendingMessageIn_t_ModeUsesSimplePipe [line 38]

void testSendingMessageIn_t_ModeUsesSimplePipe( )



Tags:

access:  public


[ Top ]

method testSendingMessageRegeneratesId [line 119]

void testSendingMessageRegeneratesId( )



Tags:

access:  public


[ Top ]

method _getSendmail [line 17]

void _getSendmail( $buf, [ $dispatcher = null])



Tags:

access:  protected


Parameters:

   $buf  
   $dispatcher  

[ Top ]

method _getTransport [line 6]

void _getTransport( $buf, [ $dispatcher = null], [ $command = '/usr/sbin/sendmail -bs'])



Tags:

access:  protected


Overrides Swift_Transport_AbstractSmtpTest::_getTransport() (Abstract test method)

Parameters:

   $buf  
   $dispatcher  
   $command  

[ Top ]


Documentation generated on Sun, 02 Oct 2016 07:54:19 +0000 by phpDocumentor 1.4.3