mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2025-04-22 04:46:30 +02:00
Version 3.0.363
This commit is contained in:
parent
4ff3307997
commit
91d42552c7
212 changed files with 1799 additions and 1318 deletions
|
@ -12,6 +12,7 @@ using TINK.Model.State;
|
|||
using TINK.Model.User.Account;
|
||||
using TINK.Repository;
|
||||
using TINK.Repository.Response;
|
||||
using TINK.Repository.Response.Stations;
|
||||
using Xamarin.Forms;
|
||||
using static TINK.Repository.CopriCallsMemory;
|
||||
|
||||
|
@ -165,7 +166,7 @@ namespace TestShareeLib.Model.Connector.Updater
|
|||
[Test]
|
||||
public void TestUpdateBikesAvailable_BikeNr5GetBooked()
|
||||
{
|
||||
// Bike 5 is availalbe.
|
||||
// Bike 5 is centered.
|
||||
var l_oBikesTarget = GetBikesAvailable(TinkApp.MerchantId, sampleSet: SampleSets.Set2, stageIndex: 1).GetBikesAvailable(DataSource.Copri);
|
||||
|
||||
Assert.AreEqual(12, l_oBikesTarget.Count, "Bike 5 is available an must be part of available bikes collection");
|
||||
|
@ -241,7 +242,7 @@ namespace TestShareeLib.Model.Connector.Updater
|
|||
|
||||
public void TestGetBikesAvailable_BikeNr5GetBooked()
|
||||
{
|
||||
// Bike 5 is availalbe.
|
||||
// Bike 5 is centered.
|
||||
var l_oBikesTarget = GetBikesAvailable(TinkApp.MerchantId, sampleSet: SampleSets.Set2, stageIndex: 1).GetBikesAvailable(DataSource.Copri);
|
||||
|
||||
Assert.AreEqual(11, l_oBikesTarget.Count, "Bike 5 is available an must be part of available bikes collection");
|
||||
|
@ -420,7 +421,7 @@ namespace TestShareeLib.Model.Connector.Updater
|
|||
}
|
||||
|
||||
[Test]
|
||||
public void TestGetBikesAll_BikesAvaialbleResponse()
|
||||
public void TestGetBikesAll_BikesAvailbleResponse()
|
||||
{
|
||||
var availableResponse = JsonConvert.DeserializeObject<BikesAvailableResponse>(
|
||||
@"{
|
||||
|
@ -460,7 +461,7 @@ namespace TestShareeLib.Model.Connector.Updater
|
|||
"There must be one ILockitBike and one BC bike (BikeInfo class).");
|
||||
}
|
||||
[Test]
|
||||
public void TestGetBikesAll_BikesAvaialbleResponse_InvalidState()
|
||||
public void TestGetBikesAll_BikesAvailbleResponse_InvalidState()
|
||||
{
|
||||
var availableResponse = JsonConvert.DeserializeObject<BikesAvailableResponse>(
|
||||
@"{
|
||||
|
@ -489,7 +490,7 @@ namespace TestShareeLib.Model.Connector.Updater
|
|||
}
|
||||
|
||||
[Test]
|
||||
public void TestGetBikesAll_BikesAvaialbleResponse_InvalidStation()
|
||||
public void TestGetBikesAll_BikesAvailableResponse_InvalidStation()
|
||||
{
|
||||
var availableResponse = JsonConvert.DeserializeObject<BikesAvailableResponse>(
|
||||
@"{
|
||||
|
@ -518,7 +519,7 @@ namespace TestShareeLib.Model.Connector.Updater
|
|||
}
|
||||
|
||||
[Test]
|
||||
public void TestGetBikesAll_BikesAvaialbleResponse_DuplicateId()
|
||||
public void TestGetBikesAll_BikesAvailableResponse_DuplicateId()
|
||||
{
|
||||
var availableResponse = JsonConvert.DeserializeObject<BikesAvailableResponse>(
|
||||
@"{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue