File tree Expand file tree Collapse file tree 2 files changed +46
-0
lines changed
test/EasyCaching.UnitTests/CachingTests Expand file tree Collapse file tree 2 files changed +46
-0
lines changed Original file line number Diff line number Diff 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 ;
Original file line number Diff line number Diff 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 {
You can’t perform that action at this time.
0 commit comments