Skip to content

Commit

Permalink
Fix task tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
rolfbjarne committed Oct 21, 2024
1 parent 3b76702 commit 3bfd073
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public void AllAppIconsWithAppIcon (ApplePlatform platform)
} else if (platform == ApplePlatform.TVOS) {
var cfBundleIcons = appIconsManifest.Get<PDictionary> ("CFBundleIcons");
Assert.AreEqual (1, cfBundleIcons.Count, "CFBundleIcons.Count");
Assert.AreEqual ("AppIcon", cfBundleIcons.Get<PString> ("CFBundlePrimaryIcon")?.Value, "CFBundlePrimaryIcon");
Assert.AreEqual ("AlternateAppIcons", cfBundleIcons.Get<PString> ("CFBundlePrimaryIcon")?.Value, "CFBundlePrimaryIcon");

var tvTopShelfImage = appIconsManifest.Get<PDictionary> ("TVTopShelfImage");
Assert.AreEqual (2, tvTopShelfImage.Count, "TVTopShelfImage.Count");
Expand Down Expand Up @@ -242,7 +242,7 @@ public void AppIcon (ApplePlatform platform)

var cfBundleIcons = appIconsManifest.Get<PDictionary> ("CFBundleIcons");
Assert.AreEqual (1, cfBundleIcons.Count, "CFBundleIcons.Count");
Assert.AreEqual ("AppIcon", cfBundleIcons.Get<PString> ("CFBundlePrimaryIcon")?.Value, "CFBundlePrimaryIcon");
Assert.AreEqual ("AppIcons", cfBundleIcons.Get<PString> ("CFBundlePrimaryIcon")?.Value, "CFBundlePrimaryIcon");

var tvTopShelfImage = appIconsManifest.Get<PDictionary> ("TVTopShelfImage");
Assert.AreEqual (2, tvTopShelfImage.Count, "TVTopShelfImage.Count");
Expand Down Expand Up @@ -309,7 +309,7 @@ public void AppIconAndAlternateIcons (ApplePlatform platform)
} else if (platform == ApplePlatform.TVOS) {
var cfBundleIcons = appIconsManifest.Get<PDictionary> ("CFBundleIcons");
Assert.AreEqual (1, cfBundleIcons.Count, "CFBundleIcons.Count");
Assert.AreEqual ("AppIcon", cfBundleIcons.Get<PString> ("CFBundlePrimaryIcon")?.Value, "CFBundlePrimaryIcon");
Assert.AreEqual ("AppIcons", cfBundleIcons.Get<PString> ("CFBundlePrimaryIcon")?.Value, "CFBundlePrimaryIcon");

var tvTopShelfImage = appIconsManifest.Get<PDictionary> ("TVTopShelfImage");
Assert.AreEqual (2, tvTopShelfImage.Count, "TVTopShelfImage.Count");
Expand Down

0 comments on commit 3bfd073

Please sign in to comment.