-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug fix regarding exposed names in #
- Loading branch information
Showing
11 changed files
with
45 additions
and
27 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
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
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
r←Version | ||
⍝ See also `History` | ||
r←'Fire' '9.5.1+265' '2023-03-12' | ||
r←'Fire' '9.5.2+268' '2023-03-25' |
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 |
---|---|---|
@@ -1,19 +1,26 @@ | ||
Prepare;testPath;testFilename;ask;answer | ||
⍝ Useful to prepare test cases for execution | ||
Prepare;testPath;testFilename;ask;answer;options;flag;ind | ||
⎕IO←1 ⋄ ⎕ML←1 | ||
T←⎕NEW Tester2 ⎕THIS | ||
T.exec_after_each_test←(⍕⎕THIS),'.After' | ||
testPath←(↑1 ⎕NPARTS''),'TestResults' | ||
testPath←##.CiderConfig.HOME,'/TestResults' | ||
testFilename←testPath,'/CodeCoverage' | ||
flag←0 | ||
:If ⎕NEXISTS testPath | ||
:If ⎕NEXISTS testFilename,'.dcf' | ||
ask←{⎕←⍵,'; 1=append, 2=replace' ⋄ a←⎕ ⋄ ~(⊂a)∊1 2:∇ ⍵ ⋄ ⊃a} | ||
answer←↑ask'Coverage file already exists' | ||
:If 2≡answer | ||
1 ⎕NDELETE testFilename,'.dcf' | ||
:If ⎕NEXISTS testFilename,'.profile' | ||
ind←('Code Coverage' 0 1)CommTools.Select'Append' 'Replace' 'Neither' | ||
→(3=ind)/0 | ||
flag←1 | ||
:If 2≡ind | ||
1 CodeCoverage.DeleteFiles T.codeCoverage.filename | ||
:EndIf | ||
:Else | ||
flag←0 CommTools.YesOrNo'Code coverage?' | ||
:EndIf | ||
:Else | ||
flag←0 CommTools.YesOrNo'Code coverage?' | ||
:EndIf | ||
:If flag | ||
3 ⎕MKDIR testPath ⍝ | ||
T.codeCoverage←⎕NEW CodeCoverage(,⊂'#.',{⍵,'.',⍵}2↓⍕⎕THIS.##) | ||
T.codeCoverage.filename←testFilename | ||
:EndIf | ||
3 ⎕MKDIR testPath ⍝ | ||
T.codeCoverage←⎕NEW CodeCoverage(,⊂'#.',{⍵,'.',⍵}2↓⍕⎕THIS.##) | ||
T.codeCoverage.filename←testFilename | ||
⍝Done |
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 |
---|---|---|
@@ -1,8 +1,10 @@ | ||
RunTests;htmlFilename | ||
RunTests;htmlFilename;verbose | ||
Prepare | ||
T.Run 1 | ||
htmlFilename←CodeCoverage.ProcessDataAndCreateReport T.codeCoverage.filename | ||
:If 0 ∆YesOrNo'View CodeCoverage report?' | ||
APLTreeUtils2.GoToWebPage'file://',htmlFilename | ||
:If 0<≢T.codeCoverage | ||
:AndIf 0 ⎕SE.MakeHelpers.YesOrNo'Put Code Coverage Report on display?' | ||
verbose←0 ⎕SE.MakeHelpers.YesOrNo'Detailed report?' | ||
htmlFilename←verbose CodeCoverage.ProcessDataAndCreateReport T.codeCoverage.filename | ||
{}APLTreeUtils2.GoToWebPage htmlFilename | ||
CodeCoverage.DeleteFiles T.codeCoverage.filename | ||
:EndIf | ||
⍝Done |
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
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
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
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
aplteam-APLTreeUtils2-1.1.3 | ||
aplteam-FilesAndDirs-5.3.4 | ||
aplteam-FilesAndDirs-5.4.0 | ||
aplteam-WinReg-5.0.4 | ||
aplteam-OS-3.0.1 | ||
aplteam-GitHubAPIv3-0.7.0 |
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
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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
aplteam-APLTreeUtils2-1.1.3 | ||
aplteam-FilesAndDirs-5.3.4 | ||
aplteam-CodeCoverage-0.9.4 | ||
aplteam-FilesAndDirs-5.4.0 | ||
aplteam-CodeCoverage-0.10.0 | ||
aplteam-Tester2-3.3.1 | ||
aplteam-APLProcess-0.4.1 | ||
aplteam-Inno-1.0.0 | ||
aplteam-CommTools-1.3.0 |