CreateHost() public static method

public static CreateHost ( HostType hostType, TransportType transportType, string testName, string url = null ) : ITestHost
hostType HostType
transportType TransportType
testName string
url string
return ITestHost
Example #1
0
        protected ITestHost CreateHost(HostType hostType, TransportType transportType)
        {
            string detailedTestName = GetTestName() + "." + hostType + "." + transportType + "." + Interlocked.Increment(ref _id);

            return(HostedTestFactory.CreateHost(hostType, transportType, detailedTestName));
        }