New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run `GrettySmokeTest` with native Gradle import #6804

Closed
big-guy opened this Issue Sep 18, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@big-guy
Member

big-guy commented Sep 18, 2018

Expected Behavior

I can execute integration tests (either via Gradle delegation or the platform test runner).

Current Behavior

Some integration tests can be executed, some cannot.

Context

I imported gradle/gradle into IntelliJ IDEA 2018.3 EAP and successfully ran other integration tests.

When trying to execute GrettySmokeTest (and I think any other smoke test), I get errors because IDEA is trying to compile files from the resources directory:

/Users/sterling/gits/gradle/subprojects/smoke-test/src/smokeTest/resources/org/gradle/smoketests/android-kotlin-example/src/main/kotlin/org/gradle/smoketest/kotlin/android/StringPrinterFragment.kt
Error:(3, 8) Kotlin: Unresolved reference: android
Error:(4, 8) Kotlin: Unresolved reference: android
Error:(5, 22) Kotlin: Unresolved reference: anko
Error:(7, 31) Kotlin: Unresolved reference: Fragment
Error:(9, 42) Kotlin: Unresolved reference: runOnUiThread
Error:(10, 9) Kotlin: Unresolved reference: Log

Steps to Reproduce (for bugs)

Try to execute a smoke test integration test.

Your Environment

macOS, Java 9

wolfs added a commit that referenced this issue Sep 18, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment