Implement ItemComment view model and view.
- NEU: Optionale Kommentare zu Laborwerten.
This commit is contained in:
1 parent
02b4bc07a3
commit
9068dde1c3
11 files changed
+288
-9
No files matched your search
@@ -48,13 +48,13 @@ namespace Tests.Controller.Comments
|
||||
public void BuildingCommentRaisesEvent()
|
||||
{
|
||||
ItemComment i = CommentPool.Default.GetCommentFor("item \"<>\"");
|
||||
bool eventRaised = false;
|
||||
int eventRaised = 0;
|
||||
CommentPool.Default.FillInComment += (sender, args) =>
|
||||
{
|
||||
eventRaised = true;
|
||||
eventRaised += 1;
|
||||
};
|
||||
string comment = i.BuildComment();
|
||||
Assert.IsTrue(eventRaised);
|
||||
Assert.AreEqual(1, eventRaised);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user