Skip to content

Commit

Permalink
address review
Browse files Browse the repository at this point in the history
  • Loading branch information
haritha-mohan committed Oct 19, 2024
1 parent d42e58a commit 82d97e8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/dotnet/UnitTests/PostBuildTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@ public void AssemblyStripping (string project, ApplePlatform platform, string ru
}

[Test]
[TestCase ("MySimpleApp", ApplePlatform.MacCatalyst, "maccatalyst-arm64;maccatalyst-x64", true)]
[TestCase ("MySimpleApp", ApplePlatform.MacCatalyst, "maccatalyst-arm64;maccatalyst-x64", false)]
public void DefaultAssemblyStripping (string project, ApplePlatform platform, string runtimeIdentifiers, bool shouldStrip)
[TestCase ("MySimpleApp", ApplePlatform.MacCatalyst, "maccatalyst-arm64;maccatalyst-x64")]
public void DefaultAssemblyStripping (string project, ApplePlatform platform, string runtimeIdentifiers)
{
var configuration = "Release";
Configuration.IgnoreIfIgnoredPlatform (platform);
Configuration.AssertRuntimeIdentifiersAvailable (platform, runtimeIdentifiers);

Expand All @@ -112,11 +112,11 @@ public void DefaultAssemblyStripping (string project, ApplePlatform platform, st
var properties = GetDefaultProperties (runtimeIdentifiers);

// Verify value defaults to false when not set
properties ["EnableAssemblyILStripping"] = shouldStrip ? "true" : "";
properties["Configuration"] = configuration;

DotNet.AssertBuild (project_path, properties);

AssertBundleAssembliesStripStatus (appPath, shouldStrip);
AssertBundleAssembliesStripStatus (appPath, false);
}

[Test]
Expand Down

0 comments on commit 82d97e8

Please sign in to comment.