diff options
author | Muni Mohan Kunchi <munmohan@att.com> | 2020-02-06 13:51:45 -0500 |
---|---|---|
committer | Muni Mohan Kunchi <munmohan@att.com> | 2020-02-06 13:54:22 -0500 |
commit | e3636b96e9938cb89bb90672cf70fff3ae790186 (patch) | |
tree | 89dd47a4a95150f70e83556a3280cf4cd02daf89 /ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/run | |
parent | 35d028274a61ce8e77a9fa409877d93d0fce05a8 (diff) |
adding sdk changes
adding sdk changes
Issue-ID: PORTAL-830
Signed-off-by: Muni Mohan Kunchi <munmohan@att.com>
Change-Id: I0c99d3ab15fcf4c3b34d84658b64114dadbe2577
Diffstat (limited to 'ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/run')
2 files changed, 0 insertions, 43 deletions
diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/run/run-report-form-fields/run-report-form-fields.component.spec.ts b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/run/run-report-form-fields/run-report-form-fields.component.spec.ts index 55161812..a273f9e0 100644 --- a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/run/run-report-form-fields/run-report-form-fields.component.spec.ts +++ b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/run/run-report-form-fields/run-report-form-fields.component.spec.ts @@ -22,18 +22,4 @@ describe('RunReportFormFieldsComponent', () => { it('should create', () => { expect(component).toBeTruthy(); }); - - it('should test ngOnInit method', () =>{ - component.ngOnInit(); - expect(component.showSpinner).toEqual(true); - expect(component.navigateToRun).toEqual(false); - }); - - it('should test QueryString method', () =>{ - component.directCallQueryParams == "test"; - component.getQueryString(); - expect(component.getQueryString).toEqual("test"); - }) - - }); diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/run/run-report/run-report.component.spec.ts b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/run/run-report/run-report.component.spec.ts index b897f149..f1d53d9e 100644 --- a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/run/run-report/run-report.component.spec.ts +++ b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/run/run-report/run-report.component.spec.ts @@ -31,33 +31,4 @@ describe('RunReportFinalTableComponent', () => { it('should compile', () => { expect(component).toBeTruthy(); }); - - it('should test ngOnInit method ', () => { - component.ngOnInit(); - expect(component.initialProcesses()).toHaveBeenCalled(); - }); - - it('should test initialProcess method', () => { - component.DashboardReportObj.length = 1; - component.initialProcesses(); - expect(component.options.scrollSpeed).toEqual(20); - }); - - it('should test showError method', () => { - component.showError("abc"); - expect(component.error).toEqual(true); - expect(component.showSpinner).toEqual(false); - }); - - it('should test afterViewInitialProcesses method ', () =>{ - component.DashboardReportObj.length === 0; - component.reportMode === "Regular"; - component.initCnt == 0; - - component.afterViewInitialProcesses(); - expect(component.showMoreVert).toEqual(false); - expect(component.NEWdisplayedColumns).toEqual(new Array()); - }); - - }); |