Skip to content

Commit 2d600bb

Browse files
committed
Merge remote-tracking branch 'upstream/dev' into update-actions
2 parents 2577ee8 + 23c65c4 commit 2d600bb

File tree

2 files changed

+46
-0
lines changed

2 files changed

+46
-0
lines changed

test/EasyCaching.UnitTests/CachingTests/FasterKvCachingProviderTest.cs

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,16 +76,49 @@ protected override void Get_Parallel_Should_Succeed()
7676
{
7777
}
7878

79+
public override Task GetAllByPrefix_Async_Should_Throw_ArgumentNullException_When_Prefix_IsNullOrWhiteSpace(
80+
string preifx)
81+
{
82+
return Task.CompletedTask;
83+
}
84+
85+
public override void GetAllByPrefix_Should_Throw_ArgumentNullException_When_CacheKey_IsNullOrWhiteSpace(
86+
string prefix)
87+
{
88+
}
89+
7990
protected override Task Get_Count_Async_With_Prefix_Should_Succeed()
8091
{
8192
return Task.CompletedTask;
8293
}
8394

95+
public override void RemoveByPattern_Should_Succeed()
96+
{
97+
}
98+
99+
public override Task RemoveByPatternAsync_Should_Succeed()
100+
{
101+
return Task.CompletedTask;
102+
}
103+
104+
public override Task RemoveByPrefix_Async_Should_Throw_ArgumentNullException_When_Prefix_IsNullOrWhiteSpace(
105+
string preifx)
106+
107+
{
108+
return Task.CompletedTask;
109+
}
110+
111+
public override void RemoveByPrefix_Should_Throw_ArgumentNullException_When_CacheKey_IsNullOrWhiteSpace(
112+
string prefix)
113+
{
114+
}
115+
84116
protected override Task Get_Count_Async_Without_Prefix_Should_Succeed()
85117
{
86118
return Task.CompletedTask;
87119
}
88120

121+
89122
protected override void Get_Count_With_Prefix_Should_Succeed()
90123
{
91124
}
@@ -107,6 +140,8 @@ protected override Task GetByPrefixAsync_Should_Succeed()
107140
return Task.CompletedTask;
108141
}
109142

143+
144+
110145
protected override Task GetByPrefixAsync_With_Not_Existed_Prefix_Should_Return_Empty_Dict()
111146
{
112147
return Task.CompletedTask;

test/EasyCaching.UnitTests/CachingTests/MemcachedProviderTest.cs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,17 @@ protected override void GetByPrefix_Should_Succeed()
115115
{
116116
}
117117

118+
[Fact]
119+
public override void RemoveByPattern_Should_Succeed()
120+
{
121+
}
122+
123+
[Fact]
124+
public override async Task RemoveByPatternAsync_Should_Succeed()
125+
{
126+
await Task.FromResult(1);
127+
}
128+
118129
[Fact]
119130
protected override async Task GetByPrefixAsync_Should_Succeed()
120131
{

0 commit comments

Comments
 (0)