summaryrefslogtreecommitdiffstats
path: root/3rd_party/static/testapi-ui/components/results-report/resultsReportController.js
diff options
context:
space:
mode:
authorxudan <xudan16@huawei.com>2019-11-06 22:22:46 -0500
committerxudan <xudan16@huawei.com>2019-11-07 21:13:41 -0500
commitbaf5f4550b5f6142ee25d527ed5fc79fe926211a (patch)
tree414c2e19a2d1047941f3db0116caaec92eed4971 /3rd_party/static/testapi-ui/components/results-report/resultsReportController.js
parenta6fc776ab1187da5b924090e3487781435796a48 (diff)
Add NFVI 2019.12 version on portal
JIRA: DOVETAIL-787 Change-Id: Idca4d2164965781bc0e0e7e81816cad1804e12ff Signed-off-by: xudan <xudan16@huawei.com>
Diffstat (limited to '3rd_party/static/testapi-ui/components/results-report/resultsReportController.js')
-rw-r--r--3rd_party/static/testapi-ui/components/results-report/resultsReportController.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/3rd_party/static/testapi-ui/components/results-report/resultsReportController.js b/3rd_party/static/testapi-ui/components/results-report/resultsReportController.js
index 3a20227..ea8fded 100644
--- a/3rd_party/static/testapi-ui/components/results-report/resultsReportController.js
+++ b/3rd_party/static/testapi-ui/components/results-report/resultsReportController.js
@@ -247,11 +247,11 @@
extend_skip(sub_case_list_skip);
extend_fail(sub_case_list_fail);
}
- else if(ctrl.version == '2018.09') {
+ else {
// OVP 2018.09 and later results store all results in a single json structure:
// Looping over all test cases of this individual test run
angular.forEach(result_resp.data.testcases_list, function(testcase, index){
- var sub_case_list_total = get_sub_case_list_2018_09(testcase);
+ var sub_case_list_total = get_sub_case_list(testcase);
var sub_case_list = sub_case_list_total[0];
var sub_case_list_skip = sub_case_list_total[1];
var sub_case_list_fail = sub_case_list_total[2];
@@ -327,7 +327,7 @@
return [case_list, case_list_skip, case_list_fail];
}
- function get_sub_case_list_2018_09(result) {
+ function get_sub_case_list(result) {
var case_list = [];
var case_list_skip = [];
var case_list_fail = [];