Пример #1
0
        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
        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;
            }
        }