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

Class: Swift_Mime_AbstractMimeEntityTest

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

Class Overview

PHPUnit_Framework_TestCase
   |
   --SwiftMailerTestCase
      |
      --Swift_Mime_AbstractMimeEntityTest

A base test case with some custom expectations.


Author(s):

  • Rouven Weßling

Methods


Child classes:

Swift_Mime_AttachmentTest
A base test case with some custom expectations.
Swift_Mime_MimePartTest
A base test case with some custom expectations.
Swift_Mime_SimpleMimeEntityTest
A base test case with some custom expectations.

Inherited Methods


Class Details

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



Tags:

author:  Rouven Weßling
abstract:  


[ Top ]


Class Methods


method testAddingChildrenGeneratesBoundaryInHeaders [line 396]

void testAddingChildrenGeneratesBoundaryInHeaders( )



Tags:

access:  public


[ Top ]

method testBodyIsAddedToCacheWhenUsingToByteStream [line 912]

void testBodyIsAddedToCacheWhenUsingToByteStream( )



Tags:

access:  public


[ Top ]

method testBodyIsAddedToCacheWhenUsingToString [line 799]

void testBodyIsAddedToCacheWhenUsingToString( )



Tags:

access:  public


[ Top ]

method testBodyIsAppended [line 306]

void testBodyIsAppended( )



Tags:

access:  public


[ Top ]

method testBodyIsClearedFromCacheIfNewBodySet [line 823]

void testBodyIsClearedFromCacheIfNewBodySet( )



Tags:

access:  public


[ Top ]

method testBodyIsClearedFromCacheIfNewEncoderSet [line 868]

void testBodyIsClearedFromCacheIfNewEncoderSet( )



Tags:

access:  public


[ Top ]

method testBodyIsNotClearedFromCacheIfSameBodySet [line 846]

void testBodyIsNotClearedFromCacheIfSameBodySet( )



Tags:

access:  public


[ Top ]

method testBodyIsReadFromCacheWhenUsingToByteStreamIfPresent [line 892]

void testBodyIsReadFromCacheWhenUsingToByteStreamIfPresent( )



Tags:

access:  public


[ Top ]

method testBodyIsReadFromCacheWhenUsingToStringIfPresent [line 769]

void testBodyIsReadFromCacheWhenUsingToStringIfPresent( )



Tags:

access:  public


[ Top ]

method testBoundaryCanBeRetrieved [line 355]

void testBoundaryCanBeRetrieved( )



Tags:

access:  public


[ Top ]

method testBoundaryCanBeSet [line 387]

void testBoundaryCanBeSet( )



Tags:

access:  public


[ Top ]

method testBoundaryNeverChanges [line 376]

void testBoundaryNeverChanges( )



Tags:

access:  public


[ Top ]

method testByteStreamBodyIsAppended [line 335]

void testByteStreamBodyIsAppended( )



Tags:

access:  public


[ Top ]

method testChildrenAppearNestedInString [line 532]

void testChildrenAppearNestedInString( )



Tags:

access:  public


[ Top ]

method testChildrenOfLevelAlternativeAndLessCauseMultipartAlternative [line 436]

void testChildrenOfLevelAlternativeAndLessCauseMultipartAlternative( )



Tags:

access:  public


[ Top ]

method testChildrenOfLevelAttachmentAndLessCauseMultipartMixed [line 414]

void testChildrenOfLevelAttachmentAndLessCauseMultipartMixed( )



Tags:

access:  public


[ Top ]

method testChildrenOfLevelRelatedAndLessCauseMultipartRelated [line 458]

void testChildrenOfLevelRelatedAndLessCauseMultipartRelated( )



Tags:

access:  public


[ Top ]

method testContentTypeCanBeSetViaSetBody [line 59]

void testContentTypeCanBeSetViaSetBody( )



Tags:

access:  public


[ Top ]

method testContentTypeHeaderIsAddedIfNoneSet [line 44]

void testContentTypeHeaderIsAddedIfNoneSet( )



Tags:

access:  public


[ Top ]

method testContentTypeIsReturnedFromHeader [line 16]

void testContentTypeIsReturnedFromHeader( )



Tags:

access:  public


[ Top ]

method testContentTypeIsSetInHeader [line 26]

void testContentTypeIsSetInHeader( )



Tags:

access:  public


[ Top ]

method testDescriptionHeaderIsAddedIfNotPresent [line 224]

void testDescriptionHeaderIsAddedIfNotPresent( )



Tags:

access:  public


[ Top ]

method testDescriptionIsReadFromHeader [line 193]

void testDescriptionIsReadFromHeader( )



Tags:

access:  public


[ Top ]

method testDescriptionIsSetInHeader [line 211]

void testDescriptionIsSetInHeader( )



Tags:

access:  public


[ Top ]

method testEncoderIsUsedForStringGeneration [line 248]

void testEncoderIsUsedForStringGeneration( )



Tags:

access:  public


[ Top ]

method testEntityHeadersAreComittedToByteStream [line 689]

void testEntityHeadersAreComittedToByteStream( )



Tags:

access:  public


[ Top ]

method testEntityIsWrittenToByteStream [line 677]

void testEntityIsWrittenToByteStream( )



Tags:

access:  public


[ Top ]

method testFluidInterface [line 932]


method testGenerateIdCreatesNewId [line 172]

void testGenerateIdCreatesNewId( )



Tags:

access:  public


[ Top ]

method testGenerateIdSetsNewId [line 183]

void testGenerateIdSetsNewId( )



Tags:

access:  public


[ Top ]

method testGetBodyReturnsStringFromByteStream [line 325]

void testGetBodyReturnsStringFromByteStream( )



Tags:

access:  public


[ Top ]

method testGetEncoderFromConstructor [line 74]

void testGetEncoderFromConstructor( )



Tags:

access:  public


[ Top ]

method testGetHeadersReturnsHeaderSet [line 7]

void testGetHeadersReturnsHeaderSet( )



Tags:

access:  public


[ Top ]

method testHeadersAppearInString [line 277]

void testHeadersAppearInString( )



Tags:

access:  public


[ Top ]

method testHighestLevelChildDeterminesContentType [line 480]

void testHighestLevelChildDeterminesContentType( )



Tags:

access:  public


[ Top ]

method testIdIsAutoGenerated [line 164]

void testIdIsAutoGenerated( )



Tags:

access:  public


Overridden in child classes as:

Swift_Mime_EmbeddedFileTest::testIdIsAutoGenerated()
Swift_Mime_SimpleMessageTest::testIdIsAutoGenerated()

[ Top ]

method testIdIsReturnedFromHeader [line 130]

void testIdIsReturnedFromHeader( )



Tags:

access:  public


Overridden in child classes as:

Swift_Mime_SimpleMessageTest::testIdIsReturnedFromHeader()

[ Top ]

method testIdIsSetInHeader [line 147]

void testIdIsSetInHeader( )



Tags:

access:  public


Overridden in child classes as:

Swift_Mime_SimpleMessageTest::testIdIsSetInHeader()

[ Top ]

method testMaxLineLengthIsProvidedWhenEncoding [line 262]

void testMaxLineLengthIsProvidedWhenEncoding( )



Tags:

access:  public


[ Top ]

method testMixingLevelsIsHierarchical [line 578]

void testMixingLevelsIsHierarchical( )



Tags:

access:  public


[ Top ]

method testOrderingTextBeforeHtml [line 703]

void testOrderingTextBeforeHtml( )



Tags:

access:  public


[ Top ]

method testReceiptOfCharsetChangeNotifiesChildren [line 663]

void testReceiptOfCharsetChangeNotifiesChildren( )



Tags:

access:  public


[ Top ]

method testReceiptOfEncoderChangeNotifiesChildren [line 647]

void testReceiptOfEncoderChangeNotifiesChildren( )



Tags:

access:  public


[ Top ]

method testSetAndGetBody [line 297]

void testSetAndGetBody( )



Tags:

access:  public


[ Top ]

method testSetAndGetEncoder [line 83]

void testSetAndGetEncoder( )



Tags:

access:  public


[ Top ]

method testSetAndGetMaxLineLength [line 239]

void testSetAndGetMaxLineLength( )



Tags:

access:  public


[ Top ]

method testSettingEncoderAddsEncodingHeaderIfNonePresent [line 115]

void testSettingEncoderAddsEncodingHeaderIfNonePresent( )



Tags:

access:  public


[ Top ]

method testSettingEncoderNotifiesChildren [line 631]

void testSettingEncoderNotifiesChildren( )



Tags:

access:  public


[ Top ]

method testSettingEncoderUpdatesTransferEncoding [line 94]

void testSettingEncoderUpdatesTransferEncoding( )



Tags:

access:  public


[ Top ]

method testUnsettingChildrenRestoresContentType [line 743]

void testUnsettingChildrenRestoresContentType( )



Tags:

access:  public


[ Top ]

method _createCache [line 987]

void _createCache( [ $stub = true])



Tags:

access:  protected


Parameters:

   $stub  

[ Top ]

method _createChild [line 955]

void _createChild( [ $level = null], [ $string = ''], [ $stub = true])



Tags:

access:  protected


Parameters:

   $level  
   $string  
   $stub  

[ Top ]

method _createEncoder [line 970]

void _createEncoder( [ $name = 'quoted-printable'], [ $stub = true])



Tags:

access:  protected


Parameters:

   $name  
   $stub  

[ Top ]

method _createEntity [line 953]

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



Tags:

abstract:  
access:  protected


Overridden in child classes as:

Swift_Mime_AttachmentTest::_createEntity()
Swift_Mime_MimePartTest::_createEntity()
Swift_Mime_SimpleMessageTest::_createEntity()
Swift_Mime_SimpleMimeEntityTest::_createEntity()

Parameters:

   $headers  
   $encoder  
   $cache  

[ Top ]

method _createHeader [line 1009]

void _createHeader( $name, [ $model = null], [ $params = array()], [ $stub = true])



Tags:

access:  protected


Parameters:

   $name  
   $model  
   $params  
   $stub  

[ Top ]

method _createHeaderSet [line 992]

void _createHeaderSet( [ $headers = array()], [ $stub = true])



Tags:

access:  protected


Parameters:

   $headers  
   $stub  

[ Top ]

method _createInputStream [line 1050]

void _createInputStream( [ $stub = true])



Tags:

access:  protected


Parameters:

   $stub  

[ Top ]

method _createOutputStream [line 1027]

void _createOutputStream( [ $data = null], [ $stub = true])



Tags:

access:  protected


Parameters:

   $data  
   $stub  

[ Top ]


Documentation generated on Sun, 02 Oct 2016 07:43:08 +0000 by phpDocumentor 1.4.3