Esempio n. 1
0
 public TestableDefaultRouter()
 {
     FileSystem = (TestFileSystem = new TestFileSystem(@"C:\Root"));
 }
Esempio n. 2
0
 public TestableEdgeApplication(AppFunc next, string virtualRoot)
     : base(next)
 {
     VirtualRoot = virtualRoot;
     FileSystem = TestFileSystem = new TestFileSystem(@"C:\Test");
     Router = new DefaultRouter(TestFileSystem);
     CompilationManager = (MockCompilationManager = new Mock<ICompilationManager>()).Object;
     Activator = (MockActivator = new Mock<IPageActivator>()).Object;
     Executor = (MockExecutor = new Mock<IPageExecutor>()).Object;
     Tracer = NullTraceFactory.Instance;
 }