Version 3.0.290

This commit is contained in:
Oliver Hauff 2022-04-10 17:38:34 +02:00
parent af3c20ea1c
commit ad3cdbcadf
231 changed files with 14555 additions and 7798 deletions

View file

@ -12,7 +12,7 @@ using TINK.Repository;
using TINK.ViewModel.Map;
using TINK.ViewModel.Settings;
using TINK.Services;
using TINK.Model.Services.Geolocation;
using TINK.Services.Geolocation;
using TestFramework.Model.User.Account;
using TestFramework.Model.Device;
using TestFramework.Services.BluetoothLock;
@ -51,7 +51,7 @@ namespace TestShareeLib.UseCases.Startup
new DeviceMock(),
new SpecialFolderMock(),
null, // Cipher
new PermissionsMock(),
Substitute.For<ILocationPermission>(),
isConnectedFunc: () => true,
currentVersion: new Version(3, 2, 0, 115), // Current app version
lastVersion: new Version(3, 0, 173)); // Current app version. Must be larger or equal 3.0.173 to
@ -104,7 +104,7 @@ namespace TestShareeLib.UseCases.Startup
new DeviceMock(),
new SpecialFolderMock(),
null, // Cipher
new PermissionsMock(),
Substitute.For<ILocationPermission>(),
isConnectedFunc: () => true,
currentVersion: new Version(3, 2, 0, 115),
lastVersion: new Version(3, 0, 173)); // Current app version. Must be larger or equal 3.0.173 to
@ -165,7 +165,7 @@ namespace TestShareeLib.UseCases.Startup
new DeviceMock(),
new SpecialFolderMock(),
null, // Cipher
new PermissionsMock(),
Substitute.For<ILocationPermission>(),
isConnectedFunc: () => true,
currentVersion: new Version(3, 2, 0, 115),
lastVersion: new Version(3, 0, 173)); // Current app version. Must be larger or equal 3.0.173 to
@ -220,7 +220,7 @@ namespace TestShareeLib.UseCases.Startup
new DeviceMock(),
new SpecialFolderMock(),
null, // Cipher
new PermissionsMock(),
Substitute.For<ILocationPermission>(),
isConnectedFunc: () => true,
currentVersion: new Version(3, 2, 0, 115),
lastVersion: new Version(3, 0, 173)); // Current app version. Must be larger or equal 3.0.173 to
@ -276,7 +276,7 @@ namespace TestShareeLib.UseCases.Startup
new DeviceMock(),
new SpecialFolderMock(),
null, // Cipher
new PermissionsMock(),
Substitute.For<ILocationPermission>(),
#if ARENDI
Substitute.For<ICentral>(),
#endif
@ -319,7 +319,7 @@ namespace TestShareeLib.UseCases.Startup
new DeviceMock(),
new SpecialFolderMock(),
null, // Cipher
new PermissionsMock(),
Substitute.For<ILocationPermission>(),
#if ARENDI // Requires LockItArendi library.
Substitute.For<ICentral>(),
#endif
@ -356,7 +356,7 @@ namespace TestShareeLib.UseCases.Startup
new TINK.Settings.PollingParameters(new TimeSpan(10000), true),
Serilog.Events.LogEventLevel.Error,
activeLockService: typeof(TINK.Services.BluetoothLock.BLE.LockItByGuidService).FullName,
activeGeolocationService: typeof(TINK.Model.Services.Geolocation.LastKnownGeolocationService).FullName),
activeGeolocationService: typeof(TINK.Services.Geolocation.LastKnownGeolocationService).FullName),
new StoreMock(),
(isConnected, uri, sessionCookie, mail, expiresAfter) => new ConnectorCache(new AppContextInfo("MyMerchId", "MyApp", new Version(1, 2)), sessionCookie, mail, new CopriCallsMemory(SampleSets.Set2, 1)),
Substitute.For<IServicesContainer<IGeolocation>>(),
@ -364,7 +364,7 @@ namespace TestShareeLib.UseCases.Startup
new DeviceMock(),
new SpecialFolderMock(),
null, // Cipher
new PermissionsMock(),
Substitute.For<ILocationPermission>(),
#if ARENDI // Requires LockItArendi library.
Substitute.For<ICentral>(),
#endif