mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2025-04-19 03:27:29 +02:00
Version 3.0.338
This commit is contained in:
parent
573fe77e12
commit
0468955d49
751 changed files with 62747 additions and 60672 deletions
|
@ -3,27 +3,27 @@ using TINK.Model.Bikes.BikeInfoNS.BluetoothLock;
|
|||
|
||||
namespace TINK.Services.BluetoothLock.Exception
|
||||
{
|
||||
[TestFixture]
|
||||
public class TestCouldntCloseInconsistentStateExecption
|
||||
{
|
||||
[Test]
|
||||
public void TestCtor_Unknown()
|
||||
{
|
||||
var ex = new CouldntCloseInconsistentStateExecption(LockingState.UnknownFromHardwareError);
|
||||
[TestFixture]
|
||||
public class TestCouldntCloseInconsistentStateExecption
|
||||
{
|
||||
[Test]
|
||||
public void TestCtor_Unknown()
|
||||
{
|
||||
var ex = new CouldntCloseInconsistentStateExecption(LockingState.UnknownFromHardwareError);
|
||||
|
||||
Assert.That(
|
||||
ex.Message,
|
||||
Is.EqualTo("Lock reports unknown bold position."));
|
||||
}
|
||||
Assert.That(
|
||||
ex.Message,
|
||||
Is.EqualTo("Lock reports unknown bold position."));
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void TestCtor_Open()
|
||||
{
|
||||
var ex = new CouldntCloseInconsistentStateExecption(LockingState.Open);
|
||||
[Test]
|
||||
public void TestCtor_Open()
|
||||
{
|
||||
var ex = new CouldntCloseInconsistentStateExecption(LockingState.Open);
|
||||
|
||||
Assert.That(
|
||||
ex.Message,
|
||||
Does.Contain("locking state \"Open\""));
|
||||
}
|
||||
}
|
||||
Assert.That(
|
||||
ex.Message,
|
||||
Does.Contain("locking state \"Open\""));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,27 +3,27 @@ using TINK.Model.Bikes.BikeInfoNS.BluetoothLock;
|
|||
|
||||
namespace TINK.Services.BluetoothLock.Exception
|
||||
{
|
||||
[TestFixture]
|
||||
public class TestCouldntOpenInconsistentStateExecption
|
||||
{
|
||||
[Test]
|
||||
public void TestCtor_Unknown()
|
||||
{
|
||||
var ex = new CouldntOpenInconsistentStateExecption(LockingState.UnknownFromHardwareError);
|
||||
[TestFixture]
|
||||
public class TestCouldntOpenInconsistentStateExecption
|
||||
{
|
||||
[Test]
|
||||
public void TestCtor_Unknown()
|
||||
{
|
||||
var ex = new CouldntOpenInconsistentStateExecption(LockingState.UnknownFromHardwareError);
|
||||
|
||||
Assert.That(
|
||||
ex.Message,
|
||||
Is.EqualTo("Unexpected locking state \"UnknownFromHardwareError\" detected after sending open command."));
|
||||
}
|
||||
Assert.That(
|
||||
ex.Message,
|
||||
Is.EqualTo("Unexpected locking state \"UnknownFromHardwareError\" detected after sending open command."));
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void TestCtor_Open()
|
||||
{
|
||||
var ex = new CouldntOpenInconsistentStateExecption(LockingState.Closed);
|
||||
[Test]
|
||||
public void TestCtor_Open()
|
||||
{
|
||||
var ex = new CouldntOpenInconsistentStateExecption(LockingState.Closed);
|
||||
|
||||
Assert.That(
|
||||
ex.Message,
|
||||
Does.Contain("locking state \"Closed\""));
|
||||
}
|
||||
}
|
||||
Assert.That(
|
||||
ex.Message,
|
||||
Does.Contain("locking state \"Closed\""));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue