Exemple #1
0
        public override void Setup()
        {
            base.Setup();

            this.requestParams = string.Format("?servertimestamp={0}&appversion={1}", this.serverTimestamp, this.appVersion);
            this.Logger.Debug("Setting up test.");
            this.localOtaService = new LocalOtaService();
        }
Exemple #2
0
        public override void TearDown()
        {
            base.TearDown();

            // await this.localOtaService.Db.Connection.DeleteAllAsync<OtaSetting>();
            this.Logger.Debug("Deleted all OtaSettings. Next test");
            this.localOtaService = null;
        }
Exemple #3
0
 /// <summary>
 /// Prevents a default instance of the <see cref="Settings"/> class from being created.
 /// Initializes a new instance of the <see cref="Settings"/> class.
 /// </summary>
 private Settings()
 {
     this._localOtaService = new LocalOtaService();
 }