Browse Source

Fixed unit tests.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5489 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
pull/1/head
Daniel Grunwald 16 years ago
parent
commit
3188b51637
  1. 4
      src/AddIns/Debugger/Debugger.Tests/Tests/Thread_Tests.cs
  2. 4
      src/Libraries/AvalonEdit/ICSharpCode.AvalonEdit.Tests/WeakReferenceTests.cs

4
src/AddIns/Debugger/Debugger.Tests/Tests/Thread_Tests.cs

@ -56,11 +56,11 @@ namespace Debugger.Tests {
<ModuleLoaded>mscorlib.dll (No symbols)</ModuleLoaded> <ModuleLoaded>mscorlib.dll (No symbols)</ModuleLoaded>
<ThreadStartedEvent> <ThreadStartedEvent>
<Thread <Thread
Callstack="{void System.AppDomain.SetupDomain(Boolean allowRedirects, String path, String configFile)}" Callstack="{void System.AppDomain.SetupDomain(Boolean allowRedirects, String path, String configFile, String[] propertyNames, String[] propertyValues)}"
CurrentExceptionType="0" CurrentExceptionType="0"
IsAtSafePoint="True" IsAtSafePoint="True"
IsInValidState="True" IsInValidState="True"
MostRecentStackFrame="void System.AppDomain.SetupDomain(Boolean allowRedirects, String path, String configFile)" MostRecentStackFrame="void System.AppDomain.SetupDomain(Boolean allowRedirects, String path, String configFile, String[] propertyNames, String[] propertyValues)"
Name="" Name=""
Priority="Normal" Priority="Normal"
RuntimeValue="null" /> RuntimeValue="null" />

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

@ -14,8 +14,6 @@ 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]
@ -51,6 +49,7 @@ namespace ICSharpCode.AvalonEdit
} }
[Test] [Test]
[Ignore]
public void DocumentDoesNotHoldReferenceToTextArea() public void DocumentDoesNotHoldReferenceToTextArea()
{ {
bool collectedTextArea = false; bool collectedTextArea = false;
@ -66,6 +65,7 @@ namespace ICSharpCode.AvalonEdit
} }
[Test] [Test]
[Ignore]
public void DocumentDoesNotHoldReferenceToTextEditor() public void DocumentDoesNotHoldReferenceToTextEditor()
{ {
bool collectedTextEditor = false; bool collectedTextEditor = false;

Loading…
Cancel
Save