using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading;
using System.Threading.Tasks;
using Xunit.Runner.Data;
namespace Xunit.Runner.Wpf
{
internal interface ITestUtil
{
///
/// Discover the list of test cases which are available in the specified assembly.
///
Task Discover(
string assebmlyFileName,
Action> testsDiscovered,
CancellationToken cancellationToken = default(CancellationToken));
///
/// Begin a run of all unit tests for the given assembly.
///
Task RunAll(
string assemblyFileName,
Action> testsFinished,
CancellationToken cancellationToken = default(CancellationToken));
///
/// Begin a run of specific unit tests for the given assembly.
///
Task RunSpecific(
string assemblyFileName,
ImmutableArray testCasesToRun,
Action> testsFinished,
CancellationToken cancellationToken = default(CancellationToken));
}
}