results results(
&$db,
&$tplan_mgr,
$tproject_info,
$tplan_info, [
$suitesSelected = 'all'], [
$builds_to_query = -1], [
$lastResult = 'a'], [
$latest_results = 1], [
$keywordId = 0], [
$owner = null], [
$startTime = null], [
$endTime = null], [
$executor = null], [
$search_notes_string = null], [
$linkExecutionBuild = null], [
&$suiteStructure = null], [
&$flatArray = null], [
&$linked_tcversions = null]
)
|
|
$builds_to_query = 'a' will query all build, $builds_to_query = -1 will prevent
most logic in constructor from executing/ executions table from being queried if keyword = 0, search by keyword would not be performed
Parameters:
|
|
&$db: |
|
|
|
&$tplan_mgr: |
|
|
|
$tproject_info: |
|
|
|
$tplan_info: |
|
|
|
$suitesSelected: |
|
|
|
$builds_to_query: |
|
|
|
$lastResult: |
|
|
|
$latest_results: |
|
|
|
$keywordId: |
|
|
|
$owner: |
|
|
|
$startTime: |
|
|
|
$endTime: |
|
|
|
$executor: |
|
|
|
$search_notes_string: |
|
|
|
$linkExecutionBuild: |
|
|
|
&$suiteStructure: |
|
|
|
&$flatArray: |
|
|
|
&$linked_tcversions: |
|
API Tags:
Information Tags:
| Author: | kevinlevy rev : 20090327 - amitkhullar - added parameter $latest_results to get the latest results only. 20071013 - franciscom - changes to fix MSSQL problems $startTime = "0000-00-00 00:00:00" -> null $endTime = "9999-01-01 00:00:00" -> null 20070916 - franciscom - interface changes |
void buildBugString(
&$db,
$execID
)
|
|
TO-DO - figure out what file to include so i don't have
to redefine this builds bug information for execution id written by Andreas, being implemented again by KL
Parameters:
array getAggregateBuildResults(
)
|
|
returns total / pass / fail / blocked / not run results for each build id
API Tags:
array getAggregateKeywordResults(
)
|
|
returns total / pass / fail / blocked / not run results for each keyword id
API Tags:
array getAggregateOwnerResults(
)
|
|
returns total / pass / fail / blocked / not run results for each owner id
unassigned test cases show up under owner id = -1
API Tags:
return map of suite id to suite name pairs of all suites
API Tags:
single-dimension array
with pattern level, suite name, suite id
API Tags:
void getLinkedTCVersions(
)
|
|
API Tags:
array getMapOfLastResult(
)
|
|
API Tags:
array getMapOfSuiteSummary(
)
|
|
API Tags:
array getPrioritizedResults(
[timestamp
$milestoneDate = null]
)
|
|
Function returns prioritized test result counter
Parameters:
|
timestamp |
$milestoneDate: |
- optional milestone deadline |
API Tags:
| Return: | with three priority counters |
| Access: | public |
array getPrioritizedTestCases(
)
|
|
Function returns prioritized test case counter (in Test Plan)
API Tags:
| Return: | with three priority counters |
| Access: | public |
TO-DO: rename this method to getExecutionsMap()
(resultsTC.php is 1 file (may not be only file) that references this method)
API Tags:
array getSuiteStructure(
)
|
|
returns array which describes suite hierachy
API Tags:
string getTCLink(
$rights,
$tcID,
$tcExternalID,
$tcversionID,
$title,
$buildID
)
|
|
Function
Parameters:
|
|
$rights: |
|
|
|
$tcID: |
|
|
|
$tcExternalID: |
|
|
|
$tcversionID: |
|
|
|
$title: |
|
|
|
$buildID: |
|
API Tags:
| Return: | Link of Test ID + Title |
void getTopLevelSuites(
)
|
|
return map of suite id to suite name pairs of top level suites
iterates over top level suites and adds up totals using data from mapOfAggregate
API Tags:
array getTotalsForPlan(
)
|
|
API Tags:
void get_export_file_types(
)
|
|
void get_import_file_types(
)
|
|
void memory_status(
$pclass,
$pfile,
$pfunction,
$pline
)
|
|
Parameters:
|
|
$pclass: |
|
|
|
$pfile: |
|
|
|
$pfunction: |
|
|
|
$pline: |
|
void removeEmptySuites(
&$node,
$hash_id_descr, [
$tck_map = null], [
$tplan_tcases = null], [
$assignedTo = 0]
)
|
|
Parameters:
|
|
&$node: |
|
|
|
$hash_id_descr: |
|
|
|
$tck_map: |
|
|
|
$tplan_tcases: |
|
|
|
$assignedTo: |
|