Skip to content

Commit

Permalink
Merge pull request #7 from AdaptiveBS/add-empty-test-app
Browse files Browse the repository at this point in the history
Add empty test app
  • Loading branch information
spesotskiy authored Jan 15, 2024
2 parents fdf01bf + be3e4d3 commit 03d910a
Show file tree
Hide file tree
Showing 6 changed files with 112 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .AL-Go/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@
"AJE"
],
"appFolders": [
"App"
"app"
],
"testFolders": [
"test"
],
"installTestRunner": true,
"installTestFramework": true,
"installTestLibraries": true,
"testFolders": [],
"bcptTestFolders": [],
"al.packageCachePath": "../App/.alpackages",
"al.ruleSetPath": "../App/.codeAnalysis/app.ruleset.json",
Expand Down
45 changes: 45 additions & 0 deletions app.code-workspace
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"folders": [
{
"path": "app"
},
{
"path": "test"
}
],
"settings": {
"al.codeAnalyzers": [
"${CodeCop}",
"${UICop}",
"${AppSourceCop}"
],
"al.enableCodeAnalysis": true,
"al.enableCodeActions": true,
"CRS.OnSaveAlFileAction": "Rename",
"CRS.FileNamePattern": "<ObjectNameShort>.<ObjectTypeShortPascalCase>.al",
"CRS.FileNamePatternExtensions": "<ObjectNameShort>.<ObjectTypeShortPascalCase>.al",
"CRS.FileNamePatternPageCustomizations": "<ObjectNameShort>.<ObjectTypeShortPascalCase>.al",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.al": "explicit"
},
"alOutline.addDataItemToReportColumnName": true,
"alOutline.autoGenerateFiles": true,
"alOutline.codeActionsOnSave": [
"SortTableFields",
"SortReportColumns",
"SortProperties",
"SortProcedures",
"SortVariables",
"SortPermissions",
"SortPermissionSetList"
],
"alOutline.fixCodeCopMissingParenthesesOnSave": true,
"alOutline.lockRemovedFieldsCaptions": true,
"alOutline.openDefinitionInNewTab": true,
"workbench.editor.empty.hint": "hidden",
"CRS.DisableDefaultAlSnippets": true,
"al-xml-doc.CheckObjectDocumentationInformationLevel": "Warning",
"al-xml-doc.DocumentationExportSchema": "Project File + Object File + Procedure File"
}
}
5 changes: 5 additions & 0 deletions test/AppSourceCop.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"mandatoryAffixes": [
"AJE"
]
}
Binary file added test/Resources/App.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
57 changes: 57 additions & 0 deletions test/app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"id": "9d39a02b-b97a-4543-9626-e438bf824788",
"name": "Table Event Listener - Tests",
"publisher": "Adaptive Business Solutions Inc",
"version": "1.0.0.0",
"brief": "AL Tests for Table Event Listener",
"description": "AL Tests for Table Event Listener",
"privacyStatement": "https://justjewelrysoftware.com/contactus",
"EULA": "https://justjewelrysoftware.com/contactus",
"help": "https://justjewelrysoftware.com/contactus",
"url": "https://justjewelrysoftware.com/contactus",
"contextSensitiveHelpUrl": "https://justjewelrysoftware.com/contactus",
"logo": "Resources/App.png",
"dependencies": [
{
"id": "09721c13-88b9-4b41-bb44-745859132996",
"name": "Table Event Listener",
"publisher": "Adaptive Business Solutions Inc",
"version": "1.0.0.0"
},
{
"id": "9856ae4f-d1a7-46ef-89bb-6ef056398228",
"name": "System Application Test Library",
"publisher": "Microsoft",
"version": "23.0.0.0"
},
{
"id": "5d86850b-0d76-4eca-bd7b-951ad998e997",
"name": "Tests-TestLibraries",
"publisher": "Microsoft",
"version": "23.0.0.0"
}
],

"platform": "23.0.0.0",
"application": "23.0.0.0",
"idRanges": [
{
"from": 50100,
"to": 50110
}
],
"resourceExposurePolicy": {
"allowDebugging": true,
"allowDownloadingSource": true,
"includeSourceInSymbolFile": true
},
"features": [
"TranslationFile"
],
"runtime": "12.0",
"suppressWarnings": [
"AA0218",
"AS0084"
],
"applicationInsightsConnectionString": "InstrumentationKey=685359a3-9879-48ea-a61a-689a0546eafd;IngestionEndpoint=https://eastus-8.in.applicationinsights.azure.com/;LiveEndpoint=https://eastus.livediagnostics.monitor.azure.com/"
}
1 change: 1 addition & 0 deletions test/src/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
AL tests for Table Event Listener app

0 comments on commit 03d910a

Please sign in to comment.