sunpengfei
2025-08-22 d9cc4b2a25ca241eec1bb7c82b1cca5f3fee9e0b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
using FlexJobApi.Core;
using Furion.Xunit;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit.Abstractions;
 
[assembly: TestFramework("FlexJobApi.FlexJobServer.Test.TestProgram", "FlexJobApi.FlexJobServer.Test")]
namespace FlexJobApi.FlexJobServer.Test
{
    public class TestProgram : TestStartup
    {
        public TestProgram(IMessageSink messageSink) : base(messageSink)
        {
            Serve.Run<Startup>(LegacyRunOptions.Default);
        }
    }
}