Maestro IT added
authorVásáry Dániel <vasary@elgekko.net>
Thu, 11 Apr 2024 11:43:11 +0000 (13:43 +0200)
committerVásáry Dániel <vasary@elgekko.net>
Thu, 11 Apr 2024 11:43:11 +0000 (13:43 +0200)
client/IntegrationTests/MaestroIT.cs

index 9c63ea2eaebf5468c27c05f744d5db4a37de0f28..bbb0ca8377abc5157749e093f12604f5fc975270 100644 (file)
@@ -1,20 +1,20 @@
-using Microsoft.VisualStudio.TestTools.UnitTesting;\r
+using MaestroShared.Commons;\r
+using MaestroShared.Configuration;\r
+using MaestroShared.Target;\r
+using MaestroShared.Targets;\r
+using Microsoft.VisualStudio.TestTools.UnitTesting;\r
+using Microsoft.Win32.SafeHandles;\r
+using MySql.Data.MySqlClient;\r
+using SharpCifs.Smb;\r
 using System;\r
 using System.Diagnostics;\r
-using SharpCifs.Smb;\r
-using System.Runtime.InteropServices;\r
-using Microsoft.Win32.SafeHandles;\r
+using System.Drawing;\r
+using System.IO;\r
 using System.Runtime.ConstrainedExecution;\r
+using System.Runtime.InteropServices;\r
 using System.Security;\r
-using System.IO;\r
-using System.Text.RegularExpressions;\r
-using MySql.Data.MySqlClient;\r
 using System.Text;\r
-using MaestroShared.Configuration;\r
-using MaestroShared.Commons;\r
-using MaestroShared.Targets;\r
-using MaestroShared.Target;\r
-using System.Drawing;\r
+using System.Text.RegularExpressions;\r
 \r
 namespace IntegrationTests {\r
     public sealed class SafeTokenHandle : SafeHandleZeroOrMinusOneIsInvalid {\r
@@ -61,8 +61,7 @@ namespace IntegrationTests {
             try {\r
                 long l = from.Length();\r
                 from.CopyTo(to);\r
-            }\r
-            catch (Exception e) {\r
+            } catch (Exception e) {\r
             }\r
         }\r
 \r
@@ -251,8 +250,7 @@ namespace IntegrationTests {
                 //Query(connection, "SHOW TABLES;");\r
                 Query(connection, "SELECT * FROM archive_records;");\r
                 connection.Close();\r
-            }\r
-            catch (MySqlException ex) {\r
+            } catch (MySqlException ex) {\r
                 Debug.WriteLine(ex.Message);\r
             }\r
         }\r
@@ -293,5 +291,6 @@ namespace IntegrationTests {
                 Icon.FromHandle(resized.GetHicon()).Save(stream);\r
             }\r
         }\r
+\r
     }\r
 }
\ No newline at end of file