mirror of
https://github.com/farcasclaudiu/SmartThreadPool.git
synced 2026-06-28 09:01:04 +03:00
Added thread IsBackground unit test
This commit is contained in:
@@ -5,7 +5,7 @@ using Amib.Threading;
|
||||
namespace SmartThreadPoolTests
|
||||
{
|
||||
/// <summary>
|
||||
/// Summary description for TestThreadPriority.
|
||||
/// Summary description for TestThreadApartment.
|
||||
/// </summary>
|
||||
[TestFixture]
|
||||
[Category("TestThreadApartment")]
|
||||
@@ -26,7 +26,7 @@ namespace SmartThreadPoolTests
|
||||
private static void CheckApartmentState(ApartmentState requestApartmentState)
|
||||
{
|
||||
STPStartInfo stpStartInfo = new STPStartInfo();
|
||||
stpStartInfo.ApartmentState = requestApartmentState;
|
||||
stpStartInfo.ApartmentState = requestApartmentState;
|
||||
|
||||
SmartThreadPool stp = new SmartThreadPool(stpStartInfo);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user