-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add coverage to new test * add property tests * change arg.any to method instead of prop * generic classes working * generic classes working and fixed indexers * remove unused code * update test coverage process * no need to restore (I think?) * add props * switch up the order * clean up buildAndTest yaml * switch up NumTimes * add throws functionality * add interface overload tests * fix tests slnf * add support for internal interface calls * fix tests * add nuget icon * fix warnings * exclude dummy class from code cov * add more generic tests * Merge remote-tracking branch 'origin/main' into dev * fix errors * add tests for virtual members
- Loading branch information
Showing
12 changed files
with
692 additions
and
23 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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions
13
tests/MockMe.Tests.ExampleClasses/ClassWithGenericMethods.cs
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,13 @@ | ||
using System; | ||
|
||
namespace MockMe.Tests.ExampleClasses; | ||
|
||
public class ClassWithGenericMethods | ||
{ | ||
public T OneGenericType<T>(T t) => throw new NotImplementedException(); | ||
|
||
public T1 TwoGenericTypes<T1, T2>(T1 t, T2 t2) => throw new NotImplementedException(); | ||
|
||
public T1 ThreeGenericTypes<T1, T2, T3>(T1 t, T2 t2, T3 t3) => | ||
throw new NotImplementedException(); | ||
} |
Oops, something went wrong.