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()
76
76
{
77
77
}
78
78
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
+
79
90
protected override Task Get_Count_Async_With_Prefix_Should_Succeed ( )
80
91
{
81
92
return Task . CompletedTask ;
82
93
}
83
94
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
+
84
116
protected override Task Get_Count_Async_Without_Prefix_Should_Succeed ( )
85
117
{
86
118
return Task . CompletedTask ;
87
119
}
88
120
121
+
89
122
protected override void Get_Count_With_Prefix_Should_Succeed ( )
90
123
{
91
124
}
@@ -107,6 +140,8 @@ protected override Task GetByPrefixAsync_Should_Succeed()
107
140
return Task . CompletedTask ;
108
141
}
109
142
143
+
144
+
110
145
protected override Task GetByPrefixAsync_With_Not_Existed_Prefix_Should_Return_Empty_Dict ( )
111
146
{
112
147
return Task . CompletedTask ;
Original file line number Diff line number Diff line change @@ -115,6 +115,17 @@ protected override void GetByPrefix_Should_Succeed()
115
115
{
116
116
}
117
117
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
+
118
129
[ Fact ]
119
130
protected override async Task GetByPrefixAsync_Should_Succeed ( )
120
131
{
You can’t perform that action at this time.
0 commit comments