Commit 5f53d028 authored by Jeremy Meng's avatar Jeremy Meng

Fix whitespace issues for better viewing on github PR.

parent 1b6d7a36
...@@ -234,7 +234,9 @@ public void MassiveBulkOpsAsync(bool preserveOrder, bool withContinuation) ...@@ -234,7 +234,9 @@ public void MassiveBulkOpsAsync(bool preserveOrder, bool withContinuation)
var conn = muxer.GetDatabase(); var conn = muxer.GetDatabase();
muxer.Wait(conn.PingAsync()); muxer.Wait(conn.PingAsync());
#if DNXCORE50
int number = 0; int number = 0;
#endif
Action<Task> nonTrivial = delegate Action<Task> nonTrivial = delegate
{ {
#if !DNXCORE50 #if !DNXCORE50
...@@ -485,17 +487,14 @@ public void MassiveBulkOpsSyncOldStyle(ResultCompletionMode completionMode, int ...@@ -485,17 +487,14 @@ public void MassiveBulkOpsSyncOldStyle(ResultCompletionMode completionMode, int
} }
#endif #endif
//TODO: Ignore("dnxcore crash")
#if !DNXCORE50
[Test] [Test]
[TestCase(true, 1)] [TestCase(true, 1)]
[TestCase(false, 1)] [TestCase(false, 1)]
[TestCase(true, 5)] [TestCase(true, 5)]
[TestCase(false, 5)] [TestCase(false, 5)]
#endif
public void MassiveBulkOpsFireAndForget(bool preserveOrder, int threads) public void MassiveBulkOpsFireAndForget(bool preserveOrder, int threads)
{ {
using (var muxer = Create(syncTimeout:20000)) using (var muxer = Create())
{ {
muxer.PreserveAsyncOrder = preserveOrder; muxer.PreserveAsyncOrder = preserveOrder;
#if DEBUG #if DEBUG
......
...@@ -12,7 +12,6 @@ public sealed class TransactionWrapperTests ...@@ -12,7 +12,6 @@ public sealed class TransactionWrapperTests
private Mock<ITransaction> mock; private Mock<ITransaction> mock;
private TransactionWrapper wrapper; private TransactionWrapper wrapper;
//[TestFixtureSetUp]
[OneTimeSetUp] [OneTimeSetUp]
public void Initialize() public void Initialize()
{ {
......
...@@ -39,6 +39,7 @@ public void NullPrefixIsError_Bytes() ...@@ -39,6 +39,7 @@ public void NullPrefixIsError_Bytes()
} }
}); });
} }
[Test] [Test]
public void NullPrefixIsError_String() public void NullPrefixIsError_String()
{ {
...@@ -62,6 +63,7 @@ public void NullDatabaseIsError(string prefix) ...@@ -62,6 +63,7 @@ public void NullDatabaseIsError(string prefix)
var prefixed = raw.WithKeyPrefix(prefix); var prefixed = raw.WithKeyPrefix(prefix);
}); });
} }
[Test] [Test]
public void BasicSmokeTest() public void BasicSmokeTest()
{ {
......
...@@ -31,11 +31,10 @@ public HashEntry(RedisValue name, RedisValue value) ...@@ -31,11 +31,10 @@ public HashEntry(RedisValue name, RedisValue value)
/// <summary> /// <summary>
/// The name of the hash field /// The name of the hash field
/// </summary> /// </summary>
[
#if !DNXCORE50 #if !DNXCORE50
Browsable(false), [Browsable(false)]
#endif #endif
EditorBrowsable(EditorBrowsableState.Never), Obsolete("Please use Name", false)] [EditorBrowsable(EditorBrowsableState.Never), Obsolete("Please use Name", false)]
public RedisValue Key { get { return name; } } public RedisValue Key { get { return name; } }
/// <summary> /// <summary>
......
...@@ -32,21 +32,19 @@ public SortedSetEntry(RedisValue element, double score) ...@@ -32,21 +32,19 @@ public SortedSetEntry(RedisValue element, double score)
/// <summary> /// <summary>
/// The score against the element /// The score against the element
/// </summary> /// </summary>
[
#if !DNXCORE50 #if !DNXCORE50
Browsable(false), [Browsable(false)]
#endif #endif
EditorBrowsable(EditorBrowsableState.Never), Obsolete("Please use Score", false)] [EditorBrowsable(EditorBrowsableState.Never), Obsolete("Please use Score", false)]
public double Value { get { return score; } } public double Value { get { return score; } }
/// <summary> /// <summary>
/// The unique element stored in the sorted set /// The unique element stored in the sorted set
/// </summary> /// </summary>
[
#if !DNXCORE50 #if !DNXCORE50
Browsable(false), [Browsable(false)]
#endif #endif
EditorBrowsable(EditorBrowsableState.Never), Obsolete("Please use Element", false)] [EditorBrowsable(EditorBrowsableState.Never), Obsolete("Please use Element", false)]
public RedisValue Key { get { return element; } } public RedisValue Key { get { return element; } }
/// <summary> /// <summary>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment