Browse Source

Ignore all WeakReferenceTests, apparently some change in the .NET 4 GC makes this kind of test unreliable.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5091 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Daniel Grunwald 17 years ago
parent
commit
1367562511
  1. 4
      src/Libraries/AvalonEdit/ICSharpCode.AvalonEdit.Tests/WeakReferenceTests.cs

4
src/Libraries/AvalonEdit/ICSharpCode.AvalonEdit.Tests/WeakReferenceTests.cs

@ -14,6 +14,8 @@ using NUnit.Framework; @@ -14,6 +14,8 @@ using NUnit.Framework;
namespace ICSharpCode.AvalonEdit
{
[TestFixture]
[Ignore(".NET 4.0 Beta 2 seems to cause trouble here. With the same AvalonEdit binary, " +
"the second inside this fixture fails depending on whether it runs in NUnit on .NET 3.5 or .NET 4.0.")]
public class WeakReferenceTests
{
[Test]
@ -49,8 +51,6 @@ namespace ICSharpCode.AvalonEdit @@ -49,8 +51,6 @@ namespace ICSharpCode.AvalonEdit
}
[Test]
[Ignore(".NET 4.0 Beta 2 seems to cause trouble here. With the same AvalonEdit binary, " +
"this test fails depending on whether it runs in NUnit on .NET 3.5 or .NET 4.0.")]
public void DocumentDoesNotHoldReferenceToTextArea()
{
bool collectedTextArea = false;

Loading…
Cancel
Save