Beispiel #1
0
        public async Task <IReadOnlyCollection <TestCase> > GetTestChildren(CancellationToken cancellationToken)
        {
            if (children != null)
            {
                return(children);
            }

            var command  = new GetChildrenCommand();
            var response = await command.Send(this, null, cancellationToken).ConfigureAwait(false);

            children = await ReadTestCaseList(response, cancellationToken);

            return(children);
        }