示例#1
0
文件: Client.cs 项目: RedTaylor/ice
        public override async Task RunAsync(string[] args)
        {
            await using Communicator communicator = Initialize(ref args);
            ITestIntfPrx test = await AllTests.RunAsync(this);

            await test.ShutdownAsync();
        }
示例#2
0
文件: Client.cs 项目: keno1213/ice
        public override async Task RunAsync(string[] args)
        {
            await using Communicator communicator = Initialize(ref args);
            try
            {
                ITestIntfPrx server = await AllTests.Run(this, false);

                await server.ShutdownAsync();
            }
            catch (TestFailedException ex)
            {
                Output.WriteLine($"test failed: {ex.Reason}");
                Assert(false);
                throw;
            }
        }