Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit f31d24f

Browse files
committed
Disable assembly locking tests on Unix
1 parent e72ea54 commit f31d24f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/System.ComponentModel.Composition/tests/System/ComponentModel/Composition/Hosting/AssemblyCatalogTests.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ public void Constructor1_ValueAsCodebaseArgument_ShouldSetAssemblyProperty()
163163
});
164164
}
165165

166+
[PlatformSpecific(TestPlatforms.Windows)] // Unix doesn't (and doesn't need) to check for locking
166167
[Fact]
167168
public void Constructor1_LockedFileAsCodeBaseArgument_ShouldThrowFileLoad()
168169
{
@@ -273,6 +274,7 @@ public void Constructor2_ValueAsCodebaseArgument_ShouldSetAssemblyProperty()
273274
});
274275
}
275276

277+
[PlatformSpecific(TestPlatforms.Windows)] // Unix doesn't (and doesn't need) to check for locking
276278
[Fact]
277279
public void Constructor2_LockedFileAsCodeBaseArgument_ShouldThrowFileLoad()
278280
{
@@ -382,6 +384,7 @@ public void Constructor3_ValueAsCodebaseArgument_ShouldSetAssemblyProperty()
382384
});
383385
}
384386

387+
[PlatformSpecific(TestPlatforms.Windows)] // Unix doesn't (and doesn't need) to check for locking
385388
[Fact]
386389
public void Constructor3_LockedFileAsCodeBaseArgument_ShouldThrowFileLoad()
387390
{
@@ -490,6 +493,7 @@ public void Constructor4_ValueAsCodebaseArgument_ShouldSetAssemblyProperty()
490493
});
491494
}
492495

496+
[PlatformSpecific(TestPlatforms.Windows)] // Unix doesn't (and doesn't need) to check for locking
493497
[Fact]
494498
public void Constructor4_LockedFileAsCodeBaseArgument_ShouldThrowFileLoad()
495499
{

0 commit comments

Comments
 (0)