Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
StackExchange.Redis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tsai
StackExchange.Redis
Commits
5f53d028
Commit
5f53d028
authored
Nov 16, 2015
by
Jeremy Meng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix whitespace issues for better viewing on github PR.
parent
1b6d7a36
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
742 additions
and
745 deletions
+742
-745
BasicOps.cs
StackExchange.Redis.Tests/BasicOps.cs
+3
-4
Cluster.cs
StackExchange.Redis.Tests/Cluster.cs
+549
-549
Scripting.cs
StackExchange.Redis.Tests/Scripting.cs
+182
-182
TransactionWrapperTests.cs
StackExchange.Redis.Tests/TransactionWrapperTests.cs
+0
-1
WithKeyPrefixTests.cs
StackExchange.Redis.Tests/WithKeyPrefixTests.cs
+2
-0
HashEntry.cs
StackExchange.Redis/StackExchange/Redis/HashEntry.cs
+2
-3
SortedSetEntry.cs
StackExchange.Redis/StackExchange/Redis/SortedSetEntry.cs
+4
-6
No files found.
StackExchange.Redis.Tests/BasicOps.cs
View file @
5f53d028
...
...
@@ -234,7 +234,9 @@ public void MassiveBulkOpsAsync(bool preserveOrder, bool withContinuation)
var
conn
=
muxer
.
GetDatabase
();
muxer
.
Wait
(
conn
.
PingAsync
());
#if DNXCORE50
int
number
=
0
;
#endif
Action
<
Task
>
nonTrivial
=
delegate
{
#if !DNXCORE50
...
...
@@ -485,17 +487,14 @@ public void MassiveBulkOpsSyncOldStyle(ResultCompletionMode completionMode, int
}
#endif
//TODO: Ignore("dnxcore crash")
#if !DNXCORE50
[
Test
]
[
TestCase
(
true
,
1
)]
[
TestCase
(
false
,
1
)]
[
TestCase
(
true
,
5
)]
[
TestCase
(
false
,
5
)]
#endif
public
void
MassiveBulkOpsFireAndForget
(
bool
preserveOrder
,
int
threads
)
{
using
(
var
muxer
=
Create
(
syncTimeout
:
20000
))
using
(
var
muxer
=
Create
())
{
muxer
.
PreserveAsyncOrder
=
preserveOrder
;
#if DEBUG
...
...
StackExchange.Redis.Tests/Cluster.cs
View file @
5f53d028
This diff is collapsed.
Click to expand it.
StackExchange.Redis.Tests/Scripting.cs
View file @
5f53d028
This diff is collapsed.
Click to expand it.
StackExchange.Redis.Tests/TransactionWrapperTests.cs
View file @
5f53d028
...
...
@@ -12,7 +12,6 @@ public sealed class TransactionWrapperTests
private
Mock
<
ITransaction
>
mock
;
private
TransactionWrapper
wrapper
;
//[TestFixtureSetUp]
[
OneTimeSetUp
]
public
void
Initialize
()
{
...
...
StackExchange.Redis.Tests/WithKeyPrefixTests.cs
View file @
5f53d028
...
...
@@ -39,6 +39,7 @@ public void NullPrefixIsError_Bytes()
}
});
}
[
Test
]
public
void
NullPrefixIsError_String
()
{
...
...
@@ -62,6 +63,7 @@ public void NullDatabaseIsError(string prefix)
var
prefixed
=
raw
.
WithKeyPrefix
(
prefix
);
});
}
[
Test
]
public
void
BasicSmokeTest
()
{
...
...
StackExchange.Redis/StackExchange/Redis/HashEntry.cs
View file @
5f53d028
...
...
@@ -31,11 +31,10 @@ public HashEntry(RedisValue name, RedisValue value)
/// <summary>
/// The name of the hash field
/// </summary>
[
#if !DNXCORE50
Browsable
(
false
),
[
Browsable
(
false
)]
#endif
EditorBrowsable
(
EditorBrowsableState
.
Never
),
Obsolete
(
"Please use Name"
,
false
)]
[
EditorBrowsable
(
EditorBrowsableState
.
Never
),
Obsolete
(
"Please use Name"
,
false
)]
public
RedisValue
Key
{
get
{
return
name
;
}
}
/// <summary>
...
...
StackExchange.Redis/StackExchange/Redis/SortedSetEntry.cs
View file @
5f53d028
...
...
@@ -32,21 +32,19 @@ public SortedSetEntry(RedisValue element, double score)
/// <summary>
/// The score against the element
/// </summary>
[
#if !DNXCORE50
Browsable
(
false
),
[
Browsable
(
false
)]
#endif
EditorBrowsable
(
EditorBrowsableState
.
Never
),
Obsolete
(
"Please use Score"
,
false
)]
[
EditorBrowsable
(
EditorBrowsableState
.
Never
),
Obsolete
(
"Please use Score"
,
false
)]
public
double
Value
{
get
{
return
score
;
}
}
/// <summary>
/// The unique element stored in the sorted set
/// </summary>
[
#if !DNXCORE50
Browsable
(
false
),
[
Browsable
(
false
)]
#endif
EditorBrowsable
(
EditorBrowsableState
.
Never
),
Obsolete
(
"Please use Element"
,
false
)]
[
EditorBrowsable
(
EditorBrowsableState
.
Never
),
Obsolete
(
"Please use Element"
,
false
)]
public
RedisValue
Key
{
get
{
return
element
;
}
}
/// <summary>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment