Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ProfileController.RunPsTest C# (CSharp) 메소드

RunPsTest() 공개 메소드

public RunPsTest ( XunitTracingInterceptor logger, string tenant ) : void
logger XunitTracingInterceptor
tenant string
리턴 void
        public void RunPsTest(XunitTracingInterceptor logger, string tenant, params string[] scripts)
        {
            var callingClassType = TestUtilities.GetCallingClass(2);
            var mockName = TestUtilities.GetCurrentMethodName(2);

            logger.Information(string.Format("Test method entered: {0}.{1}", callingClassType, mockName));
            helper.TracingInterceptor = logger;
            RunPsTestWorkflow(
                () => scripts,
                // no custom initializer
                null,
                // no custom cleanup 
                null,
                callingClassType,
                mockName, tenant);
            logger.Information(string.Format("Test method finished: {0}.{1}", callingClassType, mockName));
        }