コード例 #1
0
 public OrleansTaskSchedulerAdvancedTests(ITestOutputHelper output)
 {
     this.output = output;
     this.runtimeStatisticsGroup = new RuntimeStatisticsGroup();
     this.performanceMetrics     = new SiloPerformanceMetrics(this.runtimeStatisticsGroup);
     OrleansTaskSchedulerBasicTests.InitSchedulerLogging();
 }
コード例 #2
0
 public OrleansTaskSchedulerAdvancedTests_Set2(ITestOutputHelper output)
 {
     this.output = output;
     OrleansTaskSchedulerBasicTests.InitSchedulerLogging();
     context         = new UnitTestSchedulingContext();
     masterScheduler = TestInternalHelper.InitializeSchedulerForTesting(context);
 }
コード例 #3
0
 public OrleansTaskSchedulerAdvancedTests_Set2(ITestOutputHelper output)
 {
     this.output             = output;
     this.loggerFactory      = OrleansTaskSchedulerBasicTests.InitSchedulerLogging();
     this.context            = new UnitTestSchedulingContext();
     this.performanceMetrics = new TestHooksHostEnvironmentStatistics();
 }
コード例 #4
0
 public OrleansTaskSchedulerAdvancedTests_Set2(ITestOutputHelper output)
 {
     this.output             = output;
     loggerFactory           = OrleansTaskSchedulerBasicTests.InitSchedulerLogging();
     context                 = new UnitTestSchedulingContext();
     this.performanceMetrics = new SiloPerformanceMetrics(new NoOpHostEnvironmentStatistics(loggerFactory), new AppEnvironmentStatistics(), this.loggerFactory);
     masterScheduler         = TestInternalHelper.InitializeSchedulerForTesting(context, this.performanceMetrics, loggerFactory);
 }
コード例 #5
0
 public OrleansTaskSchedulerAdvancedTests_Set2(ITestOutputHelper output)
 {
     this.output   = output;
     loggerFactory = OrleansTaskSchedulerBasicTests.InitSchedulerLogging();
     context       = new UnitTestSchedulingContext();
     this.runtimeStatisticsGroup = new RuntimeStatisticsGroup(loggerFactory);
     this.performanceMetrics     = new SiloPerformanceMetrics(this.runtimeStatisticsGroup, this.loggerFactory);
     masterScheduler             = TestInternalHelper.InitializeSchedulerForTesting(context, this.performanceMetrics, loggerFactory);
 }
コード例 #6
0
 public OrleansTaskSchedulerAdvancedTests_Set2()
 {
     OrleansTaskSchedulerBasicTests.InitSchedulerLogging();
 }
コード例 #7
0
 public OrleansTaskSchedulerAdvancedTests(ITestOutputHelper output)
 {
     this.output        = output;
     this.loggerFactory = OrleansTaskSchedulerBasicTests.InitSchedulerLogging();
 }
コード例 #8
0
 public OrleansTaskSchedulerAdvancedTests(ITestOutputHelper output)
 {
     this.output             = output;
     this.loggerFactory      = OrleansTaskSchedulerBasicTests.InitSchedulerLogging();
     this.performanceMetrics = new SiloPerformanceMetrics(new NoOpHostEnvironmentStatistics(this.loggerFactory), new AppEnvironmentStatistics(), this.loggerFactory, Options.Create <SiloStatisticsOptions>(new SiloStatisticsOptions()));
 }
コード例 #9
0
 public void MyTestInitialize()
 {
     OrleansTaskSchedulerBasicTests.InitSchedulerLogging();
 }