临河任务调度
Ви не можете вибрати більше 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. }