File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
main/groovy/com/vanniktech/android/junit/jacoco
test/groovy/com/vanniktech/android/junit/jacoco Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -183,6 +183,7 @@ class GenerationPlugin implements Plugin<Project> {
183
183
' **/*Dagger*.*' , // Dagger auto-generated code.
184
184
' **/*MembersInjector*.*' , // Dagger auto-generated code.
185
185
' **/*_Provide*Factory*.*' , // Dagger auto-generated code.
186
+ ' **/*_Factory*.*' , // Dagger auto-generated code.
186
187
' **/*$JsonObjectMapper.*' , // LoganSquare auto-generated code.
187
188
' **/*$inlined$*.*' , // Kotlin specific, Jacoco can not handle several "$" in class name.
188
189
' **/*$Icepick.*' , // Icepick auto-generated code.
Original file line number Diff line number Diff line change @@ -290,7 +290,7 @@ public class GenerationTest {
290
290
public void getExcludesDefault () {
291
291
final def excludes = GenerationPlugin . getExcludes(new JunitJacocoExtension ())
292
292
293
- assert excludes. size == 18
293
+ assert excludes. size == 19
294
294
assert excludes. contains(' **/R.class' )
295
295
assert excludes. contains(' **/R2.class' )
296
296
assert excludes. contains(' **/R$*.class' )
@@ -305,6 +305,7 @@ public class GenerationTest {
305
305
assert excludes. contains(' **/*Dagger*.*' )
306
306
assert excludes. contains(' **/*MembersInjector*.*' )
307
307
assert excludes. contains(' **/*_Provide*Factory*.*' )
308
+ assert excludes. contains(' **/*_Factory*.*' )
308
309
assert excludes. contains(' **/*$JsonObjectMapper.*' )
309
310
assert excludes. contains(' **/*$inlined$*.*' )
310
311
assert excludes. contains(' **/*$Icepick.*' )
You can’t perform that action at this time.
0 commit comments