Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/AppInstallerCLIE2ETests/InprocTestbedTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -122,16 +122,17 @@ public void CLSID_Tests(bool leakCOM, UnloadBehavior unloadBehavior, int? workTe
/// <param name="freeCachedFactories">Control whether the C++/WinRT factory cache will be cleared between iterations.</param>
/// <param name="leakCOM">Control whether COM should be uninitialized at the end of the process.</param>
/// <param name="unloadBehavior">Set the unload behavior for the test.</param>
/// <param name="workTestSleep">Sets the number of milliseconds to sleep between each work/test iteration.</param>
[Test]
[TestCase(false, false, UnloadBehavior.AtUninitialize)]
[TestCase(false, false, UnloadBehavior.Never)]
[TestCase(false, true, UnloadBehavior.Allow)]
[TestCase(false, true, UnloadBehavior.Never)]
[TestCase(true, false, UnloadBehavior.AtUninitialize)]
[TestCase(true, false, UnloadBehavior.Never)]
[TestCase(true, true, UnloadBehavior.Allow)]
[TestCase(true, true, UnloadBehavior.Allow, 1000)]
[TestCase(true, true, UnloadBehavior.Never)]
public void TypeName_Tests(bool freeCachedFactories, bool leakCOM, UnloadBehavior unloadBehavior)
public void TypeName_Tests(bool freeCachedFactories, bool leakCOM, UnloadBehavior unloadBehavior, int? workTestSleep = null)
{
this.RunInprocTestbed(new TestbedParameters()
{
Expand All @@ -140,6 +141,7 @@ public void TypeName_Tests(bool freeCachedFactories, bool leakCOM, UnloadBehavio
LeakCOM = leakCOM,
UnloadBehavior = unloadBehavior,
Iterations = 10,
WorkTestSleepInterval = workTestSleep,
});
}

Expand Down
Loading