Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Radarr/blame/commit/72fe0e74d7cf4b7203626aa54de227d0d4884632/NzbDrone.Core.Test/JobTests/TestJobs.cs You should set ROOT_URL correctly, otherwise the web may not work correctly.
Radarr/NzbDrone.Core.Test/JobTests/TestJobs.cs

71 lines
1.4 KiB

/*
using System;
using System.Linq;
using System.Threading;
using NzbDrone.Core.Jobs;
using NzbDrone.Core.Model.Notification;
namespace NzbDrone.Core.Test.JobTests
{
public class FakeJob : IJob
{
public string Name
{
get { return GetType().Name; }
}
public virtual TimeSpan DefaultInterval
{
get { return TimeSpan.FromMinutes(15); }
}
public int ExecutionCount { get; private set; }
public void Start(ProgressNotification notification, dynamic options)
{
ExecutionCount++;
Console.WriteLine("Begin " + Name);
Start();
Console.WriteLine("End " + Name);
}
protected virtual void Start()
{
}
}
public class DisabledJob : FakeJob
{
public override TimeSpan DefaultInterval
{
get { return TimeSpan.FromTicks(0); }
}
}
public class BrokenJob : FakeJob
{
protected override void Start()
{
throw new ApplicationException("Broken job is broken");
}
}
public class SlowJob : FakeJob
{
protected override void Start()
{
Thread.Sleep(1000);
}
}
public class SlowJob2 : FakeJob
{
protected override void Start()
{
Thread.Sleep(1000);
}
}
}
*/