diff options
author | Lluis Sanchez Gual <lluis@xamarin.com> | 2015-04-20 19:07:51 +0300 |
---|---|---|
committer | Lluis Sanchez Gual <lluis@xamarin.com> | 2015-04-20 19:07:51 +0300 |
commit | 95408b1a41b31b645f3a8c3323ab7d3ca4bff26b (patch) | |
tree | f8f137cddcb9a40499d303be95722fd2c6081bce /main/tests/UnitTests/TestBase.cs | |
parent | b70e4e04b4e41b8ec28d7e4b220b401ecf467e7a (diff) | |
parent | de043d330a8bf5855d4d983c804cd36727cb2406 (diff) |
Merge remote-tracking branch 'origin/roslyn' into new-project-model
Diffstat (limited to 'main/tests/UnitTests/TestBase.cs')
-rw-r--r-- | main/tests/UnitTests/TestBase.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/main/tests/UnitTests/TestBase.cs b/main/tests/UnitTests/TestBase.cs index 50d9e04926..6770a3133a 100644 --- a/main/tests/UnitTests/TestBase.cs +++ b/main/tests/UnitTests/TestBase.cs @@ -42,7 +42,7 @@ namespace UnitTests [TestFixtureSetUp] - public virtual void Setup () + public void Simulate () { if (firstRun) { string rootDir = Path.Combine (Util.TestsRootDir, "config"); @@ -62,12 +62,13 @@ namespace UnitTests } } - static void InternalSetup (string rootDir) + protected virtual void InternalSetup (string rootDir) { Util.ClearTmpDir (); Environment.SetEnvironmentVariable ("MONO_ADDINS_REGISTRY", rootDir); Environment.SetEnvironmentVariable ("XDG_CONFIG_HOME", rootDir); Runtime.Initialize (true); + Xwt.Application.Initialize (); Gtk.Application.Init (); TypeSystemService.TrackFileChanges = true; DesktopService.Initialize (); |