Esempio n. 1
0
 public Server(ILog log, Settings settings, IEndpointFactory endpointFactory, IThreadManager threadManager)
 {
     this.log = log;
     this.settings = settings;
     this.endpointFactory = endpointFactory;
     this.threadManager = threadManager;
 }
Esempio n. 2
0
 protected override void given()
 {
     this.settings = settings_loader.load("shared_secret_too_short.config").GetSection("pushbaby") as Settings;
 }
Esempio n. 3
0
 protected override void given()
 {
     this.settings = settings_loader.load("uri_with_no_trailing_slash.config").GetSection("pushbaby") as Settings;
 }
Esempio n. 4
0
 protected override void when()
 {
     this.settings = settings_loader.load("basic_valid.config").GetSection("pushbaby") as Settings;
 }