Implement ItemComment view model and view.
- NEU: Optionale Kommentare zu Laborwerten.
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -16,9 +16,6 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using NUnit.Framework;
|
||||
using Microsoft.Office.Interop.Word;
|
||||
using zaaReloaded2.LabModel;
|
||||
@ -26,7 +23,6 @@ using zaaReloaded2.Formatter;
|
||||
using zaa = zaaReloaded2.Controller.Elements;
|
||||
using zaaReloaded2.Controller.Comments;
|
||||
using System.Text.RegularExpressions;
|
||||
using zaaReloaded2.Controller.Comments;
|
||||
|
||||
namespace Tests.Controller.Elements
|
||||
{
|
||||
|
Reference in New Issue
Block a user