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
|
int |
installTestCase(InputStream is,
int profileId)
Install a given test case against the provided Profile ID
|
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> |
runTestCase(int testCaseId,
int profileId)
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> runMessage(ITTestCaseManager.MessageSourceType messageSourceType, InputStream messageAsStr, int profileId) throws RemoteException
messageSourceType - to determine sourceTypemessageAsStr - to processprofileId - Profile ID to useRemoteException - if it breaksint installTestCase(InputStream is, int profileId) throws RemoteException
is - an inputstream to the testcaseprofileId - the id of the profileRemoteException - 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(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 breaksjavax.mail.internet.MimeMessage getMessage(InputStream messageStream) throws javax.mail.MessagingException
messageStream - inputstream to the messagejavax.mail.MessagingException - if it breaksvoid deleteAllTestCases()
throws IOException
IOException - if it breaksCopyright © 2008–2020 The Plugin People. All rights reserved.