public PushKeysTests() { DependencyInjectionConfig.Init(); ApiStubHelper.StartServer(); JsonConvert.DefaultSettings = () => new JsonSerializerSettings { Converters = new JsonConverter[] { new JsonMockConverter() } }; _developerToolsService = ServiceLocator.Current.GetInstance <IDeveloperToolsService>(); _exposureNotificationWebService = new ExposureNotificationWebService(); }
public PullKeysTests() { DependencyInjectionConfig.Init(); string zipDirectory = ServiceLocator.Current.GetInstance <IFileSystem>().CacheDirectory; if (!Directory.Exists(zipDirectory)) { Directory.CreateDirectory(zipDirectory); } _helper = new ZipDownloaderHelper(); _preferences = ServiceLocator.Current.GetInstance <IPreferences>(); _logManager = ServiceLocator.Current.GetInstance <ILoggingManager>(); _developerTools = ServiceLocator.Current.GetInstance <IDeveloperToolsService>(); _preferences.Clear(); _logManager.DeleteAll(); _developerTools.ClearAllFields(); }
public PullRulesTests() { DependencyInjectionConfig.Init(); _developerToolsService = ServiceLocator.Current.GetInstance <IDeveloperToolsService>(); }