Skip to content

Commit

Permalink
Merge pull request #1 from v3ux/ftl1pxzu.fiy
Browse files Browse the repository at this point in the history
'New Test App (App 1 v1.Test)'
  • Loading branch information
v3ux committed Aug 2, 2022
2 parents 2778350 + 3f1d26e commit 41884f1
Show file tree
Hide file tree
Showing 4 changed files with 82 additions and 0 deletions.
9 changes: 9 additions & 0 deletions App1-v1 Test/.AL-Go/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"country": "us",
"appFolders": [

],
"testFolders": [

]
}
5 changes: 5 additions & 0 deletions App1-v1 Test/App 1 v1.Test/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"version": "0.2.0",
"configurations": [
]
}
25 changes: 25 additions & 0 deletions App1-v1 Test/App 1 v1.Test/HelloWorld.Test.al
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
codeunit 50000 "HelloWorld Test"
{
Subtype = Test;

[Test]
[HandlerFunctions('HelloWorldMessageHandler')]
procedure TestHelloWorldMessage()
var
CustList: TestPage "Customer List";
begin
CustList.OpenView();
CustList.Close();
if (not MessageDisplayed) then
ERROR('Message was not displayed!');
end;

[MessageHandler]
procedure HelloWorldMessageHandler(Message: Text[1024])
begin
MessageDisplayed := MessageDisplayed or (Message = 'App published: Hello world');
end;

var
MessageDisplayed: Boolean;
}
43 changes: 43 additions & 0 deletions App1-v1 Test/App 1 v1.Test/app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"id": "8fcbd86d-17a7-4031-b466-2030c2ba1389",
"name": "App 1 v1.Test",
"publisher": "v3ux",
"version": "1.0.0.0",
"brief": "",
"description": "",
"privacyStatement": "",
"EULA": "",
"help": "",
"url": "",
"logo": "",
"dependencies": [
{
"publisher": "Microsoft",
"name": "Library Assert",
"id": "dd0be2ea-f733-4d65-bb34-a28f4624fb14",
"version": "19.0.0.0"
},
{
"publisher": "Microsoft",
"name": "Any",
"id": "e7320ebb-08b3-4406-b1ec-b4927d3e280b",
"version": "19.0.0.0"
}
],
"screenshots": [

],
"platform": "1.0.0.0",
"application": "19.0.0.0",
"idRanges": [
{
"from": 50000,
"to": 99999
}
],
"resourceExposurePolicy": {
"allowDebugging": true,
"allowDownloadingSource": false,
"includeSourceInSymbolFile": false
}
}

0 comments on commit 41884f1

Please sign in to comment.