-
-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding functionality to prevent caching (#299)
Co-authored-by: Adam Hewitt <[email protected]>
- Loading branch information
1 parent
0ad0d26
commit fa9c82b
Showing
7 changed files
with
59 additions
and
141 deletions.
There are no files selected for viewing
This file was deleted.
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
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 |
---|---|---|
@@ -1,15 +1,13 @@ | ||
using Microsoft.VisualStudio.TestTools.UnitTesting; | ||
using Moq.AutoMock.Resolvers; | ||
using Moq.AutoMock.Resolvers; | ||
|
||
namespace Moq.AutoMock.Tests.Resolvers; | ||
|
||
[TestClass] | ||
public class MockResolutionContextTests | ||
[ConstructorTests(typeof(MockResolutionContext))] | ||
public partial class MockResolutionContextTests | ||
{ | ||
[TestMethod] | ||
public void Constructor_null_checks_arguments() | ||
=> ConstructorTest | ||
.BuildArgumentNullExceptionsTest<MockResolutionContext>() | ||
.Use(new ObjectGraphContext(false)) | ||
.Run(); | ||
partial void AutoMockerTestSetup(AutoMocker mocker, string testName) | ||
{ | ||
mocker.Use(new ObjectGraphContext(false)); | ||
} | ||
} |
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
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