OSDN Git Service

わっちドックのテストがいつの間にか通らなくなっていた
authortest <test@yahoo.co.jp>
Tue, 5 Feb 2019 11:51:13 +0000 (20:51 +0900)
committertest <test@yahoo.co.jp>
Tue, 5 Feb 2019 11:51:13 +0000 (20:51 +0900)
WPF/UnitTest/DocumentTest.cs

index 7f7ffbd..5117bb5 100644 (file)
@@ -434,8 +434,7 @@ namespace UnitTest
             doc.MarkerPatternSet.Add(MarkerIDs.Defalut, dog);
             doc.Clear();
             doc.Append(str);
-            IEnumerable<Marker> actual = doc.Markers.Get(MarkerIDs.Defalut);
-            view.LayoutLines.GetLayout(0);
+            IEnumerable<Marker> actual = doc.MarkerPatternSet.GetMarkers(new CreateLayoutEventArgs(0, str.Length, str));
             this.AreEqual(result, actual);
         }