mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2025-04-21 20:46:28 +02:00
Contact page shows operator specific info
This commit is contained in:
parent
e436e83c1d
commit
a58c33f005
51 changed files with 948 additions and 221 deletions
61
TestShareeLib/Model/Station/TestData.cs
Normal file
61
TestShareeLib/Model/Station/TestData.cs
Normal file
|
@ -0,0 +1,61 @@
|
|||
using NUnit.Framework;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace TestShareeLib.Model.Station
|
||||
{
|
||||
[TestFixture]
|
||||
public class TestData
|
||||
{
|
||||
[Test]
|
||||
public void TestCtor()
|
||||
{
|
||||
var data = new TINK.Model.Station.Operator.Data();
|
||||
Assert.That(
|
||||
data.Color,
|
||||
Is.Null);
|
||||
|
||||
Assert.That(
|
||||
data.Hours,
|
||||
Is.EqualTo(string.Empty));
|
||||
|
||||
Assert.That(
|
||||
data.Name,
|
||||
Is.EqualTo(string.Empty));
|
||||
|
||||
Assert.That(
|
||||
data.MailAddressText,
|
||||
Is.EqualTo(string.Empty));
|
||||
|
||||
Assert.That(
|
||||
data.PhoneNumberText,
|
||||
Is.EqualTo(string.Empty));
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void TestCtor_Null()
|
||||
{
|
||||
var data = new TINK.Model.Station.Operator.Data(null, null, null, null, null);
|
||||
Assert.That(
|
||||
data.Color,
|
||||
Is.Null);
|
||||
|
||||
Assert.That(
|
||||
data.Hours,
|
||||
Is.EqualTo(string.Empty));
|
||||
|
||||
Assert.That(
|
||||
data.Name,
|
||||
Is.EqualTo(string.Empty));
|
||||
|
||||
Assert.That(
|
||||
data.MailAddressText,
|
||||
Is.EqualTo(string.Empty));
|
||||
|
||||
Assert.That(
|
||||
data.PhoneNumberText,
|
||||
Is.EqualTo(string.Empty));
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue