AWSSDK.Tests.Framework.TestRunner.TestListener.TestCompleted C# (CSharp) Method

TestCompleted() protected method

protected TestCompleted ( string testMethodName, bool succeeded ) : void
testMethodName string
succeeded bool
return void
            protected virtual void TestCompleted(string testMethodName, bool succeeded)
            {
                var res = string.Format(@"Test '{0}'  {1}", testMethodName, succeeded ? @"PASSED" : @"FAILED");
                if (!succeeded)
                    failedTestCases.Add(testMethodName);

                TestDriver.Results.Enqueue(res);
            }