Create header implementation fix: check import directive, change / add it if needed

This commit is contained in:
Mikhail Glukhikh
2017-01-11 15:31:38 +03:00
parent f33d421bab
commit aeb6bff145
16 changed files with 115 additions and 10 deletions
@@ -0,0 +1,6 @@
// "Create header class implementation for platform JVM" "true"
// SHOULD_BE_AVAILABLE_AFTER_EXECUTION
package test.inner
header class <caret>My
@@ -0,0 +1,6 @@
// "Create header class implementation for platform JVM" "true"
// SHOULD_BE_AVAILABLE_AFTER_EXECUTION
package test.inner
header class My
@@ -0,0 +1,3 @@
package test.inner
impl class My
@@ -0,0 +1,6 @@
// "Create header class implementation for platform JVM" "true"
// SHOULD_BE_AVAILABLE_AFTER_EXECUTION
package test.inner
header class <caret>My
@@ -0,0 +1,6 @@
// "Create header class implementation for platform JVM" "true"
// SHOULD_BE_AVAILABLE_AFTER_EXECUTION
package test.inner
header class My
@@ -0,0 +1,3 @@
package incorrect
class Some
@@ -0,0 +1,3 @@
package incorrect
class Some
@@ -0,0 +1,3 @@
package test.inner
impl class My
@@ -0,0 +1,6 @@
// "Create header class implementation for platform JVM" "true"
// SHOULD_BE_AVAILABLE_AFTER_EXECUTION
package test.inner
header class <caret>My
@@ -0,0 +1,6 @@
// "Create header class implementation for platform JVM" "true"
// SHOULD_BE_AVAILABLE_AFTER_EXECUTION
package test.inner
header class My
@@ -0,0 +1 @@
package incorrect
@@ -0,0 +1,3 @@
package test.inner
impl class My