File tree 26 files changed +322
-6
lines changed
26 files changed +322
-6
lines changed Original file line number Diff line number Diff line change @@ -14,10 +14,22 @@ namespace Doc;
14
14
15
15
// HIDE_START
16
16
public class Bf_tutorial
17
+ // REMOVE_START
18
+ : AbstractNRedisStackTest , IDisposable
19
+ // REMOVE_END
17
20
{
21
+ // REMOVE_START
22
+ public Bf_tutorial ( EndpointsFixture fixture ) : base ( fixture ) { }
18
23
24
+ [ SkippableFact ]
25
+ // REMOVE_END
19
26
public void run ( )
20
27
{
28
+ //REMOVE_START
29
+ // This is needed because we're constructing ConfigurationOptions in the test before calling GetConnection
30
+ SkipIfTargetConnectionDoesNotExist ( EndpointsFixture . Env . Standalone ) ;
31
+ var _ = GetCleanDatabase ( EndpointsFixture . Env . Standalone ) ;
32
+ //REMOVE_END
21
33
var muxer = ConnectionMultiplexer . Connect ( "localhost:6379" ) ;
22
34
var db = muxer . GetDatabase ( ) ;
23
35
//REMOVE_START
Original file line number Diff line number Diff line change @@ -13,10 +13,22 @@ namespace Doc;
13
13
14
14
// HIDE_START
15
15
public class Bitmap_tutorial
16
+ // REMOVE_START
17
+ : AbstractNRedisStackTest , IDisposable
18
+ // REMOVE_END
16
19
{
20
+ // REMOVE_START
21
+ public Bitmap_tutorial ( EndpointsFixture fixture ) : base ( fixture ) { }
17
22
23
+ [ SkippableFact ]
24
+ // REMOVE_END
18
25
public void run ( )
19
26
{
27
+ //REMOVE_START
28
+ // This is needed because we're constructing ConfigurationOptions in the test before calling GetConnection
29
+ SkipIfTargetConnectionDoesNotExist ( EndpointsFixture . Env . Standalone ) ;
30
+ var _ = GetCleanDatabase ( EndpointsFixture . Env . Standalone ) ;
31
+ //REMOVE_END
20
32
var muxer = ConnectionMultiplexer . Connect ( "localhost:6379" ) ;
21
33
var db = muxer . GetDatabase ( ) ;
22
34
//REMOVE_START
Original file line number Diff line number Diff line change @@ -13,10 +13,23 @@ namespace Doc;
13
13
14
14
// HIDE_START
15
15
public class CmdsGenericExample
16
+ // REMOVE_START
17
+ : AbstractNRedisStackTest , IDisposable
18
+ // REMOVE_END
16
19
{
20
+ // REMOVE_START
21
+ public CmdsGenericExample ( EndpointsFixture fixture ) : base ( fixture ) { }
17
22
23
+ [ SkipIfRedis ( Comparison . LessThan , "7.0.0" ) ]
24
+ [ InlineData ] // No parameters passed, but still uses Theory
25
+ // REMOVE_END
18
26
public void run ( )
19
27
{
28
+ //REMOVE_START
29
+ // This is needed because we're constructing ConfigurationOptions in the test before calling GetConnection
30
+ SkipIfTargetConnectionDoesNotExist ( EndpointsFixture . Env . Standalone ) ;
31
+ var _ = GetCleanDatabase ( EndpointsFixture . Env . Standalone ) ;
32
+ //REMOVE_END
20
33
var muxer = ConnectionMultiplexer . Connect ( "localhost:6379" ) ;
21
34
var db = muxer . GetDatabase ( ) ;
22
35
//REMOVE_START
Original file line number Diff line number Diff line change @@ -11,10 +11,22 @@ namespace Doc;
11
11
12
12
// HIDE_START
13
13
public class CmdsHashExample
14
+ // REMOVE_START
15
+ : AbstractNRedisStackTest , IDisposable
16
+ // REMOVE_END
14
17
{
18
+ // REMOVE_START
19
+ public CmdsHashExample ( EndpointsFixture fixture ) : base ( fixture ) { }
15
20
21
+ [ SkippableFact ]
22
+ // REMOVE_END
16
23
public void run ( )
17
24
{
25
+ //REMOVE_START
26
+ // This is needed because we're constructing ConfigurationOptions in the test before calling GetConnection
27
+ SkipIfTargetConnectionDoesNotExist ( EndpointsFixture . Env . Standalone ) ;
28
+ var _ = GetCleanDatabase ( EndpointsFixture . Env . Standalone ) ;
29
+ //REMOVE_END
18
30
var muxer = ConnectionMultiplexer . Connect ( "localhost:6379" ) ;
19
31
var db = muxer . GetDatabase ( ) ;
20
32
//REMOVE_START
Original file line number Diff line number Diff line change @@ -13,10 +13,22 @@ namespace Doc;
13
13
14
14
// HIDE_START
15
15
public class CmdsSortedSet
16
+ // REMOVE_START
17
+ : AbstractNRedisStackTest , IDisposable
18
+ // REMOVE_END
16
19
{
20
+ // REMOVE_START
21
+ public CmdsSortedSet ( EndpointsFixture fixture ) : base ( fixture ) { }
17
22
23
+ [ SkippableFact ]
24
+ // REMOVE_END
18
25
public void run ( )
19
26
{
27
+ //REMOVE_START
28
+ // This is needed because we're constructing ConfigurationOptions in the test before calling GetConnection
29
+ SkipIfTargetConnectionDoesNotExist ( EndpointsFixture . Env . Standalone ) ;
30
+ var _ = GetCleanDatabase ( EndpointsFixture . Env . Standalone ) ;
31
+ //REMOVE_END
20
32
var muxer = ConnectionMultiplexer . Connect ( "localhost:6379" ) ;
21
33
var db = muxer . GetDatabase ( ) ;
22
34
//REMOVE_START
Original file line number Diff line number Diff line change @@ -13,10 +13,22 @@ namespace Doc;
13
13
14
14
// HIDE_START
15
15
public class CmdsStringExample
16
+ // REMOVE_START
17
+ : AbstractNRedisStackTest , IDisposable
18
+ // REMOVE_END
16
19
{
20
+ // REMOVE_START
21
+ public CmdsStringExample ( EndpointsFixture fixture ) : base ( fixture ) { }
17
22
23
+ [ SkippableFact ]
24
+ // REMOVE_END
18
25
public void run ( )
19
26
{
27
+ //REMOVE_START
28
+ // This is needed because we're constructing ConfigurationOptions in the test before calling GetConnection
29
+ SkipIfTargetConnectionDoesNotExist ( EndpointsFixture . Env . Standalone ) ;
30
+ var _ = GetCleanDatabase ( EndpointsFixture . Env . Standalone ) ;
31
+ //REMOVE_END
20
32
var muxer = ConnectionMultiplexer . Connect ( "localhost:6379" ) ;
21
33
var db = muxer . GetDatabase ( ) ;
22
34
//REMOVE_START
Original file line number Diff line number Diff line change @@ -15,10 +15,22 @@ namespace Doc;
15
15
16
16
// HIDE_START
17
17
public class Cms_tutorial
18
+ // REMOVE_START
19
+ : AbstractNRedisStackTest , IDisposable
20
+ // REMOVE_END
18
21
{
22
+ // REMOVE_START
23
+ public Cms_tutorial ( EndpointsFixture fixture ) : base ( fixture ) { }
19
24
25
+ [ SkippableFact ]
26
+ // REMOVE_END
20
27
public void run ( )
21
28
{
29
+ //REMOVE_START
30
+ // This is needed because we're constructing ConfigurationOptions in the test before calling GetConnection
31
+ SkipIfTargetConnectionDoesNotExist ( EndpointsFixture . Env . Standalone ) ;
32
+ var _ = GetCleanDatabase ( EndpointsFixture . Env . Standalone ) ;
33
+ //REMOVE_END
22
34
var muxer = ConnectionMultiplexer . Connect ( "localhost:6379" ) ;
23
35
var db = muxer . GetDatabase ( ) ;
24
36
//REMOVE_START
Original file line number Diff line number Diff line change @@ -14,10 +14,22 @@ namespace Doc;
14
14
15
15
// HIDE_START
16
16
public class Cuckoo_tutorial
17
+ // REMOVE_START
18
+ : AbstractNRedisStackTest , IDisposable
19
+ // REMOVE_END
17
20
{
21
+ // REMOVE_START
22
+ public Cuckoo_tutorial ( EndpointsFixture fixture ) : base ( fixture ) { }
18
23
24
+ [ SkippableFact ]
25
+ // REMOVE_END
19
26
public void run ( )
20
27
{
28
+ //REMOVE_START
29
+ // This is needed because we're constructing ConfigurationOptions in the test before calling GetConnection
30
+ SkipIfTargetConnectionDoesNotExist ( EndpointsFixture . Env . Standalone ) ;
31
+ var _ = GetCleanDatabase ( EndpointsFixture . Env . Standalone ) ;
32
+ //REMOVE_END
21
33
var muxer = ConnectionMultiplexer . Connect ( "localhost:6379" ) ;
22
34
var db = muxer . GetDatabase ( ) ;
23
35
//REMOVE_START
Original file line number Diff line number Diff line change @@ -13,10 +13,22 @@ namespace Doc;
13
13
14
14
// HIDE_START
15
15
public class Geo_tutorial
16
+ // REMOVE_START
17
+ : AbstractNRedisStackTest , IDisposable
18
+ // REMOVE_END
16
19
{
20
+ // REMOVE_START
21
+ public Geo_tutorial ( EndpointsFixture fixture ) : base ( fixture ) { }
17
22
23
+ [ SkippableFact ]
24
+ // REMOVE_END
18
25
public void run ( )
19
26
{
27
+ //REMOVE_START
28
+ // This is needed because we're constructing ConfigurationOptions in the test before calling GetConnection
29
+ SkipIfTargetConnectionDoesNotExist ( EndpointsFixture . Env . Standalone ) ;
30
+ var _ = GetCleanDatabase ( EndpointsFixture . Env . Standalone ) ;
31
+ //REMOVE_END
20
32
var muxer = ConnectionMultiplexer . Connect ( "localhost:6379" ) ;
21
33
var db = muxer . GetDatabase ( ) ;
22
34
//REMOVE_START
Original file line number Diff line number Diff line change @@ -9,10 +9,22 @@ namespace Doc;
9
9
[ Collection ( "DocsTests" ) ]
10
10
//REMOVE_END
11
11
public class HashExample
12
+ // REMOVE_START
13
+ : AbstractNRedisStackTest , IDisposable
14
+ // REMOVE_END
12
15
{
16
+ // REMOVE_START
17
+ public HashExample ( EndpointsFixture fixture ) : base ( fixture ) { }
13
18
19
+ [ SkippableFact ]
20
+ // REMOVE_END
14
21
public void run ( )
15
22
{
23
+ //REMOVE_START
24
+ // This is needed because we're constructing ConfigurationOptions in the test before calling GetConnection
25
+ SkipIfTargetConnectionDoesNotExist ( EndpointsFixture . Env . Standalone ) ;
26
+ var _ = GetCleanDatabase ( EndpointsFixture . Env . Standalone ) ;
27
+ //REMOVE_END
16
28
var muxer = ConnectionMultiplexer . Connect ( "localhost:6379" ) ;
17
29
var db = muxer . GetDatabase ( ) ;
18
30
db . KeyDelete ( "bike:1" ) ;
Original file line number Diff line number Diff line change @@ -13,10 +13,22 @@ namespace Doc;
13
13
14
14
// HIDE_START
15
15
public class Hll_tutorial
16
+ // REMOVE_START
17
+ : AbstractNRedisStackTest , IDisposable
18
+ // REMOVE_END
16
19
{
20
+ // REMOVE_START
21
+ public Hll_tutorial ( EndpointsFixture fixture ) : base ( fixture ) { }
17
22
23
+ [ SkippableFact ]
24
+ // REMOVE_END
18
25
public void run ( )
19
26
{
27
+ //REMOVE_START
28
+ // This is needed because we're constructing ConfigurationOptions in the test before calling GetConnection
29
+ SkipIfTargetConnectionDoesNotExist ( EndpointsFixture . Env . Standalone ) ;
30
+ var _ = GetCleanDatabase ( EndpointsFixture . Env . Standalone ) ;
31
+ //REMOVE_END
20
32
var muxer = ConnectionMultiplexer . Connect ( "localhost:6379" ) ;
21
33
var db = muxer . GetDatabase ( ) ;
22
34
//REMOVE_START
Original file line number Diff line number Diff line change @@ -17,10 +17,23 @@ namespace Doc;
17
17
18
18
// HIDE_START
19
19
public class HomeJsonExample
20
+ // REMOVE_START
21
+ : AbstractNRedisStackTest , IDisposable
22
+ // REMOVE_END
20
23
{
24
+ // REMOVE_START
25
+ public HomeJsonExample ( EndpointsFixture fixture ) : base ( fixture ) { }
21
26
27
+ [ SkippableFact ]
28
+ // REMOVE_END
22
29
public void run ( )
23
30
{
31
+ //REMOVE_START
32
+ // This is needed because we're constructing ConfigurationOptions in the test before calling GetConnection
33
+ SkipIfTargetConnectionDoesNotExist ( EndpointsFixture . Env . Standalone ) ;
34
+ var _ = GetCleanDatabase ( EndpointsFixture . Env . Standalone ) ;
35
+ //REMOVE_END
36
+
24
37
// STEP_START connect
25
38
var muxer = ConnectionMultiplexer . Connect ( "localhost:6379" ) ;
26
39
var db = muxer . GetDatabase ( ) ;
Original file line number Diff line number Diff line change @@ -15,10 +15,22 @@ namespace Doc;
15
15
16
16
// HIDE_START
17
17
public class Json_tutorial
18
+ // REMOVE_START
19
+ : AbstractNRedisStackTest , IDisposable
20
+ // REMOVE_END
18
21
{
22
+ // REMOVE_START
23
+ public Json_tutorial ( EndpointsFixture fixture ) : base ( fixture ) { }
19
24
25
+ [ SkippableFact ]
26
+ // REMOVE_END
20
27
public void run ( )
21
28
{
29
+ //REMOVE_START
30
+ // This is needed because we're constructing ConfigurationOptions in the test before calling GetConnection
31
+ SkipIfTargetConnectionDoesNotExist ( EndpointsFixture . Env . Standalone ) ;
32
+ var _ = GetCleanDatabase ( EndpointsFixture . Env . Standalone ) ;
33
+ //REMOVE_END
22
34
var muxer = ConnectionMultiplexer . Connect ( "localhost:6379" ) ;
23
35
var db = muxer . GetDatabase ( ) ;
24
36
//REMOVE_START
Original file line number Diff line number Diff line change @@ -12,9 +12,22 @@ namespace Doc;
12
12
[ Collection ( "DocsTests" ) ]
13
13
//REMOVE_END
14
14
public class ListExample
15
+ // REMOVE_START
16
+ : AbstractNRedisStackTest , IDisposable
17
+ // REMOVE_END
15
18
{
19
+ // REMOVE_START
20
+ public ListExample ( EndpointsFixture fixture ) : base ( fixture ) { }
21
+
22
+ [ SkippableFact ]
23
+ // REMOVE_END
16
24
public void run ( )
17
25
{
26
+ //REMOVE_START
27
+ // This is needed because we're constructing ConfigurationOptions in the test before calling GetConnection
28
+ SkipIfTargetConnectionDoesNotExist ( EndpointsFixture . Env . Standalone ) ;
29
+ var _ = GetCleanDatabase ( EndpointsFixture . Env . Standalone ) ;
30
+ //REMOVE_END
18
31
var muxer = ConnectionMultiplexer . Connect ( "localhost:6379" ) ;
19
32
var db = muxer . GetDatabase ( ) ;
20
33
//HIDE_END
Original file line number Diff line number Diff line change @@ -17,10 +17,22 @@ namespace Doc;
17
17
18
18
// HIDE_START
19
19
public class QueryAggExample
20
+ // REMOVE_START
21
+ : AbstractNRedisStackTest , IDisposable
22
+ // REMOVE_END
20
23
{
24
+ // REMOVE_START
25
+ public QueryAggExample ( EndpointsFixture fixture ) : base ( fixture ) { }
21
26
27
+ [ SkippableFact ]
28
+ // REMOVE_END
22
29
public void run ( )
23
30
{
31
+ //REMOVE_START
32
+ // This is needed because we're constructing ConfigurationOptions in the test before calling GetConnection
33
+ SkipIfTargetConnectionDoesNotExist ( EndpointsFixture . Env . Standalone ) ;
34
+ var _ = GetCleanDatabase ( EndpointsFixture . Env . Standalone ) ;
35
+ //REMOVE_END
24
36
var muxer = ConnectionMultiplexer . Connect ( "localhost:6379" ) ;
25
37
var db = muxer . GetDatabase ( ) ;
26
38
//REMOVE_START
Original file line number Diff line number Diff line change @@ -16,10 +16,22 @@ namespace Doc;
16
16
17
17
// HIDE_START
18
18
public class QueryEmExample
19
+ // REMOVE_START
20
+ : AbstractNRedisStackTest , IDisposable
21
+ // REMOVE_END
19
22
{
23
+ // REMOVE_START
24
+ public QueryEmExample ( EndpointsFixture fixture ) : base ( fixture ) { }
20
25
26
+ [ SkippableFact ]
27
+ // REMOVE_END
21
28
public void run ( )
22
29
{
30
+ //REMOVE_START
31
+ // This is needed because we're constructing ConfigurationOptions in the test before calling GetConnection
32
+ SkipIfTargetConnectionDoesNotExist ( EndpointsFixture . Env . Standalone ) ;
33
+ var _ = GetCleanDatabase ( EndpointsFixture . Env . Standalone ) ;
34
+ //REMOVE_END
23
35
var muxer = ConnectionMultiplexer . Connect ( "localhost:6379" ) ;
24
36
var db = muxer . GetDatabase ( ) ;
25
37
//REMOVE_START
Original file line number Diff line number Diff line change @@ -16,10 +16,22 @@ namespace Doc;
16
16
17
17
// HIDE_START
18
18
public class QueryFtExample
19
+ // REMOVE_START
20
+ : AbstractNRedisStackTest , IDisposable
21
+ // REMOVE_END
19
22
{
23
+ // REMOVE_START
24
+ public QueryFtExample ( EndpointsFixture fixture ) : base ( fixture ) { }
20
25
26
+ [ SkippableFact ]
27
+ // REMOVE_END
21
28
public void run ( )
22
29
{
30
+ //REMOVE_START
31
+ // This is needed because we're constructing ConfigurationOptions in the test before calling GetConnection
32
+ SkipIfTargetConnectionDoesNotExist ( EndpointsFixture . Env . Standalone ) ;
33
+ var _ = GetCleanDatabase ( EndpointsFixture . Env . Standalone ) ;
34
+ //REMOVE_END
23
35
var muxer = ConnectionMultiplexer . Connect ( "localhost:6379" ) ;
24
36
var db = muxer . GetDatabase ( ) ;
25
37
//REMOVE_START
You can’t perform that action at this time.
0 commit comments