Remove namespaces Pfr.Services.Scheduler.Tests to Pfr.Services.SchedulerTests

master
Pavel Mochalin 2 years ago
parent 0d7bc14d46
commit 606c529e89

@ -1,13 +1,9 @@
using Xunit;
using Pfr.Services.Scheduler;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System;
using System.Threading;
using Pfr.Services.Scheduler;
using Xunit;
namespace Pfr.Services.Scheduler.Tests
namespace Pfr.Services.SchedulerTests
{
public class SchedulerTests
{
@ -27,7 +23,7 @@ namespace Pfr.Services.Scheduler.Tests
public void SchedulerTest()
{
_te = GetTimeExec(2);
Scheduler _Scheduler = new Scheduler(_te);
Scheduler.Scheduler _Scheduler = new Scheduler.Scheduler(_te);
_Scheduler.OnExecute += OnExecMetod;
Thread.Sleep(4000);
}
@ -42,7 +38,7 @@ namespace Pfr.Services.Scheduler.Tests
public void Scheduler_Empty_OnExecute_Test()
{
_te = GetTimeExec(2);
Scheduler _Scheduler = new Scheduler(_te);
Scheduler.Scheduler _Scheduler = new Scheduler.Scheduler(_te);
Thread.Sleep(4000);
}
@ -50,7 +46,7 @@ namespace Pfr.Services.Scheduler.Tests
public void Scheduler_One_Exec_Test()
{
_te = GetTimeExec(60);
Scheduler _Scheduler = new Scheduler(_te);
Scheduler.Scheduler _Scheduler = new Scheduler.Scheduler(_te);
_Scheduler.OnExecute += OnExec;
Thread.Sleep(120000);
Assert.Equal(_CntExec, 1);

Loading…
Cancel
Save