Allow to exclude specific qualified names from import in tests
In tests, ImportFix imports the first available candidate. This can lead to non-deterministic tests when multiple candidates are available. With this fix, unwanted candidates can be excluded.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
// "Import" "true"
|
||||
// ERROR: Unresolved reference: R
|
||||
// DO_NOT_IMPORT: android.support.v7.appcompat.R
|
||||
|
||||
package com.myapp.activity
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
// "Import" "true"
|
||||
// ERROR: Unresolved reference: R
|
||||
// DO_NOT_IMPORT: android.support.v7.appcompat.R
|
||||
|
||||
package com.myapp.activity
|
||||
|
||||
|
||||
Reference in New Issue
Block a user