PHP 클래스 Jyxo\Mail\SenderTest

또한 보기: Jyxo\Mail\Sender
저자: Jaroslav Hanslík
상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: jyxo/php

공개 메소드들

메소드 설명
testAllTypes ( ) Tests all email types (with attachments, without, .
testCompleteEmail ( ) Tests a complete email message with all settings.
testSendErrors ( ) Tests possible sending errors.
testSendMail ( ) Tests sending using the mail() function.
testSendSmtp ( ) Tests sending using a SMTP server.
testUndisclosedRecipients ( ) Tests creating an email with only Bcc recipients.

보호된 메소드들

메소드 설명
setUp ( ) Prepares the testing environment.

비공개 메소드들

메소드 설명
assertResult ( string $file, Result $result ) Compares the actual and expected result.
getEmail ( ) : Email Creates a basic email.

메소드 상세

setUp() 보호된 메소드

Prepares the testing environment.
protected setUp ( )

testAllTypes() 공개 메소드

..).
public testAllTypes ( )

testCompleteEmail() 공개 메소드

Tests a complete email message with all settings.
public testCompleteEmail ( )

testSendErrors() 공개 메소드

Tests possible sending errors.
public testSendErrors ( )

testSendMail() 공개 메소드

Tests sending using the mail() function.
public testSendMail ( )

testSendSmtp() 공개 메소드

Tests sending using a SMTP server.
public testSendSmtp ( )

testUndisclosedRecipients() 공개 메소드

Tests creating an email with only Bcc recipients.