Browse Source

Fixed XamlBinding unit tests (XAML CC now requires a System.Xaml reference).

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5089 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Daniel Grunwald 16 years ago
parent
commit
ae6ec527a1
  1. 1
      src/AddIns/BackendBindings/XamlBinding/XamlBinding.Tests/MockTextEditor.cs
  2. 2
      src/Libraries/AvalonEdit/ICSharpCode.AvalonEdit.Tests/WeakReferenceTests.cs

1
src/AddIns/BackendBindings/XamlBinding/XamlBinding.Tests/MockTextEditor.cs

@ -39,6 +39,7 @@ namespace ICSharpCode.XamlBinding.Tests @@ -39,6 +39,7 @@ namespace ICSharpCode.XamlBinding.Tests
Dictionary<string, string> referencedAssemblies = new Dictionary<string, string>() {
{ "System", null },
{ "System.Xml", null },
{ "System.Xaml", typeof(System.Xaml.XamlReader).Assembly.Location },
{ "WindowsBase", typeof(System.Windows.Media.Matrix).Assembly.Location },
{ "System.Core", null },
{ "PresentationCore", typeof(System.Windows.Media.Brush).Assembly.Location },

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

@ -105,7 +105,7 @@ namespace ICSharpCode.AvalonEdit @@ -105,7 +105,7 @@ namespace ICSharpCode.AvalonEdit
static void GarbageCollect()
{
GC.WaitForPendingFinalizers();
GC.Collect();
GC.Collect(GC.MaxGeneration, GCCollectionMode.Forced);
GC.WaitForPendingFinalizers();
}

Loading…
Cancel
Save