C# 클래스 UnitTest.POP3Simulator

Summary description for POP3Simulator.
파일 보기 프로젝트 열기: nberardi/hMailServer 1 사용 예제들

공개 메소드들

메소드 설명
AssertGetFirstMessageText ( string accountName, string accountPassword ) : string
AssertMessageCount ( string accountName, string accountPassword, int expectedCount ) : void
Connect ( int iPort ) : bool
ConnectAndLogon ( string username, string password ) : bool
ConnectAndLogon ( string username, string password, string &errorMessage ) : bool
DELE ( int index ) : bool
Disconnect ( ) : void
GetFirstMessageText ( string sUsername, string sPassword ) : string
GetMessageCount ( string sUsername, string sPassword ) : int
GetWelcomeMessage ( ) : string
LIST ( ) : string
LIST ( int index ) : string
POP3Simulator ( ) : System
POP3Simulator ( IPAddress ipaddress, bool useSSL, int port ) : System
POP3Simulator ( bool useSSL, int port ) : System
QUIT ( ) : void
RETR ( int index ) : string
TOP ( int index, int rows ) : string
TestConnect ( int iPort ) : bool
UIDL ( ) : string
UIDL ( int index ) : string

메소드 상세

AssertGetFirstMessageText() 공개 정적인 메소드

public static AssertGetFirstMessageText ( string accountName, string accountPassword ) : string
accountName string
accountPassword string
리턴 string

AssertMessageCount() 공개 정적인 메소드

public static AssertMessageCount ( string accountName, string accountPassword, int expectedCount ) : void
accountName string
accountPassword string
expectedCount int
리턴 void

Connect() 공개 메소드

public Connect ( int iPort ) : bool
iPort int
리턴 bool

ConnectAndLogon() 공개 메소드

public ConnectAndLogon ( string username, string password ) : bool
username string
password string
리턴 bool

ConnectAndLogon() 공개 메소드

public ConnectAndLogon ( string username, string password, string &errorMessage ) : bool
username string
password string
errorMessage string
리턴 bool

DELE() 공개 메소드

public DELE ( int index ) : bool
index int
리턴 bool

Disconnect() 공개 메소드

public Disconnect ( ) : void
리턴 void

GetFirstMessageText() 공개 메소드

public GetFirstMessageText ( string sUsername, string sPassword ) : string
sUsername string
sPassword string
리턴 string

GetMessageCount() 공개 메소드

public GetMessageCount ( string sUsername, string sPassword ) : int
sUsername string
sPassword string
리턴 int

GetWelcomeMessage() 공개 메소드

public GetWelcomeMessage ( ) : string
리턴 string

LIST() 공개 메소드

public LIST ( ) : string
리턴 string

LIST() 공개 메소드

public LIST ( int index ) : string
index int
리턴 string

POP3Simulator() 공개 메소드

public POP3Simulator ( ) : System
리턴 System

POP3Simulator() 공개 메소드

public POP3Simulator ( IPAddress ipaddress, bool useSSL, int port ) : System
ipaddress System.Net.IPAddress
useSSL bool
port int
리턴 System

POP3Simulator() 공개 메소드

public POP3Simulator ( bool useSSL, int port ) : System
useSSL bool
port int
리턴 System

QUIT() 공개 메소드

public QUIT ( ) : void
리턴 void

RETR() 공개 메소드

public RETR ( int index ) : string
index int
리턴 string

TOP() 공개 메소드

public TOP ( int index, int rows ) : string
index int
rows int
리턴 string

TestConnect() 공개 메소드

public TestConnect ( int iPort ) : bool
iPort int
리턴 bool

UIDL() 공개 메소드

public UIDL ( ) : string
리턴 string

UIDL() 공개 메소드

public UIDL ( int index ) : string
index int
리턴 string