We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85914d8 commit 4c35ed9Copy full SHA for 4c35ed9
1 file changed
ConventionTests/ConventionTests.NUnit.cs
@@ -81,6 +81,12 @@ public virtual string Name
81
}
82
83
public abstract void Execute();
84
+
85
+ protected void Approve(string message)
86
+ {
87
+ Approvals.Verify(new ApprovalTextWriter(message), new ConventionTestNamer(GetType().Name),
88
+ Approvals.GetReporter());
89
+ }
90
91
92
/// <summary>
@@ -131,12 +137,6 @@ protected virtual Assembly[] GetAssembliesToScan(ConventionData data)
131
137
/// <returns> </returns>
132
138
protected abstract ConventionData SetUp();
133
139
134
- private void Approve(string message)
135
- {
136
- Approvals.Verify(new ApprovalTextWriter(message), new ConventionTestNamer(GetType().Name),
- Approvals.GetReporter());
- }
-
140
protected virtual Type[] GetTypesToTest(ConventionData data)
141
{
142
return
0 commit comments