|
|
|
@ -14,6 +14,8 @@ using NUnit.Framework; |
|
|
|
namespace ICSharpCode.AvalonEdit |
|
|
|
namespace ICSharpCode.AvalonEdit |
|
|
|
{ |
|
|
|
{ |
|
|
|
[TestFixture] |
|
|
|
[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 |
|
|
|
public class WeakReferenceTests |
|
|
|
{ |
|
|
|
{ |
|
|
|
[Test] |
|
|
|
[Test] |
|
|
|
@ -49,8 +51,6 @@ namespace ICSharpCode.AvalonEdit |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
[Test] |
|
|
|
[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() |
|
|
|
public void DocumentDoesNotHoldReferenceToTextArea() |
|
|
|
{ |
|
|
|
{ |
|
|
|
bool collectedTextArea = false; |
|
|
|
bool collectedTextArea = false; |
|
|
|
|