临河任务调度
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 line
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. }