com.polarion.alm.tracker.model.ITestRun
FIELDS
Modifiers and Type | Name | Description |
---|---|---|
String | PROTO | |
String | KEY_LOCATION | |
String | KEY_TITLE | |
String | KEY_CREATED | |
String | KEY_AUTHOR | |
String | KEY_GROUP_ID | |
String | KEY_SUMMARY_DEFECT | |
String | KEY_IS_TEMPLATE | |
String | KEY_TEMPLATE | |
String | KEY_QUERY | |
String | KEY_FINISHED_ON | |
String | KEY_UPDATED | |
String | KEY_RECORDS | |
String | KEY_KEEP_IN_HISTORY | |
String | KEY_ID_PREFIX | |
String | KEY_SELECT_TEST_CASES_BY | |
String | KEY_DOCUMENT | |
String | KEY_ATTACHMENTS | |
String | KEY_TEST_PARAMETERS | |
String | KEY_COMMENTS | |
String | KEY_HOMEPAGECONTENT | |
String | KEY_USE_REPORT_FROM_TEMPLATE | |
String | KEY_PROJECT_SPAN | |
String[] | FIELD_ORDER | |
Set | DIFF_IGNORED_FIELDS | |
String | ENUM_ID_STATUS |
METHODS
Modifiers and Type | Name | Description |
---|---|---|
ITestManagementService | getTestManagementService() | |
Date | getCreated() | |
String | getTitle() | |
void | setTitle(String) | Sets new Test Run title. |
Date | getUpdated() | |
IUser | getAuthor() | |
String | getGroupId() | |
void | setGroupId(String) | |
boolean | isTemplate() | |
void | setIsTemplate(boolean) | |
ITestRun | getTemplate() | |
String | getQuery() | |
void | setQuery(String) | |
IModule | getDocument() | |
void | setDocument(IModule) | |
void | setStatus(IStatusOpt) | |
Date | getFinishedOn() | |
void | setFinishedOn(Date) | |
IWorkItem | getSummaryDefect() | |
IWorkItem | createSummaryDefect(IWorkItem) | Creates a summary defect based on the given template and stores it to the {@link #KEY_SUMMARY_DEFECT} field of the Test Run if it does not exist yet. Otherwise it just returns the existing summary defect. {@link ITestRun#save()} does not need to be called on this Test Run or {@link IWorkItem#save()} on the returned object. |
IWorkItem | updateSummaryDefect(String,int,int,int,IWorkItem) | Updates the description of the summary defect by appending a standard text about the number of tests and the various results. Creates a new summary defect using the {@link #createSummaryDefect(IWorkItem)} method if it does not exist yet. {@link IWorkItem#save()} does not need to be called on the returned object. |
List | getRecords() | Returns all executed Test Records. |
List | getAllRecords() | Returns all Test Records, even those that are paused or have not been executed yet. (That represent planned Test Cases.) The returned list is live, so it can be used to add or remove Test Records. |
List | getRecordsForResult(String) | Returns records with a specified result. (Can be more effective than iterating over the records collection.) |
ITestRecord | addRecord() | Adds a new empty Test Record to the Test Run. {@link ITestRun#save()} must be called after the fields of the record are filled in. |
List | getRecordsForTestCase(IWorkItem) | Returns executed Test Records for the Test Case. |
List | getAllRecordsForTestCase(IWorkItem) | Returns all Test Records for the Test Case, even those that are paused or have not been executed yet. (That represent planned Test Cases.) |
void | removeRecordsForTestCase(IWorkItem) | Removes the records from the given Test Case. |
boolean | removeRecordForTestCase(IWorkItem,int) | Removes the record for the given Test Case and iteration number. Warning: The iteration numbers can change when a test record is inserted or removed. If you want to insert/remove multiple iterations, consider calling {@link #getAllRecords()} and modifying the returned list instead. |
int | getRecordsCount() | Returns a records count. (Can be more effective than resolving the whole Test Run.) |
int | getRecordsCount(String) | Returns a records count with a specified result. (Can be more effective than iterating over the records collection.) |
void | delete() | Deletes this Test Run. |
String | createQueryForAllExecutedTestCases() | Creates a query for the Test Cases that are executed in this Test Run. |
String | createQueryForExecutedTestCases(String) | Creates query for the Test Cases that are executed in this Test Run with the given result. |
String | createQueryForNotExecutedTestCases() | Creates a query for the Test Cases of this Test Run that have not been executed yet. |
String | createFilterForNotExecutedTestCases() | Creates a Document filter that can be used to filter the Test Case Document for unexecuted Test Cases. Valid only if the Test Case Document is set. |
String | createQueryForAllTestCases() | Creates a query for all the Test Cases in the Test Run. (The Test Cases that are executed, paused or planned.) |
String | getLabel() | Returns the Test Run label. |
boolean | isKeepInHistory() | |
void | setKeepInHistory(boolean) | A Test run that has the 'keep in history' flag switched on will be available when browsing a baseline, even if it has already been deleted. |
ISelectTestCasesByOpt | getSelectTestCasesBy() | Determines the way the Test Cases of this Test Run are defined. |
void | setSelectTestCasesBy(ISelectTestCasesByOpt) | |
void | setSelectTestCasesBy(String) | |
Text | getWikiContent() | |
void | setWikiContent(Text) | |
IParametersAndDefinitionsStruct | getTestParameters() | |
IParametersAndDefinitionsManager | getTestParametersManager() | |
void | setIdPrefix(String) | |
String | getIdPrefix() | |
IPObjectList<ITestRunComment> | getComments() | See {@link #getCommentsManager()} for operations with comments. |
ITestRunCommentsManager | getCommentsManager() | |
boolean | isRichPageTestRun() | |
Text | getHomePageContent() | |
void | setHomePageContent(Text) | |
boolean | isUseReportFromTemplate() | {@code true} indicates that the Test Run's Report ( {@link #KEY_HOMEPAGECONTENT} ) from this Test Run should be ignored and instead it should be read from the ( {@link #KEY_TEMPLATE} ) template . Only works for Rich Page Test Runs. |
void | setUseReportFromTemplate(boolean) | |
List | getProjectSpan() | Returns the {@link IProject} list where Test Cases for this Test Run can be planned. If the list is empty, only Test Cases from the current project can be planned. |
Back to Index