public interface ITTestCaseManager
| Modifier and Type | Interface and Description |
|---|---|
static class |
ITTestCaseManager.MessageSourceType |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteAllTestCases()
Delete all the test cases available
|
javax.mail.internet.MimeMessage |
getMessage(InputStream messageStream)
Get the MimeMessage of the message
|
javax.mail.internet.MimeMessage |
getMessage(InputStream messageStream,
Properties props)
Get the MimeMessage of the message
|
int |
installTestCase(InputStream is,
int profileId)
Install a given test case against the provided Profile ID
|
int |
installTestCase(InputStream is,
int profileId,
String description)
Install a given test case against the provided Profile ID with description
|
List<ProcessingResultBean> |
runMessage(ITTestCaseManager.MessageSourceType messageSourceType,
InputStream messageAsStr,
int profileId)
Handle the given message with the related profile, no TestCase needs to be created
|
List<ProcessingResultBean> |
runMessage(ITTestCaseManager.MessageSourceType messageSourceType,
InputStream messageStream,
int profileId,
Properties props)
Handle the given message with the related profile, no TestCase needs to be created
|
List<ProcessingResultBean> |
runTestCase(int testCaseId,
int profileId)
Run a specific test case against a specific Profile ID
|
List<ProcessingResultBean> |
runTestCase(int testCaseId,
int profileId,
Properties props)
Run a specific test case against a specific Profile ID
|
List<ProcessingResultBean> |
runTestCase(ITTestCaseManager.MessageSourceType messageSourceType,
int testCaseId,
int profileId)
Run a specific test case against a specific Profile ID while providing the MessageSourceType
|
List<ProcessingResultBean> |
runTestCase(ITTestCaseManager.MessageSourceType messageSourceType,
int testCaseId,
int profileId,
Properties props)
Run a specific test case against a specific Profile ID while providing the MessageSourceType
|
List<ProcessingResultBean> runMessage(ITTestCaseManager.MessageSourceType messageSourceType, InputStream messageAsStr, int profileId) throws RemoteException
messageSourceType - to determine sourceTypemessageAsStr - to processprofileId - Profile ID to useRemoteException - if it breaksList<ProcessingResultBean> runMessage(ITTestCaseManager.MessageSourceType messageSourceType, InputStream messageStream, int profileId, Properties props) throws RemoteException
messageSourceType - to determine sourceTypemessageStream - to processprofileId - Profile ID to useprops - properties to be set on generated MimeMessageRemoteException - if it breaksint installTestCase(InputStream is, int profileId) throws RemoteException
is - an inputstream to the testcaseprofileId - the id of the profileRemoteException - if it breaksint installTestCase(InputStream is, int profileId, String description) throws RemoteException
is - an inputstream to the testcaseprofileId - the id of the profiledescription - description to displayRemoteException - if it breaksList<ProcessingResultBean> runTestCase(int testCaseId, int profileId) throws RemoteException
testCaseId - the id of the testcaseprofileId - the id of the profileRemoteException - if it breaksList<ProcessingResultBean> runTestCase(int testCaseId, int profileId, Properties props) throws RemoteException
testCaseId - the id of the testcaseprofileId - the id of the profileprops - properties to be set on generated MimeMessageRemoteException - if it breaksList<ProcessingResultBean> runTestCase(ITTestCaseManager.MessageSourceType messageSourceType, int testCaseId, int profileId) throws RemoteException
messageSourceType - indicate the source of the messagetestCaseId - the id of the testcaseprofileId - the id of the profileRemoteException - if it breaksList<ProcessingResultBean> runTestCase(ITTestCaseManager.MessageSourceType messageSourceType, int testCaseId, int profileId, Properties props) throws RemoteException
messageSourceType - indicate the source of the messagetestCaseId - the id of the testcaseprofileId - the id of the profileprops - properties to be set on generated MimeMessageRemoteException - if it breaksjavax.mail.internet.MimeMessage getMessage(InputStream messageStream) throws javax.mail.MessagingException
messageStream - inputstream to the messagejavax.mail.MessagingException - if it breaksjavax.mail.internet.MimeMessage getMessage(InputStream messageStream, Properties props) throws javax.mail.MessagingException
messageStream - inputstream to the messageprops - properties to be set on generated MimeMessagejavax.mail.MessagingException - if it breaksvoid deleteAllTestCases()
throws IOException
IOException - if it breaksCopyright © 2008–2022 The Plugin People. All rights reserved.