예제 #1
0
        public static WebConfiguration GetExecutionEngineMappingWithNoFilename()
        {
            WebConfigurationMock config = new WebConfigurationMock();

            config.ExecutionEngine.UrlMappingFile = null;
            return(config);
        }
예제 #2
0
        public static WebConfiguration GetExecutionEngineUrlMapping()
        {
            WebConfigurationMock config = new WebConfigurationMock();

            config.ExecutionEngine.UrlMappingFile = @"Res\UrlMapping.xml";
            return(config);
        }
예제 #3
0
        public static WebConfiguration GetExecutionEngineWithDefaultWxeHandler()
        {
            WebConfigurationMock config = new WebConfigurationMock();

            config.ExecutionEngine.DefaultWxeHandler = "WxeHandler.ashx";
            return(config);
        }
예제 #4
0
        public static WebConfiguration GetLevelDoubleA()
        {
            WebConfigurationMock config = new WebConfigurationMock();

            config.Wcag.Debugging        = WcagDebugMode.Disabled;
            config.Wcag.ConformanceLevel = WaiConformanceLevel.DoubleA;
            return(config);
        }
예제 #5
0
        public static WebConfiguration GetDebugExceptionLevelUndefined()
        {
            WebConfigurationMock config = new WebConfigurationMock();

            config.Wcag.Debugging        = WcagDebugMode.Exception;
            config.Wcag.ConformanceLevel = WaiConformanceLevel.Undefined;
            return(config);
        }
예제 #6
0
        public static WebConfiguration GetDebugLoggingLevelA()
        {
            WebConfigurationMock config = new WebConfigurationMock();

            config.Wcag.Debugging        = WcagDebugMode.Logging;
            config.Wcag.ConformanceLevel = WaiConformanceLevel.A;
            return(config);
        }