Make tests pass again (minor glitches).
This commit is contained in:
parent
dccb3145db
commit
8c4de2915a
@ -182,6 +182,7 @@ namespace Tests.Controller.Elements
|
||||
[Test]
|
||||
public void ItemCommentWithoutHandler()
|
||||
{
|
||||
CommentPool.Default.Reset();
|
||||
Laboratory lab = new Laboratory();
|
||||
TimePoint tp = new TimePoint();
|
||||
tp.TimeStamp = new DateTime(2015, 7, 13, 13, 31, 00);
|
||||
|
@ -1,7 +1,5 @@
|
||||
|
||||
Laborwerte vom 04.07.2015 12:31:00:
|
||||
Laborwerte vom 04.07.2015 12:31:00:
|
||||
Klinische Chemie: Na 144 mM, K 4,3 mM
|
||||
|
||||
Laborwerte vom 06.07.2015 10:28:00:
|
||||
Klinische Chemie: Na 138 mM, K 4,6 mM
|
||||
|
||||
|
@ -1,7 +1,5 @@
|
||||
|
||||
Laborwerte vom 04.07.2015:
|
||||
Laborwerte vom 04.07.2015:
|
||||
Klinische Chemie: Na 144 mM, K 4,3 mM
|
||||
|
||||
Laborwerte vom 06.07.2015:
|
||||
Klinische Chemie: Na 138 mM, K 4,6 mM
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
Laborwerte vom 04.07.2015:
|
||||
Laborwerte vom 04.07.2015:
|
||||
Klinische Chemie: Na 144 mM, K 4,3 mM
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
Laborwerte vom 06.07.2015:
|
||||
Laborwerte vom 06.07.2015:
|
||||
Klinische Chemie: Na 138 mM, K 4,6 mM
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
; Apache License Version 2.0
|
||||
|
||||
[Setup]
|
||||
; #define DEBUG
|
||||
#define DEBUG
|
||||
|
||||
; Read the semantic and the installer file version from the VERSION file
|
||||
#define FILE_HANDLE FileOpen("..\zaaReloaded2\VERSION")
|
||||
|
@ -142,9 +142,13 @@ namespace zaaReloaded2.Formatter
|
||||
// Create undo record and styles prior to iterating over the elements
|
||||
// because a column switching element might trigger output to the
|
||||
// document.
|
||||
Globals.ThisAddIn.Application.UndoRecord.StartCustomRecord(
|
||||
String.Format("Laborformatierung ({0})", Properties.Settings.Default.AddinName)
|
||||
);
|
||||
bool hasAddin = Globals.ThisAddIn != null;
|
||||
if (hasAddin)
|
||||
{
|
||||
Globals.ThisAddIn.Application.UndoRecord.StartCustomRecord(
|
||||
String.Format("Laborformatierung ({0})", Properties.Settings.Default.AddinName)
|
||||
);
|
||||
}
|
||||
CreateStyles();
|
||||
|
||||
int current = 0;
|
||||
@ -172,15 +176,6 @@ namespace zaaReloaded2.Formatter
|
||||
}
|
||||
}
|
||||
|
||||
// Write everything to the Word document
|
||||
bool hasAddin = Globals.ThisAddIn != null;
|
||||
if (hasAddin)
|
||||
{
|
||||
Globals.ThisAddIn.Application.UndoRecord.StartCustomRecord(
|
||||
String.Format("Laborformatierung ({0})", Properties.Settings.Default.AddinName)
|
||||
);
|
||||
}
|
||||
CreateStyles();
|
||||
_secondaryBuffer.Flush();
|
||||
if (hasAddin)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user