You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/System.Windows.Forms.Design/tests/UnitTests/System/Windows/Forms/Design/ToolStripContainerActionListTests.cs
+16-10Lines changed: 16 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -156,12 +156,14 @@ public void GetSortedActionItems_ReturnsCorrectItems_WhenDockNotFilled()
156
156
.Select(i =>i.DisplayName??string.Empty)
157
157
.ToList();
158
158
159
-
displayNames.Should().Contain(new[]{
160
-
SR.ToolStripContainerActionList_Top,
161
-
SR.ToolStripContainerActionList_Bottom,
162
-
SR.ToolStripContainerActionList_Left,
163
-
SR.ToolStripContainerActionList_Right,
164
-
SR.DesignerShortcutDockInForm});
159
+
displayNames.Should().Contain(new[]
160
+
{
161
+
SR.ToolStripContainerActionList_Top,
162
+
SR.ToolStripContainerActionList_Bottom,
163
+
SR.ToolStripContainerActionList_Left,
164
+
SR.ToolStripContainerActionList_Right,
165
+
SR.DesignerShortcutDockInForm
166
+
});
165
167
}
166
168
167
169
[Fact]
@@ -175,11 +177,13 @@ public void GetSortedActionItems_ReturnsCorrectItems_WhenDockFilled()
175
177
.Select(i =>i.DisplayName??string.Empty)
176
178
.ToList();
177
179
178
-
displayNames.Should().Contain(new[]{
180
+
displayNames.Should().Contain(new[]
181
+
{
179
182
SR.ToolStripContainerActionList_Top,
180
183
SR.ToolStripContainerActionList_Bottom,
181
184
SR.ToolStripContainerActionList_Left,
182
-
SR.ToolStripContainerActionList_Right});
185
+
SR.ToolStripContainerActionList_Right
186
+
});
183
187
}
184
188
185
189
[Fact]
@@ -198,11 +202,13 @@ public void GetSortedActionItems_ReturnsCorrectItems_WhenProvideReparent()
0 commit comments