Allow regex matching of available action names; accept both 2016.2 and 2016.3 names of static import quickfix

This commit is contained in:
Dmitry Jemerov
2016-12-08 16:31:59 +03:00
parent 76b5eadbaa
commit b8dc1b6771
13 changed files with 43 additions and 26 deletions
@@ -1,5 +1,5 @@
// FILE: bar/Foo.before.java
// "Static import method 'foo.Bar.foobar'" "true"
// "/(Static import|Import static) method 'foo.Bar.foobar'/" "true"
// ERROR: Unresolved reference: foobar
// ACTION: Create method 'foobar'
// WITH_RUNTIME
@@ -25,7 +25,7 @@ class Bar {
}
// FILE: bar/Foo.after.java
// "Static import method 'foo.Bar.foobar'" "true"
// "/(Static import|Import static) method 'foo.Bar.foobar'/" "true"
// ERROR: Unresolved reference: foobar
// ACTION: Create method 'foobar'
// WITH_RUNTIME