@@ -61,6 +61,8 @@ public Compilation Compile(string assemblyInfoText)
61
61
} ;
62
62
63
63
[ Test ]
64
+ [ NUnit . Framework . Category ( "NoMono" ) ]
65
+ [ NUnit . Framework . Description ( "Won't run on Mono due to source information not being available for ShouldMatchApproved." ) ]
64
66
public void VerifyCreatedCode ( [ ValueSource ( "compilers" ) ] ICompiler compiler )
65
67
{
66
68
var semanticVersion = new SemanticVersion
@@ -94,6 +96,8 @@ public void VerifyCreatedCode([ValueSource("compilers")]ICompiler compiler)
94
96
}
95
97
96
98
[ Test ]
99
+ [ NUnit . Framework . Category ( "NoMono" ) ]
100
+ [ NUnit . Framework . Description ( "Won't run on Mono due to source information not being available for ShouldMatchApproved." ) ]
97
101
public void VerifyCreatedCode_NoNamespaceConflict ( [ ValueSource ( "compilers" ) ] ICompiler compiler )
98
102
{
99
103
var semanticVersion = new SemanticVersion
@@ -120,34 +124,44 @@ public void VerifyCreatedCode_NoNamespaceConflict([ValueSource("compilers")]ICom
120
124
121
125
[ Test ]
122
126
[ MethodImpl ( MethodImplOptions . NoInlining ) ]
127
+ [ NUnit . Framework . Category ( "NoMono" ) ]
128
+ [ NUnit . Framework . Description ( "Won't run on Mono due to source information not being available for ShouldMatchApproved." ) ]
123
129
public void VerifyAssemblyVersion_Major ( [ ValueSource ( "compilers" ) ] ICompiler compiler )
124
130
{
125
131
VerifyAssemblyVersion ( compiler , AssemblyVersioningScheme . Major ) ;
126
132
}
127
133
128
134
[ Test ]
129
135
[ MethodImpl ( MethodImplOptions . NoInlining ) ]
136
+ [ NUnit . Framework . Category ( "NoMono" ) ]
137
+ [ NUnit . Framework . Description ( "Won't run on Mono due to source information not being available for ShouldMatchApproved." ) ]
130
138
public void VerifyAssemblyVersion_MajorMinor ( [ ValueSource ( "compilers" ) ] ICompiler compiler )
131
139
{
132
140
VerifyAssemblyVersion ( compiler , AssemblyVersioningScheme . MajorMinor ) ;
133
141
}
134
142
135
143
[ Test ]
136
144
[ MethodImpl ( MethodImplOptions . NoInlining ) ]
145
+ [ NUnit . Framework . Category ( "NoMono" ) ]
146
+ [ NUnit . Framework . Description ( "Won't run on Mono due to source information not being available for ShouldMatchApproved." ) ]
137
147
public void VerifyAssemblyVersion_MajorMinorPatch ( [ ValueSource ( "compilers" ) ] ICompiler compiler )
138
148
{
139
149
VerifyAssemblyVersion ( compiler , AssemblyVersioningScheme . MajorMinorPatch ) ;
140
150
}
141
151
142
152
[ Test ]
143
153
[ MethodImpl ( MethodImplOptions . NoInlining ) ]
154
+ [ NUnit . Framework . Category ( "NoMono" ) ]
155
+ [ NUnit . Framework . Description ( "Won't run on Mono due to source information not being available for ShouldMatchApproved." ) ]
144
156
public void VerifyAssemblyVersion_MajorMinorPatchTag ( [ ValueSource ( "compilers" ) ] ICompiler compiler )
145
157
{
146
158
VerifyAssemblyVersion ( compiler , AssemblyVersioningScheme . MajorMinorPatchTag ) ;
147
159
}
148
160
149
161
[ Test ]
150
162
[ MethodImpl ( MethodImplOptions . NoInlining ) ]
163
+ [ NUnit . Framework . Category ( "NoMono" ) ]
164
+ [ NUnit . Framework . Description ( "Won't run on Mono due to source information not being available for ShouldMatchApproved." ) ]
151
165
public void VerifyAssemblyVersion_Major_InvalidInformationalValue ( [ ValueSource ( "compilers" ) ] ICompiler compiler )
152
166
{
153
167
var exception = Assert . Throws < WarningException > ( ( ) => VerifyAssemblyVersion ( compiler , AssemblyVersioningScheme . Major , "{ThisVariableDoesntExist}" ) ) ;
@@ -156,34 +170,43 @@ public void VerifyAssemblyVersion_Major_InvalidInformationalValue([ValueSource("
156
170
157
171
[ Test ]
158
172
[ MethodImpl ( MethodImplOptions . NoInlining ) ]
173
+ [ NUnit . Framework . Category ( "NoMono" ) ]
174
+ [ NUnit . Framework . Description ( "Won't run on Mono due to source information not being available for ShouldMatchApproved." ) ]
159
175
public void VerifyAssemblyVersion_Major_NugetAssemblyInfo ( [ ValueSource ( "compilers" ) ] ICompiler compiler )
160
176
{
161
177
VerifyAssemblyVersion ( compiler , AssemblyVersioningScheme . Major , "{NugetVersion}" ) ;
162
178
}
163
179
164
180
[ Test ]
165
181
[ MethodImpl ( MethodImplOptions . NoInlining ) ]
182
+ [ NUnit . Framework . Category ( "NoMono" ) ]
166
183
public void VerifyAssemblyVersion_MajorMinor_NugetAssemblyInfoWithMultipleVariables ( [ ValueSource ( "compilers" ) ] ICompiler compiler )
167
184
{
168
185
VerifyAssemblyVersion ( compiler , AssemblyVersioningScheme . MajorMinor , "{BranchName}-{Major}.{Minor}.{Patch}-{Sha}" ) ;
169
186
}
170
187
171
188
[ Test ]
172
189
[ MethodImpl ( MethodImplOptions . NoInlining ) ]
190
+ [ NUnit . Framework . Category ( "NoMono" ) ]
191
+ [ NUnit . Framework . Description ( "Won't run on Mono due to source information not being available for ShouldMatchApproved." ) ]
173
192
public void VerifyAssemblyVersion_MajorMinor_NugetAssemblyInfo ( [ ValueSource ( "compilers" ) ] ICompiler compiler )
174
193
{
175
194
VerifyAssemblyVersion ( compiler , AssemblyVersioningScheme . MajorMinor , "{NugetVersion}" ) ;
176
195
}
177
196
178
197
[ Test ]
179
198
[ MethodImpl ( MethodImplOptions . NoInlining ) ]
199
+ [ NUnit . Framework . Category ( "NoMono" ) ]
200
+ [ NUnit . Framework . Description ( "Won't run on Mono due to source information not being available for ShouldMatchApproved." ) ]
180
201
public void VerifyAssemblyVersion_MajorMinorPatch_NugetAssemblyInfo ( [ ValueSource ( "compilers" ) ] ICompiler compiler )
181
202
{
182
203
VerifyAssemblyVersion ( compiler , AssemblyVersioningScheme . MajorMinorPatch , "{NugetVersion}" ) ;
183
204
}
184
205
185
206
[ Test ]
186
207
[ MethodImpl ( MethodImplOptions . NoInlining ) ]
208
+ [ NUnit . Framework . Category ( "NoMono" ) ]
209
+ [ NUnit . Framework . Description ( "Won't run on Mono due to source information not being available for ShouldMatchApproved." ) ]
187
210
public void VerifyAssemblyVersion_MajorMinorPatchTag_NugetAssemblyInfo ( [ ValueSource ( "compilers" ) ] ICompiler compiler )
188
211
{
189
212
VerifyAssemblyVersion ( compiler , AssemblyVersioningScheme . MajorMinorPatchTag , "{NugetVersion}" ) ;
0 commit comments