generated from SAP/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: Add tests for custom UI5 config path
- Loading branch information
1 parent
2ab3779
commit ad9f1ec
Showing
5 changed files
with
133 additions
and
455 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
113 changes: 113 additions & 0 deletions
113
test/fixtures/linter/projects/com.ui5.troublesome.app/webapp2/manifest.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,113 @@ | ||
{ | ||
"_version": "1.12.0", | ||
|
||
"sap.app": { | ||
"id": "com.ui5.troublesome.app", | ||
"type": "application", | ||
"i18n": "i18n/i18n.properties", | ||
"title": "{{appTitle}}", | ||
"description": "{{appDescription}}", | ||
"applicationVersion": { | ||
"version": "1.0.0" | ||
}, | ||
"dataSources": { | ||
"v4": { | ||
"uri": "/api/odata-4/", | ||
"type": "OData", | ||
"settings": { | ||
"odataVersion": "4.0" | ||
} | ||
} | ||
} | ||
}, | ||
|
||
"sap.ui": { | ||
"technology": "UI5", | ||
"icons": {}, | ||
"deviceTypes": { | ||
"desktop": true, | ||
"tablet": true, | ||
"phone": true | ||
} | ||
}, | ||
|
||
"sap.ui5": { | ||
"rootView": { | ||
"viewName": "com.ui5.troublesome.app.view.App", | ||
"type": "XML", | ||
"async": true, | ||
"id": "app" | ||
}, | ||
|
||
"dependencies": { | ||
"minUI5Version": "1.119.0", | ||
"libs": { | ||
"sap.ui.core": {}, | ||
"sap.m": {}, | ||
"sap.ui.commons": {} | ||
} | ||
}, | ||
|
||
"handleValidation": true, | ||
|
||
"contentDensities": { | ||
"compact": true, | ||
"cozy": true | ||
}, | ||
|
||
"resources": { | ||
"js": [{ "uri": "path/to/thirdparty.js" }] | ||
}, | ||
|
||
"models": { | ||
"i18n": { | ||
"type": "sap.ui.model.resource.ResourceModel", | ||
"settings": { | ||
"bundleName": "com.ui5.troublesome.app.i18n.i18n" | ||
} | ||
}, | ||
"odata-v4": { | ||
"type": "sap.ui.model.odata.v4.ODataModel", | ||
"settings": { | ||
"synchronizationMode": "None" | ||
} | ||
}, | ||
"odata-v4-via-dataSource": { | ||
"dataSource": "v4", | ||
"settings": { | ||
"synchronizationMode": "None" | ||
} | ||
}, | ||
"odata": { | ||
"type": "sap.ui.model.odata.ODataModel", | ||
"settings": { | ||
"serviceUrl": "/api/odata" | ||
} | ||
} | ||
}, | ||
|
||
"routing": { | ||
"config": { | ||
"routerClass": "sap.m.routing.Router", | ||
"viewType": "XML", | ||
"viewPath": "com.ui5.troublesome.app.view", | ||
"controlId": "app", | ||
"controlAggregation": "pages", | ||
"async": true | ||
}, | ||
"routes": [ | ||
{ | ||
"pattern": "", | ||
"name": "main", | ||
"target": "main" | ||
} | ||
], | ||
"targets": { | ||
"main": { | ||
"viewId": "main", | ||
"viewName": "Main" | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.