summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp
diff options
context:
space:
mode:
authorRupinder <rupinsi1@in.ibm.com>2020-03-04 19:07:21 +0530
committerRupinder <rupinsi1@in.ibm.com>2020-03-04 19:07:25 +0530
commit96c45ae7297b5a0b0e20ab171067521975c00ad3 (patch)
tree91f509a2fc2e67ac367365870b57640ce2d767d1 /ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp
parentd1cb62e4628dcc6a445b48de9f618e50e25475f4 (diff)
added test case for report-list component
Wrote test case for report-list.component.spec.ts Issue-ID: PORTAL-834 Change-Id: If92eeef813cce8683546a747c4e758090d4204d0 Signed-off-by: Rupinder<rupinsi1@in.ibm.com>
Diffstat (limited to 'ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp')
-rw-r--r--ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/report-list.component.spec.ts11
1 files changed, 10 insertions, 1 deletions
diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/report-list.component.spec.ts b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/report-list.component.spec.ts
index 359bee9f..2c01ff14 100644
--- a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/report-list.component.spec.ts
+++ b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/report-list.component.spec.ts
@@ -93,5 +93,14 @@ describe('ReportListComponent', () => {
component.close();
expect(component.showDialog).toEqual(true);
expect(component.closable).toEqual(false);
- })
+ });
+
+ it('should test deleteReport method', () => {
+ component.deleteReport();
+ });
+
+ it('should test openReportSchedule method', () => {
+ component.openReportSchedule("test");
+ });
+
}); \ No newline at end of file