Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -403,14 +403,19 @@ codeunit 130456 "Test Suite Mgt."
Dialog.Update(2, format(Counter) + '/' + format(TotalCount) + ' (' + format(round(Counter / TotalCount * 100, 1)) + '%)');
end;

TempTestMethodLine.TransferFields(TestMethodLine);
TempTestMethodLine.Insert();
ExpandDataDrivenTests.SetDataDrivenTests(TempTestMethodLine);
BindSubscription(ExpandDataDrivenTests);
if TestMethodLine."Data Input Group Code" <> '' then begin
TempTestMethodLine.TransferFields(TestMethodLine);
TempTestMethodLine.Insert();
ExpandDataDrivenTests.SetDataDrivenTests(TempTestMethodLine);
BindSubscription(ExpandDataDrivenTests);
end;

TestRunnerGetMethods.SetUpdateTests(true);
TestRunnerGetMethods.Run(TestMethodLine);
UnbindSubscription(ExpandDataDrivenTests);
TempTestMethodLine.DeleteAll();
if TempTestMethodLine."Data Input Group Code" <> '' then begin
UnbindSubscription(ExpandDataDrivenTests);
TempTestMethodLine.DeleteAll();
end;
until TestMethodLine.Next() = 0;

if GuiAllowed() then
Expand Down Expand Up @@ -481,7 +486,8 @@ codeunit 130456 "Test Suite Mgt."
CodeunitTestMethodLine.SetRange("Test Codeunit", TestMethodLine."Test Codeunit");
CodeunitTestMethodLine.SetRange("Line Type", TestMethodLine."Line Type"::Codeunit);
CodeunitTestMethodLine.SetAscending("Line No.", true);
CodeunitTestMethodLine.FindLast();
if not CodeunitTestMethodLine.FindLast() then
CodeunitTestMethodLine."Line No." := TestMethodLine."Line No.";

NextCodeunitTestMethodLine.SetFilter("Line No.", '>%1', TestMethodLine."Line No.");
NextCodeunitTestMethodLine.SetRange("Test Suite", TestMethodLine."Test Suite");
Expand Down
Loading