public void Init() { appHost = new IntegrationTestHost(); var debugSettings = new FileInfo(@"~/../../../TechStacks/wwwroot_build/deploy/appsettings.license.txt".MapAbsolutePath()); Licensing.RegisterLicenseFromFileIfExists(debugSettings.FullName); appHost.Init(); appHost.Start("http://*:21001/"); }
void IAssemblyContext.OnAssemblyStart() { _port = 16000; var listeningOn = "http://localhost:" + _port + "/"; _appHost = new ServiceStackHost(); _appHost.Init(); _appHost.Start(listeningOn); }
public void OneTimeSetUp() { _port = 16000; var listeningOn = String.Format("http://localhost:{0}/", _port); _appHost = new ServiceStackHost(); _appHost.Init(); _appHost.Start(listeningOn); }
protected virtual void OneTimeSetUp() { AppHost = new TestAppHost(); foreach (var appSetting in CustomAppSettings) { AppHost.AppSettings.Set(appSetting.Key, appSetting.Value); } AppHost.Init(); AppHost.Start(BaseUri); ServiceInterface.Helper.ConfigureMappers(); ServiceClient = new JsonServiceClient(BaseUri); }
public void TestFixtureSetUp() { appHost = new AppHost(); appHost.Init(); appHost.Start(Config.ListeningOn); }
public void OnTestFixtureSetUp() { appHost = new AuthDigestAppHost(WebHostUrl, Configure); appHost.Init(); appHost.Start(ListeningOn); }
public void TestFixtureSetUp() { AppHost = new SharedDtoAppHost(); AppHost.Init(); AppHost.Start(Config.ListeningOn); }
public void TestFixtureSetUp() { appHost = new TestAppHost(); appHost.Init(); appHost.Start(Constants.ListeningOn); }