Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Oren Novotny
committed
Sep 7, 2012
1 parent
dd49a74
commit 276db07
Showing
7 changed files
with
770 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using MetroLog.Fakes; | ||
using Microsoft.QualityTools.Testing.Fakes; | ||
using Xunit; | ||
|
||
namespace MetroLog.Tests.Tests | ||
{ | ||
public class LogManagerFactoryTests | ||
{ | ||
[Fact] | ||
public void InitalizeCallsSetDefault() | ||
{ | ||
bool wasCalled = false; | ||
// using (ShimsContext.Create()) | ||
//{ | ||
// ShimLogManagerFactoryBase.SetDefaultLogManagerILogManager = lm => wasCalled = true; | ||
|
||
//LogManagerFactory.Initialize(); | ||
//} | ||
|
||
Assert.True(wasCalled); | ||
} | ||
} | ||
} |