临河任务调度
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

27 行
774B

  1. using System.Threading.Tasks;
  2. using Volo.Abp.Modularity;
  3. using Xunit;
  4. namespace Himp.TaskScheduling.Samples;
  5. /* Write your custom repository tests like that, in this project, as abstract classes.
  6. * Then inherit these abstract classes from EF Core & MongoDB test projects.
  7. * In this way, both database providers are tests with the same set tests.
  8. */
  9. public abstract class SampleRepository_Tests<TStartupModule> : TaskSchedulingTestBase<TStartupModule>
  10. where TStartupModule : IAbpModule
  11. {
  12. //private readonly ISampleRepository _sampleRepository;
  13. protected SampleRepository_Tests()
  14. {
  15. //_sampleRepository = GetRequiredService<ISampleRepository>();
  16. }
  17. [Fact]
  18. public Task Method1Async()
  19. {
  20. return Task.CompletedTask;
  21. }
  22. }