Skip to content

Commit

Permalink
und - Updated unit tests
Browse files Browse the repository at this point in the history
We've updated unit tests for the previous commit

---

Previous commit has added new arguments to the constructor of Card().

---

Type: und
Breaking: False
Doc Required: False
Part: 1/1
  • Loading branch information
AptiviCEO committed Aug 10, 2023
1 parent ed9ec8f commit eeed0d3
Showing 1 changed file with 90 additions and 15 deletions.
105 changes: 90 additions & 15 deletions VisualCard.Tests/ContactData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,12 @@ public static class ContactData
Array.Empty<Parts.TimeZoneInfo>(),
Array.Empty<GeoInfo>(),
Array.Empty<SoundInfo>(),
Array.Empty<ImppInfo>()
Array.Empty<ImppInfo>(),
"",
"",
"",
"",
""
);
#endregion

Expand Down Expand Up @@ -118,7 +123,12 @@ public static class ContactData
Array.Empty<Parts.TimeZoneInfo>(),
Array.Empty<GeoInfo>(),
Array.Empty<SoundInfo>(),
Array.Empty<ImppInfo>()
Array.Empty<ImppInfo>(),
"",
"",
"",
"",
""
);
#endregion

Expand Down Expand Up @@ -164,7 +174,12 @@ public static class ContactData
Array.Empty<Parts.TimeZoneInfo>(),
Array.Empty<GeoInfo>(),
Array.Empty<SoundInfo>(),
Array.Empty<ImppInfo>()
Array.Empty<ImppInfo>(),
"",
"",
"",
"",
""
);
#endregion

Expand Down Expand Up @@ -241,7 +256,12 @@ public static class ContactData
Array.Empty<Parts.TimeZoneInfo>(),
Array.Empty<GeoInfo>(),
Array.Empty<SoundInfo>(),
Array.Empty<ImppInfo>()
Array.Empty<ImppInfo>(),
"",
"",
"",
"",
""
);
#endregion

Expand Down Expand Up @@ -320,7 +340,12 @@ public static class ContactData
Array.Empty<Parts.TimeZoneInfo>(),
Array.Empty<GeoInfo>(),
Array.Empty<SoundInfo>(),
Array.Empty<ImppInfo>()
Array.Empty<ImppInfo>(),
"",
"",
"",
"",
""
);
#endregion

Expand Down Expand Up @@ -399,7 +424,12 @@ public static class ContactData
new ImppInfo[]
{
new ImppInfo(0, Array.Empty<string>(), "aim:john.s", new string[] { "HOME" })
}
},
"",
"",
"",
"",
""
);
#endregion

Expand Down Expand Up @@ -516,7 +546,12 @@ public static class ContactData
Array.Empty<Parts.TimeZoneInfo>(),
Array.Empty<GeoInfo>(),
Array.Empty<SoundInfo>(),
Array.Empty<ImppInfo>()
Array.Empty<ImppInfo>(),
"",
"",
"",
"",
""
);
private static readonly Card multipleVcardTwoContactsInstanceThree = new
(
Expand Down Expand Up @@ -575,7 +610,12 @@ public static class ContactData
Array.Empty<Parts.TimeZoneInfo>(),
Array.Empty<GeoInfo>(),
Array.Empty<SoundInfo>(),
Array.Empty<ImppInfo>()
Array.Empty<ImppInfo>(),
"",
"",
"",
"",
""
);
private static readonly Card multipleVcardTwoContactsInstanceFour = singleVcardTwoContactShortInstance;
#endregion
Expand Down Expand Up @@ -693,7 +733,12 @@ public static class ContactData
Array.Empty<Parts.TimeZoneInfo>(),
Array.Empty<GeoInfo>(),
Array.Empty<SoundInfo>(),
Array.Empty<ImppInfo>()
Array.Empty<ImppInfo>(),
"",
"",
"",
"",
""
);
private static readonly Card multipleVcardThreeContactsInstanceThree = new
(
Expand Down Expand Up @@ -754,7 +799,12 @@ public static class ContactData
Array.Empty<Parts.TimeZoneInfo>(),
Array.Empty<GeoInfo>(),
Array.Empty<SoundInfo>(),
Array.Empty<ImppInfo>()
Array.Empty<ImppInfo>(),
"",
"",
"",
"",
""
);
private static readonly Card multipleVcardThreeContactsInstanceFour = singleVcardThreeContactShortInstance;
#endregion
Expand Down Expand Up @@ -883,7 +933,12 @@ public static class ContactData
new ImppInfo(0, Array.Empty<string>(), "aim:IM", new string[] { "HOME" }),
new ImppInfo(0, Array.Empty<string>(), "msn:Windows LIVE", new string[] { "HOME" }),
new ImppInfo(0, Array.Empty<string>(), "ymsgr:Yahoo", new string[] { "HOME" })
}
},
"",
"",
"",
"",
""
);
private static readonly Card multipleVcardFourContactsInstanceThree = new
(
Expand Down Expand Up @@ -935,7 +990,12 @@ public static class ContactData
Array.Empty<Parts.TimeZoneInfo>(),
Array.Empty<GeoInfo>(),
Array.Empty<SoundInfo>(),
Array.Empty<ImppInfo>()
Array.Empty<ImppInfo>(),
"",
"",
"",
"",
""
);
private static readonly Card multipleVcardFourContactsInstanceFour = singleVcardFourContactInstance;
#endregion
Expand Down Expand Up @@ -1016,7 +1076,12 @@ public static class ContactData
Array.Empty<Parts.TimeZoneInfo>(),
Array.Empty<GeoInfo>(),
Array.Empty<SoundInfo>(),
Array.Empty<ImppInfo>()
Array.Empty<ImppInfo>(),
"",
"",
"",
"",
""
);
private static readonly Card vcardThreeOldSampleInstanceTwo = new
(
Expand Down Expand Up @@ -1061,7 +1126,12 @@ public static class ContactData
Array.Empty<Parts.TimeZoneInfo>(),
Array.Empty<GeoInfo>(),
Array.Empty<SoundInfo>(),
Array.Empty<ImppInfo>()
Array.Empty<ImppInfo>(),
"",
"",
"",
"",
""
);
private static readonly Card vcardThreeOldSampleInstanceThree = new
(
Expand Down Expand Up @@ -1097,7 +1167,12 @@ public static class ContactData
Array.Empty<Parts.TimeZoneInfo>(),
Array.Empty<GeoInfo>(),
Array.Empty<SoundInfo>(),
Array.Empty<ImppInfo>()
Array.Empty<ImppInfo>(),
"",
"",
"",
"",
""
);
#endregion

Expand Down

0 comments on commit eeed0d3

Please sign in to comment.