Browse Source

Readded all tests

Martin Edlund 5 years ago
parent
commit
475e8cb1d9

+ 0 - 1
.appveyor.yml

@@ -12,7 +12,6 @@ before_build:
  
 artifacts:
  - path: \SketchAssistant\GeneratedReports\
- - path: \SketchAssistant\screen.jpg
 #  - path: SketchAssistant/WhiteTests/test_input_files/whitelisted/*.svg
 #    name: whitelisted svg files for testing
 #  - path: SketchAssistant/WhiteTests/test_input_files/blacklisted/*.svg

+ 1 - 1
SketchAssistant/SketchAssistantWPF/MainWindow.xaml.cs

@@ -360,7 +360,7 @@ namespace SketchAssistantWPF
         public Tuple<string, string> openNewDialog(string Filter)
         {
             openFileDialog.Filter = Filter;
-            openFileDialog.InitialDirectory = System.AppDomain.CurrentDomain.BaseDirectory;
+            openFileDialog.InitialDirectory = AppDomain.CurrentDomain.BaseDirectory;
             if (openFileDialog.ShowDialog() == true)
             {
                 return new Tuple<string, string>(openFileDialog.FileName, openFileDialog.SafeFileName);

+ 1 - 2
SketchAssistant/WhiteTests/UITest.cs

@@ -241,7 +241,6 @@ namespace WhiteTests
             mainWindow.Close();
         }
 
-        /*
         [TestMethod]
         [TestCategory("DebugInput")]
         public void CreateCanvasTest()
@@ -1010,6 +1009,6 @@ namespace WhiteTests
                 }
             }
             Assert.AreEqual(len, uut.GetLength(), 0.000001);
-        }*/
+        }
     }
 }