AspUnitRunner.Core.AspRunner.WithTestContainerAndCase C# (CSharp) Метод

WithTestContainerAndCase() публичный Метод

public WithTestContainerAndCase ( string testContainer, string testCase ) : IRunner
testContainer string
testCase string
Результат IRunner
        public IRunner WithTestContainerAndCase(string testContainer, string testCase)
        {
            if (IsSpecified(testCase, AllTestCases) && !IsSpecified(testContainer, AllTestContainers))
                throw new ArgumentException("A test container must be specified if a test case is specified.", "testContainer");

            _testContainer = Normalize(testContainer, AllTestContainers);
            _testCase = Normalize(testCase, AllTestCases);

            return this;
        }