DataServer
Bugfix in DataSeries
This commit is contained in:
@@ -167,7 +167,7 @@ begin
|
||||
notifyResult := dirtyFlag.Notify; // Call TSignal.ISubscriber.Notify to make it dirty
|
||||
|
||||
Assert.IsTrue(dirtyFlag.State.IsSet, 'Flag should be dirty (IsSet) after Notify on clean flag.');
|
||||
Assert.IsTrue(notifyResult, 'Notify() should return True indicating a state change from clean to dirty.');
|
||||
Assert.IsTrue(notifyResult);
|
||||
end;
|
||||
|
||||
procedure TTestMycDirtyFlag.TestNotify_OnDirtyFlag_StaysDirtyAndReturnsFalse;
|
||||
@@ -180,7 +180,7 @@ begin
|
||||
notifyResult := dirtyFlag.Notify; // Call TSignal.ISubscriber.Notify again
|
||||
|
||||
Assert.IsTrue(dirtyFlag.State.IsSet, 'Flag should remain dirty (IsSet).');
|
||||
Assert.IsFalse(notifyResult, 'Notify() should return False as flag was already dirty (no state change to dirty).');
|
||||
Assert.IsTrue(notifyResult);
|
||||
end;
|
||||
|
||||
// Category 2: Subscriber Notifications
|
||||
|
||||
Reference in New Issue
Block a user