Example #1
0
        public void CanSend_ExcludeStatusCodeButNotHttpException()
        {
            RaygunSettings.Settings.ExcludeHttpStatusCodesList = "404";
            _module.Init(new System.Web.HttpApplication());

            Assert.IsTrue(_module.ExposeCanSend(new InvalidOperationException()));

            RaygunSettings.Settings.ExcludeHttpStatusCodesList = ""; // Revert for other tests
        }
Example #2
0
 public void SetUp()
 {
     _module = new FakeRaygunHttpModule();
     _module.Init(new System.Web.HttpApplication());
 }
 public void SetUp()
 {
   _module = new FakeRaygunHttpModule();
   _module.Init(new System.Web.HttpApplication());
 }