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
56c5a02d
Commit
56c5a02d
authored
Jun 03, 2018
by
Nick Craver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup
parent
5b49e324
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
6 deletions
+5
-6
TextWriterOutputHelper.cs
StackExchange.Redis.Tests/Helpers/TextWriterOutputHelper.cs
+2
-2
Sentinel.cs
StackExchange.Redis.Tests/Sentinel.cs
+1
-3
PlatformHelper.cs
StackExchange.Redis/StackExchange/Redis/PlatformHelper.cs
+2
-1
No files found.
StackExchange.Redis.Tests/Helpers/TextWriterOutputHelper.cs
View file @
56c5a02d
...
...
@@ -12,11 +12,11 @@ public class TextWriterOutputHelper : TextWriter
private
readonly
ITestOutputHelper
Output
;
public
TextWriterOutputHelper
(
ITestOutputHelper
outputHelper
)
=>
Output
=
outputHelper
;
public
override
void
WriteLine
(
string
messag
e
)
public
override
void
WriteLine
(
string
valu
e
)
{
base
.
Write
(
DateTime
.
UtcNow
.
ToString
(
"HH:mm:ss.fff"
));
base
.
Write
(
": "
);
base
.
WriteLine
(
messag
e
);
base
.
WriteLine
(
valu
e
);
}
public
override
void
Write
(
char
value
)
...
...
StackExchange.Redis.Tests/Sentinel.cs
View file @
56c5a02d
using
System
;
using
System.IO
;
using
System.IO
;
using
System.Net
;
using
System.Threading
;
using
StackExchange.Redis.Tests.Helpers
;
using
Xunit
;
using
Xunit.Abstractions
;
...
...
StackExchange.Redis/StackExchange/Redis/PlatformHelper.cs
View file @
56c5a02d
...
...
@@ -2,9 +2,10 @@
namespace
StackExchange.Redis
{
internal
class
PlatformHelper
internal
static
class
PlatformHelper
{
public
static
bool
IsMono
{
get
;
}
=
Type
.
GetType
(
"Mono.Runtime"
)
!=
null
;
public
static
bool
IsUnix
{
get
;
}
=
(
int
)
Environment
.
OSVersion
.
Platform
==
4
||
(
int
)
Environment
.
OSVersion
.
Platform
==
6
||
(
int
)
Environment
.
OSVersion
.
Platform
==
128
;
...
...
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