|
41 | 41 | ∇ |
42 | 42 |
|
43 | 43 | ∇ r←History |
44 | | - :Access Public shared |
| 44 | + :Access Public shared |
| 45 | + ⍝ * 4.4.0 ⋄ 2026-02-06 |
| 46 | + ⍝ * Packages updated (CommTools!) |
45 | 47 | ⍝ * 4.3.0 ⋄ 2025-09-13 |
46 | 48 | ⍝ * Packages updated |
47 | 49 | ⍝ * 4.2.0 ⋄ 2025-06-05 |
|
570 | 572 | :EndIf |
571 | 573 | :If ps.guiFlag |
572 | 574 | :AndIf {6::1 ⋄ 0⊣⍵.Type}ps.ref2Gui.∆n.Form |
573 | | - ⎕←'*** Tests cancelled' |
| 575 | + ⍞←'*** Tests cancelled',⎕UCS 10 |
574 | 576 | log←ps.log |
575 | 577 | →0 |
576 | 578 | :EndIf |
|
589 | 591 | :EndIf |
590 | 592 | :If 0<≢_codeCoverage |
591 | 593 | :If 0=≢res←_codeCoverage.Finalise 1 |
592 | | - ⎕←'Coverage report: nothing to report' |
| 594 | + ⍞←'Coverage report: nothing to report',⎕UCS 10 |
593 | 595 | :Else |
594 | 596 | ShowLog'Coverage report: ',res |
595 | 597 | :EndIf |
|
873 | 875 | :If (⊂rc)∊ListCustomMessages[;2] ⍝ Is it a valid custom message? |
874 | 876 | rc←-⍎¯1↑ListSymbolicNames{⊃⍺[1⍳⍨⍺[;2]≡¨⊂⍵;]}rc ⍝ Translate custom msg into return code |
875 | 877 | :Else |
876 | | - ⎕←'Current test function (',testFns,')' |
877 | | - ⎕←'returned an invalid result: neither a valid numeric code (symbolic name) nor a custom message' |
| 878 | + ⍞←'Current test function (',testFns,')',⎕UCS 10 |
| 879 | + ⍞←'returned an invalid result: neither a valid numeric code (symbolic name) nor a custom message',⎕UCS 10 |
878 | 880 | ∘∘∘ |
879 | 881 | :EndIf |
880 | 882 | :EndIf |
|
940 | 942 | :If 0<ps.stop |
941 | 943 | :AndIf 1⊃⌽(8⍴2)⊤⊃ps.stop |
942 | 944 | (∪(⎕STOP fns),StopHere)⎕STOP fns |
943 | | - ⎕←'About to execute <',(⍕_ref),'.',fnsName,'> ...' |
| 945 | + ⍞←'About to execute <',(⍕_ref),'.',fnsName,'> ...',⎕UCS 10 |
944 | 946 | :Else |
945 | 947 | ((⎕STOP fns)~StopHere)⎕STOP fns |
946 | 948 | :EndIf |
|
1028 | 1030 | ⍎_exec_before_each_test,' fnsName ps' |
1029 | 1031 | :Else |
1030 | 1032 | :If 0<≢buff←⍎_exec_before_each_test,' fnsName ps' |
1031 | | - ⎕←buff |
| 1033 | + ⍞←buff,⎕UCS 10 |
1032 | 1034 | :EndIf |
1033 | 1035 | :EndIf |
1034 | 1036 | :EndIf |
|
1041 | 1043 | ⍎_exec_after_each_test,' fnsName ps' |
1042 | 1044 | :Else |
1043 | 1045 | :If 0<≢buff←⍎_exec_after_each_test,' fnsName ps' |
1044 | | - ⎕←buff |
| 1046 | + ⍞←buff,⎕UCS 10 |
1045 | 1047 | :EndIf |
1046 | 1048 | :EndIf |
1047 | 1049 | :EndIf |
|
1102 | 1104 | :EndIf |
1103 | 1105 | :If ~ps.guiFlag |
1104 | 1106 | :If type=3 |
1105 | | - ⎕←⊃¯1↑ps.log |
| 1107 | + ⍞←⊃¯1↑ps.log |
| 1108 | + ⍞←⎕UCS 10 |
1106 | 1109 | :ElseIf ¯1≠×type |
1107 | 1110 | selog←{1=≡⍵:⍵ ⋄ (3≠≢⍵)∨'---'≡3↑⊃⍵:⍪⍵ ⋄ (1⊃⍵),' ',(2⊃⍵),' ',(3⊃⍵)}msg |
1108 | 1111 | :If type<0 |
1109 | 1112 | ⍞←selog,(type=¯2)/CR |
1110 | 1113 | :Else |
1111 | | - ⎕←selog |
| 1114 | + ⍞←selog,⎕UCS 10 |
1112 | 1115 | :EndIf |
1113 | 1116 | :EndIf |
1114 | 1117 | :EndIf |
|
1696 | 1699 | cl.Text←2↓⊃,/(⊂CRLF),¨body |
1697 | 1700 | :Return |
1698 | 1701 | :Else |
1699 | | - ⎕←'No action taken' ⋄ →0 |
| 1702 | + ⍞←'No action taken',⎕UCS 10 ⋄ →0 |
1700 | 1703 | :EndIf |
1701 | 1704 | :Else |
1702 | 1705 | _ref.⎕FX body |
1703 | 1706 | :EndIf |
1704 | 1707 | :If ∨/IsLinked _ref |
1705 | | - ⎕←'You might want to tell Link:' |
1706 | | - ⎕←']Link.Add ',(⍕_ref),'.',newName |
| 1708 | + ⍞←'You might want to tell Link:',⎕UCS 10 |
| 1709 | + ⍞←']Link.Add ',(⍕_ref),'.',newName,⎕UCS 10 |
1707 | 1710 | :EndIf |
1708 | 1711 | ∇ |
1709 | 1712 |
|
|
1720 | 1723 | :EndIf |
1721 | 1724 | 'Cannot establish helpers in class instances/unnamed namespaces'Assert~'['∊⍕ref |
1722 | 1725 | :If 3=+/ref.⎕NC↑'Prepare' 'RunTests' 'RunTestsInBatchMode' |
1723 | | - ⎕←'Prepare, RunTests and RunTestsInBatchMode are all already established in ',⍕ref |
| 1726 | + ⍞←'Prepare, RunTests and RunTestsInBatchMode are all already established in ',(⍕ref),⎕UCS 10 |
1724 | 1727 | :Else |
1725 | 1728 | :If force |
1726 | 1729 | :OrIf YesOrNo'Helpers@Sure you wanna establish three helpers "Prepare", "RunTests" & "RunTestsInBatchMode" in ',(⍕ref),' ?' |
|
1735 | 1738 | r,←CR,'⍝ ⎕SE.Link.Add ',⊃,/('''','.',⍨⍕ref)∘,¨'Prepare'' ' 'RunTests'' ' 'RunTestsInBatchMode'' ' |
1736 | 1739 | :EndIf |
1737 | 1740 | :If IsLinked ref |
1738 | | - ⎕←'You might want to tell Link:' |
1739 | | - ⎕←']Link.Add ',⊃,/(⊂⍕ref),¨'.Prepare ' '.RunTests ' '.RunTestsInBatchMode' |
| 1741 | + ⍞←'You might want to tell Link:',⎕UCS 10 |
| 1742 | + ⍞←']Link.Add ',(⊃,/(⊂⍕ref),¨'.Prepare ' '.RunTests ' '.RunTestsInBatchMode'),⎕UCS 10 |
1740 | 1743 | :EndIf |
1741 | 1744 | :EndIf |
1742 | 1745 | ∇ |
|
1859 | 1862 | :EndIf |
1860 | 1863 | :EndIf |
1861 | 1864 | :Else |
1862 | | - ⎕←'Incompatible version of Link detected; we need 3.0.0 or better' |
| 1865 | + ⍞←'Incompatible version of Link detected; we need 3.0.0 or better',⎕UCS 10 |
1863 | 1866 | :EndIf |
1864 | 1867 | ∇ |
1865 | 1868 |
|
|
2031 | 2034 | :If 3>option |
2032 | 2035 | verbose←2=option |
2033 | 2036 | htmlFilename←verbose CodeCoverage.CreateReport T.codeCoverage.filename |
2034 | | - ⎕←']Open file://',htmlFilename |
| 2037 | + ⍞←']Open file://',htmlFilename,⎕UCS 10 |
2035 | 2038 | :EndIf |
2036 | 2039 | :EndIf |
2037 | 2040 | ∇ |
|
0 commit comments