| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent dbabf67 commit 842fbd4
31 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -18,7 +18,7 @@ describe('classic_AddressMatchService', () => { | |||
| 18 | 18 | var addressMatchService = new AddressMatchService(addressMatchURL); | |
| 19 | 19 | expect(addressMatchService).not.toBeNull(); | |
| 20 | 20 | expect(addressMatchService.url).toEqual(addressMatchURL); | |
| 21 | - expect(addressMatchService.isInTheSameDomain).toBeFalsy(); | ||
| 21 | + expect(addressMatchService.isInTheSameDomain).toBeTruthy(); | ||
| 22 | 22 | addressMatchService.destroy(); | |
| 23 | 23 | expect(addressMatchService.EVENT_TYPES).toBeNull(); | |
| 24 | 24 | expect(addressMatchService.events).toBeNull(); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -88,7 +88,7 @@ describe('classic_DatasetService', () => { | |||
| 88 | 88 | expect(service).not.toBeNull(); | |
| 89 | 89 | expect(serviceResult).not.toBeNull(); | |
| 90 | 90 | expect(serviceResult.type).toBe("processFailed"); | |
| 91 | - expect(serviceResult.object.isInTheSameDomain).toBeFalsy(); | ||
| 91 | + expect(serviceResult.object.isInTheSameDomain).toBeTruthy(); | ||
| 92 | 92 | expect(serviceResult.dataset).not.toBeNull(); | |
| 93 | 93 | expect(serviceResult.datasource).not.toBeNull(); | |
| 94 | 94 | expect(serviceResult.error.code).toEqual(404); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -88,7 +88,7 @@ describe('classic_DatasourceService', () => { | |||
| 88 | 88 | expect(service).not.toBeNull(); | |
| 89 | 89 | expect(serviceResult).not.toBeNull(); | |
| 90 | 90 | expect(serviceResult.type).toBe("processFailed"); | |
| 91 | - expect(serviceResult.object.isInTheSameDomain).toBeFalsy(); | ||
| 91 | + expect(serviceResult.object.isInTheSameDomain).toBeTruthy(); | ||
| 92 | 92 | expect(serviceResult.error.code).toEqual(404); | |
| 93 | 93 | expect(serviceResult.error.errorMsg).toBe("数据源World1不存在,获取相应的数据服务组件失败"); | |
| 94 | 94 | done(); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -19,7 +19,7 @@ describe('AddressMatchService', () => { | |||
| 19 | 19 | var addressMatchService = new AddressMatchService(addressMatchURL_code); | |
| 20 | 20 | expect(addressMatchService).not.toBeNull(); | |
| 21 | 21 | expect(addressMatchService.url).toEqual(addressMatchURL_code); | |
| 22 | - expect(addressMatchService.isInTheSameDomain).toBeFalsy(); | ||
| 22 | + expect(addressMatchService.isInTheSameDomain).toBeTruthy(); | ||
| 23 | 23 | addressMatchService.destroy(); | |
| 24 | 24 | expect(addressMatchService.EVENT_TYPES).toBeNull(); | |
| 25 | 25 | expect(addressMatchService.events).toBeNull(); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -28,7 +28,7 @@ describe('EditFeaturesService', () => { | |||
| 28 | 28 | try { | |
| 29 | 29 | var serviceResult = addFeatureSuccessEventArgsSystem.result; | |
| 30 | 30 | expect(addFeatureService).not.toBeNull(); | |
| 31 | - expect(addFeatureService.isInTheSameDomain).toBeFalsy(); | ||
| 31 | + expect(addFeatureService.isInTheSameDomain).toBeTruthy(); | ||
| 32 | 32 | expect(addFeatureService.isUseBatch).toBeFalsy(); | |
| 33 | 33 | expect(addFeatureService.returnContent).toBeTruthy(); | |
| 34 | 34 | expect(addFeatureService.options.method).toBe("POST"); | |
@@ -97,7 +97,7 @@ describe('EditFeaturesService', () => { | |||
| 97 | 97 | var updateFeaturesCompleted = (updateSuccessEventArgsSystem) => { | |
| 98 | 98 | try { | |
| 99 | 99 | expect(updateFeaturesService).not.toBeNull(); | |
| 100 | - expect(updateFeaturesService.isInTheSameDomain).toBeFalsy(); | ||
| 100 | + expect(updateFeaturesService.isInTheSameDomain).toBeTruthy(); | ||
| 101 | 101 | expect(updateFailedEventArgsSystem).toBeNull(); | |
| 102 | 102 | expect(updateSuccessEventArgsSystem.type).toBe("processCompleted"); | |
| 103 | 103 | expect(updateSuccessEventArgsSystem.object.options.method).toBe("PUT"); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments