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:
Dmitry Jemerov
2017-03-27 15:39:01 +02:00
parent 88372132be
commit 265e765ec9
4 changed files with 39 additions and 0 deletions
@@ -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