diff options
Diffstat (limited to 'cs/test/Ice/inheritance')
-rwxr-xr-x | cs/test/Ice/inheritance/Client.cs | 10 | ||||
-rwxr-xr-x | cs/test/Ice/inheritance/Collocated.cs | 56 | ||||
-rwxr-xr-x | cs/test/Ice/inheritance/Server.cs | 2 |
3 files changed, 34 insertions, 34 deletions
diff --git a/cs/test/Ice/inheritance/Client.cs b/cs/test/Ice/inheritance/Client.cs index fd09ff69976..1ebe61d7967 100755 --- a/cs/test/Ice/inheritance/Client.cs +++ b/cs/test/Ice/inheritance/Client.cs @@ -42,14 +42,14 @@ public class Client } catch(Ice.LocalException ex) { - System.Console.Error.WriteLine(ex); + System.Console.Error.WriteLine(ex); status = 1; } } - if(status != 0) - { - System.Environment.Exit(status); - } + if(status != 0) + { + System.Environment.Exit(status); + } } } diff --git a/cs/test/Ice/inheritance/Collocated.cs b/cs/test/Ice/inheritance/Collocated.cs index dac749441d9..5155ca6b6a6 100755 --- a/cs/test/Ice/inheritance/Collocated.cs +++ b/cs/test/Ice/inheritance/Collocated.cs @@ -17,39 +17,39 @@ public class Collocated Ice.Object obj = new InitialI(adapter); adapter.add(obj, communicator.stringToIdentity("initial")); AllTests.allTests(communicator); - return 0; + return 0; } public static void Main(string[] args) { - int status = 0; - Ice.Communicator communicator = null; - - try - { - communicator = Ice.Util.initialize(ref args); - status = run(args, communicator); - } - catch(System.Exception ex) - { - System.Console.WriteLine(ex); - status = 1; - } - - if(communicator != null) - { - try - { - communicator.destroy(); - } - catch(Ice.LocalException ex) - { - System.Console.WriteLine(ex); - status = 1; - } - } - + int status = 0; + Ice.Communicator communicator = null; + + try + { + communicator = Ice.Util.initialize(ref args); + status = run(args, communicator); + } + catch(System.Exception ex) + { + System.Console.WriteLine(ex); + status = 1; + } + + if(communicator != null) + { + try + { + communicator.destroy(); + } + catch(Ice.LocalException ex) + { + System.Console.WriteLine(ex); + status = 1; + } + } + if(status != 0) { System.Environment.Exit(status); diff --git a/cs/test/Ice/inheritance/Server.cs b/cs/test/Ice/inheritance/Server.cs index bbc14d015f0..08480d329b7 100755 --- a/cs/test/Ice/inheritance/Server.cs +++ b/cs/test/Ice/inheritance/Server.cs @@ -44,7 +44,7 @@ public class Server } catch(Ice.LocalException ex) { - System.Console.Error.WriteLine(ex); + System.Console.Error.WriteLine(ex); status = 1; } } |