17
17
using System . Linq ;
18
18
using FluentAssertions ;
19
19
using MongoDB . Bson . IO ;
20
+ using MongoDB . Driver . Core . Misc ;
21
+ using MongoDB . Driver . Core . TestHelpers . XunitExtensions ;
20
22
using MongoDB . Driver . Linq ;
21
23
using MongoDB . Driver . Tests . Linq . Linq3ImplementationTests ;
22
24
using Xunit ;
@@ -31,6 +33,7 @@ public class CSharp3915Tests : Linq3IntegrationTest
31
33
[ InlineData ( true ) ]
32
34
public void Densify_time_series_data_example_using_aggregate_should_work ( bool usingExpressions )
33
35
{
36
+ RequireServer . Check ( ) . Supports ( Feature . DensifyStage ) ;
34
37
var collection = CreateWeatherCollection ( ) ;
35
38
var subject = collection . Aggregate ( ) ;
36
39
@@ -76,6 +79,7 @@ public void Densify_time_series_data_example_using_aggregate_should_work(bool us
76
79
[ Fact ]
77
80
public void Densify_time_series_data_example_using_linq_should_work ( )
78
81
{
82
+ RequireServer . Check ( ) . Supports ( Feature . DensifyStage ) ;
79
83
var collection = CreateWeatherCollection ( ) ;
80
84
var subject = collection . AsQueryable ( ) ;
81
85
@@ -113,6 +117,7 @@ public void Densify_time_series_data_example_using_linq_should_work()
113
117
[ InlineData ( true ) ]
114
118
public void Densify_the_full_range_of_values_example_using_aggregate_should_work ( bool usingExpressions )
115
119
{
120
+ RequireServer . Check ( ) . Supports ( Feature . DensifyStage ) ;
116
121
var collection = CreateCoffeeCollection ( ) ;
117
122
var subject = collection . Aggregate ( ) ;
118
123
@@ -162,6 +167,7 @@ public void Densify_the_full_range_of_values_example_using_aggregate_should_work
162
167
[ Fact ]
163
168
public void Densify_the_full_range_of_values_example_using_linq_should_work ( )
164
169
{
170
+ RequireServer . Check ( ) . Supports ( Feature . DensifyStage ) ;
165
171
var collection = CreateCoffeeCollection ( ) ;
166
172
var subject = collection . AsQueryable ( ) ;
167
173
@@ -202,6 +208,7 @@ public void Densify_the_full_range_of_values_example_using_linq_should_work()
202
208
[ InlineData ( true ) ]
203
209
public void Densify_values_within_each_partition_example_using_aggregate_should_work ( bool usingExpressions )
204
210
{
211
+ RequireServer . Check ( ) . Supports ( Feature . DensifyStage ) ;
205
212
var collection = CreateCoffeeCollection ( ) ;
206
213
var subject = collection . Aggregate ( ) ;
207
214
@@ -243,6 +250,7 @@ public void Densify_values_within_each_partition_example_using_aggregate_should_
243
250
[ Fact ]
244
251
public void Densify_values_within_each_partition_example_using_linq_should_work ( )
245
252
{
253
+ RequireServer . Check ( ) . Supports ( Feature . DensifyStage ) ;
246
254
var collection = CreateCoffeeCollection ( ) ;
247
255
var subject = collection . AsQueryable ( ) ;
248
256
0 commit comments