Added thread IsBackground unit test

This commit is contained in:
Ami Bar
2012-08-21 09:00:05 +03:00
parent 26d3fcd82d
commit 9b69e03cf5
4 changed files with 50 additions and 3 deletions
+2 -2
View File
@@ -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);