C# 클래스 UnitTest.IMAPSimulator

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

공개 메소드들

메소드 설명
AssertMessageCount ( string accountName, string accountPassword, string folderName, int expectedCount ) : void
AssertPendingDataExists ( ) : bool

Waits for data a total of 8 seconds.

CheckFolder ( string sFolder ) : bool
Close ( ) : bool
Connect ( ) : string
ConnectAndLogon ( string username, string password ) : bool
ConnectAndLogon ( string sUsername, string sPassword, string &errorMessage ) : bool
Copy ( int messageIndex, string destinationFolder ) : bool
CreateFolder ( string sFolder ) : bool
DeleteACL ( string sFolder, string identifier ) : bool
DeleteFolder ( string sFolder ) : bool
Disconnect ( ) : void
EndIdle ( bool force, string &output ) : bool
ExamineFolder ( string sFolder ) : string
Expunge ( ) : bool
Expunge ( string &result ) : bool
Fetch ( string sParameters ) : string
GetACL ( string sFolder ) : string
GetCapabilities ( ) : string
GetFlags ( int messageIndex ) : string
GetMessageCount ( string sFolder ) : int
GetMyRights ( string sFolder ) : string
GetPendingDataExists ( ) : bool
GetQuota ( string folderName ) : string
GetWelcomeMessage ( ) : string
IMAPSimulator ( ) : System
IMAPSimulator ( bool useSSL, int port ) : System
IMAPSimulator ( string username, string password, string mailbox ) : System
LSUB ( ) : string
LSUB ( string wildcard ) : string
LSUB ( string reference, string wildcard ) : string
List ( ) : string
List ( string wildcard ) : string
List ( string wildcard, bool unescapeResponse ) : string
List ( string reference, string wildcard, bool unescapeResponse ) : string
ListRights ( string sFolder, string identifier ) : string
Logon ( string sUsername, string sPassword ) : bool
Logon ( string sUsername, string sPassword, string &errorMessage ) : bool
LogonWithLiteral ( string sUsername, string sPassword ) : void
Logout ( ) : bool
NOOP ( ) : string
Receive ( ) : string
ReceiveUntil ( string characters ) : string
RenameFolder ( string from, string to ) : bool
RenameFolder ( string from, string to, string &result ) : bool
Search ( string sSearchString ) : string
SelectFolder ( string sFolder ) : bool
SelectFolder ( string folderName, string &text ) : bool
SelectFolderWithoutLiteral ( string sFolder ) : bool
Send ( string s ) : string
SendRaw ( string s ) : void
SendSingleCommand ( string command ) : string
SendSingleCommandWithLiteral ( string command, string literalData ) : string
SetACL ( string sFolder, string identifier, string access ) : bool
SetDeletedFlag ( int messageIndex ) : bool
SetFlagOnFirstMessage ( bool bSet, string sFlag ) : void
SetFlagOnMessage ( int index, bool bSet, string sFlag ) : bool
SetSeenFlag ( int messageIndex ) : bool
Sort ( string sSearchString ) : string
StartIdle ( ) : bool
Status ( string folderName, string dataItem ) : string
Subscribe ( string sFolder ) : bool
TestConnect ( int iPort ) : bool
Unsubscribe ( string sFolder ) : bool

비공개 메소드들

메소드 설명
AssertFolderExists ( string folderName ) : void

메소드 상세

AssertMessageCount() 공개 정적인 메소드

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

AssertPendingDataExists() 공개 메소드

Waits for data a total of 8 seconds.
public AssertPendingDataExists ( ) : bool
리턴 bool

CheckFolder() 공개 메소드

public CheckFolder ( string sFolder ) : bool
sFolder string
리턴 bool

Close() 공개 메소드

public Close ( ) : bool
리턴 bool

Connect() 공개 메소드

public Connect ( ) : string
리턴 string

ConnectAndLogon() 공개 메소드

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

ConnectAndLogon() 공개 메소드

public ConnectAndLogon ( string sUsername, string sPassword, string &errorMessage ) : bool
sUsername string
sPassword string
errorMessage string
리턴 bool

Copy() 공개 메소드

public Copy ( int messageIndex, string destinationFolder ) : bool
messageIndex int
destinationFolder string
리턴 bool

CreateFolder() 공개 메소드

public CreateFolder ( string sFolder ) : bool
sFolder string
리턴 bool

DeleteACL() 공개 메소드

public DeleteACL ( string sFolder, string identifier ) : bool
sFolder string
identifier string
리턴 bool

DeleteFolder() 공개 메소드

public DeleteFolder ( string sFolder ) : bool
sFolder string
리턴 bool

Disconnect() 공개 메소드

public Disconnect ( ) : void
리턴 void

EndIdle() 공개 메소드

public EndIdle ( bool force, string &output ) : bool
force bool
output string
리턴 bool

ExamineFolder() 공개 메소드

public ExamineFolder ( string sFolder ) : string
sFolder string
리턴 string

Expunge() 공개 메소드

public Expunge ( ) : bool
리턴 bool

Expunge() 공개 메소드

public Expunge ( string &result ) : bool
result string
리턴 bool

Fetch() 공개 메소드

public Fetch ( string sParameters ) : string
sParameters string
리턴 string

GetACL() 공개 메소드

public GetACL ( string sFolder ) : string
sFolder string
리턴 string

GetCapabilities() 공개 메소드

public GetCapabilities ( ) : string
리턴 string

GetFlags() 공개 메소드

public GetFlags ( int messageIndex ) : string
messageIndex int
리턴 string

GetMessageCount() 공개 메소드

public GetMessageCount ( string sFolder ) : int
sFolder string
리턴 int

GetMyRights() 공개 메소드

public GetMyRights ( string sFolder ) : string
sFolder string
리턴 string

GetPendingDataExists() 공개 메소드

public GetPendingDataExists ( ) : bool
리턴 bool

GetQuota() 공개 메소드

public GetQuota ( string folderName ) : string
folderName string
리턴 string

GetWelcomeMessage() 공개 메소드

public GetWelcomeMessage ( ) : string
리턴 string

IMAPSimulator() 공개 메소드

public IMAPSimulator ( ) : System
리턴 System

IMAPSimulator() 공개 메소드

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

IMAPSimulator() 공개 메소드

public IMAPSimulator ( string username, string password, string mailbox ) : System
username string
password string
mailbox string
리턴 System

LSUB() 공개 메소드

public LSUB ( ) : string
리턴 string

LSUB() 공개 메소드

public LSUB ( string wildcard ) : string
wildcard string
리턴 string

LSUB() 공개 메소드

public LSUB ( string reference, string wildcard ) : string
reference string
wildcard string
리턴 string

List() 공개 메소드

public List ( ) : string
리턴 string

List() 공개 메소드

public List ( string wildcard ) : string
wildcard string
리턴 string

List() 공개 메소드

public List ( string wildcard, bool unescapeResponse ) : string
wildcard string
unescapeResponse bool
리턴 string

List() 공개 메소드

public List ( string reference, string wildcard, bool unescapeResponse ) : string
reference string
wildcard string
unescapeResponse bool
리턴 string

ListRights() 공개 메소드

public ListRights ( string sFolder, string identifier ) : string
sFolder string
identifier string
리턴 string

Logon() 공개 메소드

public Logon ( string sUsername, string sPassword ) : bool
sUsername string
sPassword string
리턴 bool

Logon() 공개 메소드

public Logon ( string sUsername, string sPassword, string &errorMessage ) : bool
sUsername string
sPassword string
errorMessage string
리턴 bool

LogonWithLiteral() 공개 메소드

public LogonWithLiteral ( string sUsername, string sPassword ) : void
sUsername string
sPassword string
리턴 void

Logout() 공개 메소드

public Logout ( ) : bool
리턴 bool

NOOP() 공개 메소드

public NOOP ( ) : string
리턴 string

Receive() 공개 메소드

public Receive ( ) : string
리턴 string

ReceiveUntil() 공개 메소드

public ReceiveUntil ( string characters ) : string
characters string
리턴 string

RenameFolder() 공개 메소드

public RenameFolder ( string from, string to ) : bool
from string
to string
리턴 bool

RenameFolder() 공개 메소드

public RenameFolder ( string from, string to, string &result ) : bool
from string
to string
result string
리턴 bool

Search() 공개 메소드

public Search ( string sSearchString ) : string
sSearchString string
리턴 string

SelectFolder() 공개 메소드

public SelectFolder ( string sFolder ) : bool
sFolder string
리턴 bool

SelectFolder() 공개 메소드

public SelectFolder ( string folderName, string &text ) : bool
folderName string
text string
리턴 bool

SelectFolderWithoutLiteral() 공개 메소드

public SelectFolderWithoutLiteral ( string sFolder ) : bool
sFolder string
리턴 bool

Send() 공개 메소드

public Send ( string s ) : string
s string
리턴 string

SendRaw() 공개 메소드

public SendRaw ( string s ) : void
s string
리턴 void

SendSingleCommand() 공개 메소드

public SendSingleCommand ( string command ) : string
command string
리턴 string

SendSingleCommandWithLiteral() 공개 메소드

public SendSingleCommandWithLiteral ( string command, string literalData ) : string
command string
literalData string
리턴 string

SetACL() 공개 메소드

public SetACL ( string sFolder, string identifier, string access ) : bool
sFolder string
identifier string
access string
리턴 bool

SetDeletedFlag() 공개 메소드

public SetDeletedFlag ( int messageIndex ) : bool
messageIndex int
리턴 bool

SetFlagOnFirstMessage() 공개 메소드

public SetFlagOnFirstMessage ( bool bSet, string sFlag ) : void
bSet bool
sFlag string
리턴 void

SetFlagOnMessage() 공개 메소드

public SetFlagOnMessage ( int index, bool bSet, string sFlag ) : bool
index int
bSet bool
sFlag string
리턴 bool

SetSeenFlag() 공개 메소드

public SetSeenFlag ( int messageIndex ) : bool
messageIndex int
리턴 bool

Sort() 공개 메소드

public Sort ( string sSearchString ) : string
sSearchString string
리턴 string

StartIdle() 공개 메소드

public StartIdle ( ) : bool
리턴 bool

Status() 공개 메소드

public Status ( string folderName, string dataItem ) : string
folderName string
dataItem string
리턴 string

Subscribe() 공개 메소드

public Subscribe ( string sFolder ) : bool
sFolder string
리턴 bool

TestConnect() 공개 메소드

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

Unsubscribe() 공개 메소드

public Unsubscribe ( string sFolder ) : bool
sFolder string
리턴 bool