Skip to content

Commit

Permalink
set filter by range if filter does not include any tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisBlankDe authored Aug 11, 2023
1 parent ce0f6b7 commit 798030f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,8 @@ page 130455 "Command Line Test Tool"
CodeunitTestMethodLine.SetRange("Test Suite", GlobalALTestSuite.Name);
CodeunitTestMethodLine.SetRange("Line Type", CodeunitTestMethodLine."Line Type"::Codeunit);
CodeunitTestMethodLine.SetFilter(Name, CodeunitName);
if CodeunitTestMethodLine.IsEmpty() then
CodeunitTestMethodLine.SetRange(Name, CodeunitName);
if not CodeunitTestMethodLine.FindSet() then
exit;
repeat
Expand Down

0 comments on commit 798030f

Please sign in to comment.