Make tests pass again (except not implemented ones).
This commit is contained in:
@ -58,7 +58,7 @@ namespace zaaReloaded2.Controller
|
||||
#region Constructors
|
||||
|
||||
public Settings()
|
||||
: this(string.Empty, new List<ElementBase>())
|
||||
: this(string.Empty, null)
|
||||
{ }
|
||||
|
||||
public Settings(string name)
|
||||
@ -87,6 +87,10 @@ namespace zaaReloaded2.Controller
|
||||
Uid = Guid.NewGuid();
|
||||
Name = name;
|
||||
Elements = initialElements;
|
||||
if (Elements == null)
|
||||
{
|
||||
Elements = new List<ElementBase>();
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
@ -87,7 +87,13 @@ namespace zaaReloaded2.Importer.ZaaImporter
|
||||
/// Is true if the LaurisText has time stamp in the first
|
||||
/// paragraph and <see cref="LabItem"/>s in the others.
|
||||
/// </summary>
|
||||
public bool IsValidTimePoint { get; private set; }
|
||||
public bool IsValidTimePoint
|
||||
{
|
||||
get
|
||||
{
|
||||
return Items.Count > 0;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the original Lauris text for this timepoint.
|
||||
|
Reference in New Issue
Block a user