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

Class: Swift_Mime_EmbeddedFileTest

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

Class Overview

PHPUnit_Framework_TestCase
   |
   --SwiftMailerTestCase
      |
      --Swift_Mime_AbstractMimeEntityTest
         |
         --Swift_Mime_AttachmentTest
            |
            --Swift_Mime_EmbeddedFileTest

A base test case with some custom expectations.


Author(s):

  • Rouven Weßling

Methods


Inherited Methods

Class: Swift_Mime_AttachmentTest

Swift_Mime_AttachmentTest::testContentTypeCanBeSetViaSetFile()
Swift_Mime_AttachmentTest::testDataCanBeReadFromFile()
Swift_Mime_AttachmentTest::testDefaultContentTypeInitializedToOctetStream()
Swift_Mime_AttachmentTest::testDispositionIsAddedIfNonePresent()
Swift_Mime_AttachmentTest::testDispositionIsAutoDefaultedToAttachment()
Swift_Mime_AttachmentTest::testDispositionIsReturnedFromHeader()
Swift_Mime_AttachmentTest::testDispositionIsSetInHeader()
Swift_Mime_AttachmentTest::testFilenameIsReturnedFromHeader()
Swift_Mime_AttachmentTest::testFilenameIsSetInHeader()
Swift_Mime_AttachmentTest::testFilnameCanBeReadFromFileStream()
Swift_Mime_AttachmentTest::testFluidInterface()
Swift_Mime_AttachmentTest::testNestingLevelIsAttachment()
Swift_Mime_AttachmentTest::testSettingFilenameSetsNameInContentType()
Swift_Mime_AttachmentTest::testSizeIsReturnedFromHeader()
Swift_Mime_AttachmentTest::testSizeIsSetInHeader()
Swift_Mime_AttachmentTest::XtestContentTypeCanBeLookedUpFromCommonListIfNotProvided()
Swift_Mime_AttachmentTest::_createAttachment()
Swift_Mime_AttachmentTest::_createEntity()
Swift_Mime_AttachmentTest::_createFileStream()

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 testDefaultDispositionIsInline [line 32]

void testDefaultDispositionIsInline( )



Tags:

access:  public


[ Top ]

method testIdIsAutoGenerated [line 20]

void testIdIsAutoGenerated( )



Tags:

access:  public


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

[ Top ]

method testNestingLevelIsAttachment [line 5]

void testNestingLevelIsAttachment( )



Tags:

access:  public


Overrides Swift_Mime_AttachmentTest::testNestingLevelIsAttachment() (parent method not documented)

[ Top ]

method testNestingLevelIsEmbedded [line 10]

void testNestingLevelIsEmbedded( )



Tags:

access:  public


[ Top ]

method _createAttachment [line 48]

void _createAttachment( $headers, $encoder, $cache, [ $mimeTypes = array()])



Tags:

access:  protected


Overrides Swift_Mime_AttachmentTest::_createAttachment() (parent method not documented)

Parameters:

   $headers  
   $encoder  
   $cache  
   $mimeTypes  

[ Top ]


Documentation generated on Sun, 02 Oct 2016 07:48:12 +0000 by phpDocumentor 1.4.3