コード例 #1
0
        public ISelenoApplication CreateApplication()
        {
            Validate();
            _logFactory
                .GetLogger(GetType())
                .InfoFormat("Seleno v{0}, .NET Framework v{1}", 
                    typeof(SelenoApplicationRunner).Assembly.GetName().Version, Environment.Version);

            var container = BuildContainer();
            var app = new SelenoApplication(container);

            return app;
        }
コード例 #2
0
 public void Then_it_should_navigate_using_the_seleno_application()
 {
     SelenoApplication.Received().NavigateToInitialPage <TestPage>(RelativeUrl);
 }
コード例 #3
0
 public void AndThen_it_should_Initialise_the_Seleno_Application()
 {
     SelenoApplication.Received().Initialize();
 }
 public void Then_it_should_navigate_using_the_seleno_application()
 {
     SelenoApplication
     .Received()
     .NavigateToInitialPage <TestController, TestPage>(_controllerAction);
 }