Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/xwt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVsevolod Kukol <sevo@sevo.org>2015-02-13 19:08:13 +0300
committerVsevolod Kukol <sevo@sevo.org>2015-02-13 19:08:13 +0300
commitd39e92d920c9f1089516449683b706096af7d42c (patch)
treef994d1a2fb66833c7c0b47f9978602a9fa6f390d /Testing
parenta9afd6946d07ec50d29825eb700ae4f7f43246bb (diff)
[TEST] initialize ReferenceImageManager on NUnit SetUp
Diffstat (limited to 'Testing')
-rw-r--r--Testing/GtkTestRunner/GtkInit.cs1
-rw-r--r--Testing/GtkTestRunner/Main.cs2
-rw-r--r--Testing/MacTestRunner/MacInit.cs1
-rw-r--r--Testing/MacTestRunner/Main.cs2
-rw-r--r--Testing/WpfTestRunner/Program.cs2
-rw-r--r--Testing/WpfTestRunner/WpfInit.cs1
6 files changed, 3 insertions, 6 deletions
diff --git a/Testing/GtkTestRunner/GtkInit.cs b/Testing/GtkTestRunner/GtkInit.cs
index 2e8dcb4c..186ab86a 100644
--- a/Testing/GtkTestRunner/GtkInit.cs
+++ b/Testing/GtkTestRunner/GtkInit.cs
@@ -34,6 +34,7 @@ namespace Xwt
public void Init ()
{
Application.Initialize (Xwt.ToolkitType.Gtk);
+ ReferenceImageManager.Init ("GtkTestRunner");
}
[TearDown]
diff --git a/Testing/GtkTestRunner/Main.cs b/Testing/GtkTestRunner/Main.cs
index 807fa042..6dc4b09c 100644
--- a/Testing/GtkTestRunner/Main.cs
+++ b/Testing/GtkTestRunner/Main.cs
@@ -35,8 +35,6 @@ namespace GtkTestRunner
{
public static void Main (string[] args)
{
- ReferenceImageManager.Init ("GtkTestRunner");
-
var list = new List<string> (args);
list.Add ("-domain=None");
list.Add ("-noshadow");
diff --git a/Testing/MacTestRunner/MacInit.cs b/Testing/MacTestRunner/MacInit.cs
index 2a7c9b7a..a809c701 100644
--- a/Testing/MacTestRunner/MacInit.cs
+++ b/Testing/MacTestRunner/MacInit.cs
@@ -34,6 +34,7 @@ namespace Xwt
public void Init ()
{
Application.Initialize (Xwt.ToolkitType.Cocoa);
+ ReferenceImageManager.Init ("MacTestRunner");
}
[TearDown]
diff --git a/Testing/MacTestRunner/Main.cs b/Testing/MacTestRunner/Main.cs
index 6f95f6b7..3abdb145 100644
--- a/Testing/MacTestRunner/Main.cs
+++ b/Testing/MacTestRunner/Main.cs
@@ -10,8 +10,6 @@ namespace MacTest
{
static void Main (string [] args)
{
- ReferenceImageManager.Init ("MacTestRunner");
-
var list = new List<string> (args);
list.Add ("-domain=None");
list.Add ("-noshadow");
diff --git a/Testing/WpfTestRunner/Program.cs b/Testing/WpfTestRunner/Program.cs
index 647ea46d..9128e2dc 100644
--- a/Testing/WpfTestRunner/Program.cs
+++ b/Testing/WpfTestRunner/Program.cs
@@ -11,8 +11,6 @@ namespace WpfTestRunner
[STAThread]
static void Main (string[] args)
{
- ReferenceImageManager.Init ("WpfTestRunner");
-
var list = new List<string> (args);
list.Add ("-domain=None");
list.Add ("-noshadow");
diff --git a/Testing/WpfTestRunner/WpfInit.cs b/Testing/WpfTestRunner/WpfInit.cs
index e624fcd0..88d20476 100644
--- a/Testing/WpfTestRunner/WpfInit.cs
+++ b/Testing/WpfTestRunner/WpfInit.cs
@@ -36,6 +36,7 @@ namespace Xwt
public void Init ()
{
Application.Initialize (Xwt.ToolkitType.Wpf);
+ ReferenceImageManager.Init ("WpfTestRunner");
}
[TearDown]