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

Class: Swift_Mime_SimpleMessageTest

Source Location: /system/vendor/swiftmailer/swiftmailer/tests/unit/Swift/Mime/SimpleMessageTest.php

Class Overview

PHPUnit_Framework_TestCase
   |
   --SwiftMailerTestCase
      |
      --Swift_Mime_AbstractMimeEntityTest
         |
         --Swift_Mime_MimePartTest
            |
            --Swift_Mime_SimpleMessageTest

A base test case with some custom expectations.


Author(s):

  • Rouven Weßling

Methods


Inherited Methods

Class: Swift_Mime_MimePartTest

Swift_Mime_MimePartTest::testCharsetChangeUpdatesCharset()
Swift_Mime_MimePartTest::testCharsetIsReturnedFromHeader()
Swift_Mime_MimePartTest::testCharsetIsSetInHeader()
Swift_Mime_MimePartTest::testCharsetIsSetInHeaderIfPassedToSetBody()
Swift_Mime_MimePartTest::testDelSpIsReturnedFromHeader()
Swift_Mime_MimePartTest::testDelSpIsSetInHeader()
Swift_Mime_MimePartTest::testFluidInterface()
Swift_Mime_MimePartTest::testFormatIsReturnedFromHeader()
Swift_Mime_MimePartTest::testFormatIsSetInHeader()
Swift_Mime_MimePartTest::testNestingLevelIsSubpart()
Swift_Mime_MimePartTest::testSettingCharsetClearsCache()
Swift_Mime_MimePartTest::testSettingCharsetNotifiesChildren()
Swift_Mime_MimePartTest::testSettingCharsetNotifiesEncoder()
Swift_Mime_MimePartTest::testSettingCharsetNotifiesHeaders()
Swift_Mime_MimePartTest::_createEntity()
Swift_Mime_MimePartTest::_createMimePart()

Class: Swift_Mime_AbstractMimeEntityTest

Swift_Mime_AbstractMimeEntityTest::testAddingChildrenGeneratesBoundaryInHeaders()
Swift_Mime_AbstractMimeEntityTest::testBodyIsAddedToCacheWhenUsingToByteStream()
Swift_Mime_AbstractMimeEntityTest::testBodyIsAddedToCacheWhenUsingToString()
Swift_Mime_AbstractMimeEntityTest::testBodyIsAppended()
Swift_Mime_AbstractMimeEntityTest::testBodyIsClearedFromCacheIfNewBodySet()
Swift_Mime_AbstractMimeEntityTest::testBodyIsClearedFromCacheIfNewEncoderSet()
Swift_Mime_AbstractMimeEntityTest::testBodyIsNotClearedFromCacheIfSameBodySet()
Swift_Mime_AbstractMimeEntityTest::testBodyIsReadFromCacheWhenUsingToByteStreamIfPresent()
Swift_Mime_AbstractMimeEntityTest::testBodyIsReadFromCacheWhenUsingToStringIfPresent()
Swift_Mime_AbstractMimeEntityTest::testBoundaryCanBeRetrieved()
Swift_Mime_AbstractMimeEntityTest::testBoundaryCanBeSet()
Swift_Mime_AbstractMimeEntityTest::testBoundaryNeverChanges()
Swift_Mime_AbstractMimeEntityTest::testByteStreamBodyIsAppended()
Swift_Mime_AbstractMimeEntityTest::testChildrenAppearNestedInString()
Swift_Mime_AbstractMimeEntityTest::testChildrenOfLevelAlternativeAndLessCauseMultipartAlternative()
Swift_Mime_AbstractMimeEntityTest::testChildrenOfLevelAttachmentAndLessCauseMultipartMixed()
Swift_Mime_AbstractMimeEntityTest::testChildrenOfLevelRelatedAndLessCauseMultipartRelated()
Swift_Mime_AbstractMimeEntityTest::testContentTypeCanBeSetViaSetBody()
Swift_Mime_AbstractMimeEntityTest::testContentTypeHeaderIsAddedIfNoneSet()
Swift_Mime_AbstractMimeEntityTest::testContentTypeIsReturnedFromHeader()
Swift_Mime_AbstractMimeEntityTest::testContentTypeIsSetInHeader()
Swift_Mime_AbstractMimeEntityTest::testDescriptionHeaderIsAddedIfNotPresent()
Swift_Mime_AbstractMimeEntityTest::testDescriptionIsReadFromHeader()
Swift_Mime_AbstractMimeEntityTest::testDescriptionIsSetInHeader()
Swift_Mime_AbstractMimeEntityTest::testEncoderIsUsedForStringGeneration()
Swift_Mime_AbstractMimeEntityTest::testEntityHeadersAreComittedToByteStream()
Swift_Mime_AbstractMimeEntityTest::testEntityIsWrittenToByteStream()
Swift_Mime_AbstractMimeEntityTest::testFluidInterface()
Swift_Mime_AbstractMimeEntityTest::testGenerateIdCreatesNewId()
Swift_Mime_AbstractMimeEntityTest::testGenerateIdSetsNewId()
Swift_Mime_AbstractMimeEntityTest::testGetBodyReturnsStringFromByteStream()
Swift_Mime_AbstractMimeEntityTest::testGetEncoderFromConstructor()
Swift_Mime_AbstractMimeEntityTest::testGetHeadersReturnsHeaderSet()
Swift_Mime_AbstractMimeEntityTest::testHeadersAppearInString()
Swift_Mime_AbstractMimeEntityTest::testHighestLevelChildDeterminesContentType()
Swift_Mime_AbstractMimeEntityTest::testIdIsAutoGenerated()
Swift_Mime_AbstractMimeEntityTest::testIdIsReturnedFromHeader()
Swift_Mime_AbstractMimeEntityTest::testIdIsSetInHeader()
Swift_Mime_AbstractMimeEntityTest::testMaxLineLengthIsProvidedWhenEncoding()
Swift_Mime_AbstractMimeEntityTest::testMixingLevelsIsHierarchical()
Swift_Mime_AbstractMimeEntityTest::testOrderingTextBeforeHtml()
Swift_Mime_AbstractMimeEntityTest::testReceiptOfCharsetChangeNotifiesChildren()
Swift_Mime_AbstractMimeEntityTest::testReceiptOfEncoderChangeNotifiesChildren()
Swift_Mime_AbstractMimeEntityTest::testSetAndGetBody()
Swift_Mime_AbstractMimeEntityTest::testSetAndGetEncoder()
Swift_Mime_AbstractMimeEntityTest::testSetAndGetMaxLineLength()
Swift_Mime_AbstractMimeEntityTest::testSettingEncoderAddsEncodingHeaderIfNonePresent()
Swift_Mime_AbstractMimeEntityTest::testSettingEncoderNotifiesChildren()
Swift_Mime_AbstractMimeEntityTest::testSettingEncoderUpdatesTransferEncoding()
Swift_Mime_AbstractMimeEntityTest::testUnsettingChildrenRestoresContentType()
Swift_Mime_AbstractMimeEntityTest::_createCache()
Swift_Mime_AbstractMimeEntityTest::_createChild()
Swift_Mime_AbstractMimeEntityTest::_createEncoder()
Swift_Mime_AbstractMimeEntityTest::_createEntity()
Swift_Mime_AbstractMimeEntityTest::_createHeader()
Swift_Mime_AbstractMimeEntityTest::_createHeaderSet()
Swift_Mime_AbstractMimeEntityTest::_createInputStream()
Swift_Mime_AbstractMimeEntityTest::_createOutputStream()

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 testBccHeaderIsAddedIfNoneSet [line 604]

void testBccHeaderIsAddedIfNoneSet( )



Tags:

access:  public


[ Top ]

method testBccIsAddedToHeadersDuringAddBcc [line 588]

void testBccIsAddedToHeadersDuringAddBcc( )



Tags:

access:  public


[ Top ]

method testBccIsReturnedFromHeader [line 559]

void testBccIsReturnedFromHeader( )



Tags:

access:  public


[ Top ]

method testBccIsSetInHeader [line 572]

void testBccIsSetInHeader( )



Tags:

access:  public


[ Top ]

method testCcHeaderIsAddedIfNoneSet [line 529]

void testCcHeaderIsAddedIfNoneSet( )



Tags:

access:  public


[ Top ]

method testCcIsAddedToHeadersDuringAddCc [line 513]

void testCcIsAddedToHeadersDuringAddCc( )



Tags:

access:  public


[ Top ]

method testCcIsReturnedFromHeader [line 484]

void testCcIsReturnedFromHeader( )



Tags:

access:  public


[ Top ]

method testCcIsSetInHeader [line 497]

void testCcIsSetInHeader( )



Tags:

access:  public


[ Top ]

method testChildrenCanBeAttached [line 716]

void testChildrenCanBeAttached( )



Tags:

access:  public


[ Top ]

method testChildrenCanBeDetached [line 731]

void testChildrenCanBeDetached( )



Tags:

access:  public


[ Top ]

method testDateHeaderIsAddedDuringConstruction [line 61]

void testDateHeaderIsAddedDuringConstruction( )



Tags:

access:  public


[ Top ]

method testDateHeaderIsCreatedIfNonePresent [line 46]

void testDateHeaderIsCreatedIfNonePresent( )



Tags:

access:  public


[ Top ]

method testDateIsReturnedFromHeader [line 20]

void testDateIsReturnedFromHeader( )



Tags:

access:  public


[ Top ]

method testDateIsSetInHeader [line 30]

void testDateIsSetInHeader( )



Tags:

access:  public


[ Top ]

method testEmbedAttachesChild [line 748]

void testEmbedAttachesChild( )



Tags:

access:  public


[ Top ]

method testEmbedReturnsValidCid [line 761]

void testEmbedReturnsValidCid( )



Tags:

access:  public


[ Top ]

method testFluidInterface [line 777]

void testFluidInterface( )



Tags:

access:  public


Overrides Swift_Mime_MimePartTest::testFluidInterface() (parent method not documented)

[ Top ]

method testFromHeaderIsAddedIfNoneSet [line 304]

void testFromHeaderIsAddedIfNoneSet( )



Tags:

access:  public


[ Top ]

method testFromIsAddedToHeadersDuringAddFrom [line 288]

void testFromIsAddedToHeadersDuringAddFrom( )



Tags:

access:  public


[ Top ]

method testFromIsReturnedFromHeader [line 259]

void testFromIsReturnedFromHeader( )



Tags:

access:  public


[ Top ]

method testFromIsSetInHeader [line 272]

void testFromIsSetInHeader( )



Tags:

access:  public


[ Top ]

method testIdIsAutoGenerated [line 106]

void testIdIsAutoGenerated( )



Tags:

access:  public


Overrides Swift_Mime_AbstractMimeEntityTest::testIdIsAutoGenerated() (parent method not documented)

[ Top ]

method testIdIsReturnedFromHeader [line 73]

void testIdIsReturnedFromHeader( )



Tags:

access:  public


Overrides Swift_Mime_AbstractMimeEntityTest::testIdIsReturnedFromHeader() (parent method not documented)

[ Top ]

method testIdIsSetInHeader [line 90]

void testIdIsSetInHeader( )



Tags:

access:  public


Overrides Swift_Mime_AbstractMimeEntityTest::testIdIsSetInHeader() (parent method not documented)

[ Top ]

method testNameCanBeUsedInBcc [line 619]

void testNameCanBeUsedInBcc( )



Tags:

access:  public


[ Top ]

method testNameCanBeUsedInCcHeader [line 544]

void testNameCanBeUsedInCcHeader( )



Tags:

access:  public


[ Top ]

method testNameCanBeUsedInReplyTo [line 394]

void testNameCanBeUsedInReplyTo( )



Tags:

access:  public


[ Top ]

method testNameCanBeUsedInSenderHeader [line 244]

void testNameCanBeUsedInSenderHeader( )



Tags:

access:  public


[ Top ]

method testNameCanBeUsedInToHeader [line 469]

void testNameCanBeUsedInToHeader( )



Tags:

access:  public


[ Top ]

method testNestingLevelIsSubpart [line 5]

void testNestingLevelIsSubpart( )



Tags:

access:  public


Overrides Swift_Mime_MimePartTest::testNestingLevelIsSubpart() (parent method not documented)

[ Top ]

method testNestingLevelIsTop [line 10]

void testNestingLevelIsTop( )



Tags:

access:  public


[ Top ]

method testPersonalNameCanBeUsedInFromAddress [line 319]

void testPersonalNameCanBeUsedInFromAddress( )



Tags:

access:  public


[ Top ]

method testPriorityHeaderIsAddedIfNoneSet [line 658]

void testPriorityHeaderIsAddedIfNoneSet( )



Tags:

access:  public


[ Top ]

method testPriorityIsReadFromHeader [line 634]

void testPriorityIsReadFromHeader( )



Tags:

access:  public


[ Top ]

method testPriorityIsSetInHeader [line 644]

void testPriorityIsSetInHeader( )



Tags:

access:  public


[ Top ]

method testReadReceiptAddressReadFromHeader [line 673]

void testReadReceiptAddressReadFromHeader( )



Tags:

access:  public


[ Top ]

method testReadReceiptHeaderIsAddedIfNoneSet [line 701]

void testReadReceiptHeaderIsAddedIfNoneSet( )



Tags:

access:  public


[ Top ]

method testReadReceiptIsSetInHeader [line 687]

void testReadReceiptIsSetInHeader( )



Tags:

access:  public


[ Top ]

method testReplyToHeaderIsAddedIfNoneSet [line 379]

void testReplyToHeaderIsAddedIfNoneSet( )



Tags:

access:  public


[ Top ]

method testReplyToIsAddedToHeadersDuringAddReplyTo [line 363]

void testReplyToIsAddedToHeadersDuringAddReplyTo( )



Tags:

access:  public


[ Top ]

method testReplyToIsReturnedFromHeader [line 334]

void testReplyToIsReturnedFromHeader( )



Tags:

access:  public


[ Top ]

method testReplyToIsSetInHeader [line 347]

void testReplyToIsSetInHeader( )



Tags:

access:  public


[ Top ]

method testReturnPathHeaderIsAddedIfNoneSet [line 187]

void testReturnPathHeaderIsAddedIfNoneSet( )



Tags:

access:  public


[ Top ]

method testReturnPathIsReturnedFromHeader [line 160]

void testReturnPathIsReturnedFromHeader( )



Tags:

access:  public


[ Top ]

method testReturnPathIsSetInHeader [line 173]

void testReturnPathIsSetInHeader( )



Tags:

access:  public


[ Top ]

method testSenderHeaderIsAddedIfNoneSet [line 229]

void testSenderHeaderIsAddedIfNoneSet( )



Tags:

access:  public


[ Top ]

method testSenderIsReturnedFromHeader [line 200]

void testSenderIsReturnedFromHeader( )



Tags:

access:  public


[ Top ]

method testSenderIsSetInHeader [line 213]

void testSenderIsSetInHeader( )



Tags:

access:  public


[ Top ]

method testSubjectHeaderIsCreatedIfNotPresent [line 145]

void testSubjectHeaderIsCreatedIfNotPresent( )



Tags:

access:  public


[ Top ]

method testSubjectIsReturnedFromHeader [line 118]

void testSubjectIsReturnedFromHeader( )



Tags:

access:  public


[ Top ]

method testSubjectIsSetInHeader [line 131]

void testSubjectIsSetInHeader( )



Tags:

access:  public


[ Top ]

method testToHeaderIsAddedIfNoneSet [line 454]

void testToHeaderIsAddedIfNoneSet( )



Tags:

access:  public


[ Top ]

method testToIsAddedToHeadersDuringAddTo [line 438]

void testToIsAddedToHeadersDuringAddTo( )



Tags:

access:  public


[ Top ]

method testToIsReturnedFromHeader [line 409]

void testToIsReturnedFromHeader( )



Tags:

access:  public


[ Top ]

method testToIsSetInHeader [line 422]

void testToIsSetInHeader( )



Tags:

access:  public


[ Top ]

method _createEntity [line 815]

void _createEntity( $headers, $encoder, $cache)



Tags:

access:  protected


Overrides Swift_Mime_MimePartTest::_createEntity() (parent method not documented)

Parameters:

   $headers  
   $encoder  
   $cache  

[ Top ]

method _createMimePart [line 820]

void _createMimePart( $headers, $encoder, $cache)



Tags:

access:  protected


Overrides Swift_Mime_MimePartTest::_createMimePart() (parent method not documented)

Parameters:

   $headers  
   $encoder  
   $cache  

[ Top ]


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