Skip to content

Commit

Permalink
Merge pull request dotnetcore#492 from Memoyu/fix-ci-error
Browse files Browse the repository at this point in the history
Fix CI error
  • Loading branch information
Memoyu authored Sep 20, 2023
2 parents 7fd69b7 + c53d63e commit 23c65c4
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,16 +76,49 @@ protected override void Get_Parallel_Should_Succeed()
{
}

public override Task GetAllByPrefix_Async_Should_Throw_ArgumentNullException_When_Prefix_IsNullOrWhiteSpace(
string preifx)
{
return Task.CompletedTask;
}

public override void GetAllByPrefix_Should_Throw_ArgumentNullException_When_CacheKey_IsNullOrWhiteSpace(
string prefix)
{
}

protected override Task Get_Count_Async_With_Prefix_Should_Succeed()
{
return Task.CompletedTask;
}

public override void RemoveByPattern_Should_Succeed()
{
}

public override Task RemoveByPatternAsync_Should_Succeed()
{
return Task.CompletedTask;
}

public override Task RemoveByPrefix_Async_Should_Throw_ArgumentNullException_When_Prefix_IsNullOrWhiteSpace(
string preifx)

{
return Task.CompletedTask;
}

public override void RemoveByPrefix_Should_Throw_ArgumentNullException_When_CacheKey_IsNullOrWhiteSpace(
string prefix)
{
}

protected override Task Get_Count_Async_Without_Prefix_Should_Succeed()
{
return Task.CompletedTask;
}


protected override void Get_Count_With_Prefix_Should_Succeed()
{
}
Expand All @@ -107,6 +140,8 @@ protected override Task GetByPrefixAsync_Should_Succeed()
return Task.CompletedTask;
}



protected override Task GetByPrefixAsync_With_Not_Existed_Prefix_Should_Return_Empty_Dict()
{
return Task.CompletedTask;
Expand Down
11 changes: 11 additions & 0 deletions test/EasyCaching.UnitTests/CachingTests/MemcachedProviderTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,17 @@ protected override void GetByPrefix_Should_Succeed()
{
}

[Fact]
public override void RemoveByPattern_Should_Succeed()
{
}

[Fact]
public override async Task RemoveByPatternAsync_Should_Succeed()
{
await Task.FromResult(1);
}

[Fact]
protected override async Task GetByPrefixAsync_Should_Succeed()
{
Expand Down

0 comments on commit 23c65c4

Please sign in to comment.