public void SetupFixture()
        {
            RollbarUnitTestEnvironmentUtil.SetupLiveTestRollbarInfrastructure();

            RollbarQueueController.Instance.FlushQueues();
            //RollbarQueueController.Instance.InternalEvent += Instance_InternalEvent;

            _logger = RollbarFactory.CreateNew().Configure(RollbarInfrastructure.Instance.Config.RollbarLoggerConfig);
        }
        /// <summary>
        /// Sets the fixture up.
        /// </summary>
        //[TestInitialize]
        public virtual void SetupFixture()
        {
            RollbarUnitTestEnvironmentUtil.SetupLiveTestRollbarInfrastructure();

            RollbarDataSecurityOptions dataSecurityOptions = new RollbarDataSecurityOptions();

            dataSecurityOptions.ScrubFields = new string[] { "secret", "super_secret", };
            RollbarInfrastructure.Instance
            .Config
            .RollbarLoggerConfig
            .RollbarDataSecurityOptions
            .Reconfigure(dataSecurityOptions);

            this._loggerConfig = RollbarInfrastructure.Instance.Config.RollbarLoggerConfig;

            this.Reset();
        }
 static RollbarLiveFixtureBase()
 {
     RollbarUnitTestEnvironmentUtil.SetupLiveTestRollbarInfrastructure();
 }
 public void SetupFixture()
 {
     RollbarUnitTestEnvironmentUtil.SetupLiveTestRollbarInfrastructure();
 }
 public void SetupFixture()
 {
     RollbarUnitTestEnvironmentUtil.SetupLiveTestRollbarInfrastructure();
     RollbarQueueController.Instance.InternalEvent += Instance_InternalEvent;
 }
Ejemplo n.º 6
0
 public void SetupFixture()
 {
     RollbarUnitTestEnvironmentUtil.SetupLiveTestRollbarInfrastructure();
     this._config = RollbarInfrastructure.Instance.Config;
 }
 public void SetupFixture()
 {
     //SynchronizationContext.SetSynchronizationContext(new SynchronizationContext());
     RollbarUnitTestEnvironmentUtil.SetupLiveTestRollbarInfrastructure();
     RollbarTelemetryCollector.Instance.Init(new RollbarTelemetryOptions());
 }