Skip to content

Commit

Permalink
Skip DoDragDrop tests
Browse files Browse the repository at this point in the history
  • Loading branch information
weltkante committed May 23, 2020
1 parent a1aae9a commit 2178bdd
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1805,7 +1805,8 @@ public static IEnumerable<object[]> DoDragDrop_TestData()
}
}

[WinFormsTheory]
[WinFormsTheory(Skip = "hangs CI, see https://github.com/dotnet/winforms/issues/3336")]
[ActiveIssue("https://github.com/dotnet/winforms/issues/3336")]
[MemberData(nameof(DoDragDrop_TestData))]
public void Control_DoDragDrop_Invoke_ReturnsNone(object data, DragDropEffects allowedEffects)
{
Expand All @@ -1814,7 +1815,8 @@ public void Control_DoDragDrop_Invoke_ReturnsNone(object data, DragDropEffects a
Assert.False(control.IsHandleCreated);
}

[WinFormsTheory]
[WinFormsTheory(Skip = "hangs CI, see https://github.com/dotnet/winforms/issues/3336")]
[ActiveIssue("https://github.com/dotnet/winforms/issues/3336")]
[MemberData(nameof(DoDragDrop_TestData))]
public void Control_DoDragDrop_InvokeWithHandle_ReturnsNone(object data, DragDropEffects allowedEffects)
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Licensed to the .NET Foundation under one or more agreements.
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

Expand Down Expand Up @@ -10080,15 +10080,17 @@ public static IEnumerable<object[]> DoDragDrop_TestData()
}
}

[WinFormsTheory]
[WinFormsTheory(Skip = "hangs CI, see https://github.com/dotnet/winforms/issues/3336")]
[ActiveIssue("https://github.com/dotnet/winforms/issues/3336")]
[MemberData(nameof(DoDragDrop_TestData))]
public void ToolStripItem_DoDragDrop_Invoke_ReturnsNone(object data, DragDropEffects allowedEffects)
{
using var item = new SubToolStripItem();
Assert.Equal(DragDropEffects.None, item.DoDragDrop(data, allowedEffects));
}

[WinFormsTheory]
[WinFormsTheory(Skip = "hangs CI, see https://github.com/dotnet/winforms/issues/3336")]
[ActiveIssue("https://github.com/dotnet/winforms/issues/3336")]
[MemberData(nameof(DoDragDrop_TestData))]
public void ToolStripItem_DoDragDrop_InvokeWithParent_ReturnsNone(object data, DragDropEffects allowedEffects)
{
Expand All @@ -10101,7 +10103,8 @@ public void ToolStripItem_DoDragDrop_InvokeWithParent_ReturnsNone(object data, D
Assert.False(parent.IsHandleCreated);
}

[WinFormsTheory]
[WinFormsTheory(Skip = "hangs CI, see https://github.com/dotnet/winforms/issues/3336")]
[ActiveIssue("https://github.com/dotnet/winforms/issues/3336")]
[MemberData(nameof(DoDragDrop_TestData))]
public void ToolStripItem_DoDragDrop_InvokeWithParentAllowItemReorder_ReturnsNone(object data, DragDropEffects allowedEffects)
{
Expand All @@ -10117,7 +10120,8 @@ public void ToolStripItem_DoDragDrop_InvokeWithParentAllowItemReorder_ReturnsNon
Assert.False(parent.IsHandleCreated);
}

[WinFormsTheory]
[WinFormsTheory(Skip = "hangs CI, see https://github.com/dotnet/winforms/issues/3336")]
[ActiveIssue("https://github.com/dotnet/winforms/issues/3336")]
[MemberData(nameof(DoDragDrop_TestData))]
public void ToolStripItem_DoDragDrop_InvokeWithOwner_ReturnsNone(object data, DragDropEffects allowedEffects)
{
Expand All @@ -10130,7 +10134,8 @@ public void ToolStripItem_DoDragDrop_InvokeWithOwner_ReturnsNone(object data, Dr
Assert.False(owner.IsHandleCreated);
}

[WinFormsTheory]
[WinFormsTheory(Skip = "hangs CI, see https://github.com/dotnet/winforms/issues/3336")]
[ActiveIssue("https://github.com/dotnet/winforms/issues/3336")]
[MemberData(nameof(DoDragDrop_TestData))]
public void ToolStripItem_DoDragDrop_InvokeWithOwnerAllowItemReorder_ReturnsNone(object data, DragDropEffects allowedEffects)
{
Expand All @@ -10146,7 +10151,8 @@ public void ToolStripItem_DoDragDrop_InvokeWithOwnerAllowItemReorder_ReturnsNone
Assert.False(owner.IsHandleCreated);
}

[WinFormsFact]
[WinFormsFact(Skip = "hangs CI, see https://github.com/dotnet/winforms/issues/3336")]
[ActiveIssue("https://github.com/dotnet/winforms/issues/3336")]
public void ToolStripItem_DoDragDrop_NullData_ThrowsArgumentNullException()
{
using var item = new SubToolStripItem();
Expand Down

0 comments on commit 2178bdd

Please sign in to comment.