anthraxx/intellij-awesome-console

file:/// path not linkified

Closed this issue · 5 comments

Kisty commented

Love the concept of this plugin but I'm an Android developer and executing tests gives failures giving URIs prefixed with file:/// and so aren't linkified. Would this be easy to add support for? If so, I could have a crack at adding it.

Kisty commented

Hmm, it looks like that the plugin already supports this, but my link file:///home/tim/Documents/source/learn2/app/build/reports/androidTests/connected/flavors/CAM/index.html isn't linkified. I've restarted Android Studio (IntelliJ-based IDE) as prompted. Any idea why this isn't working? There are no spaces present.

Kisty commented

Upon running filter and integration tests, adding the path, the link get's filtered fine, and the integration test passes too.

Using IntelliJ 2017.2, OpenJDK 1.8.0_131 on Ubuntu 16.04 LTS.
screenshot from 2017-07-18 10-28-01-console

Ah, after adding the full output of the test execution, the filter test fails. This is using Gradle 4.0 ./gradlew app:connectedAndroidTest:

Parallel execution is an incubating feature.

> Configure project :lib:imagitechLibrary
NDK is missing a "platforms" directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory.  It is currently set to /home/tim/Android/Sdk/ndk-bundle.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.

The setTestClassesDir(File) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the setTestClassesDirs(FileCollection) method instead.
The getTestClassesDir() method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the getTestClassesDirs() method instead.
The ConfigurableReport.setDestination(Object) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the method ConfigurableReport.setDestination(File) instead.

> Configure project :lib:wizardPager
NDK is missing a "platforms" directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory.  It is currently set to /home/tim/Android/Sdk/ndk-bundle.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.


> Configure project :lib:mathete
NDK is missing a "platforms" directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory.  It is currently set to /home/tim/Android/Sdk/ndk-bundle.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.

Crashlytics was applied to an android-library project. 
Android-library support is currently an incubating feature. 
Contact support@fabric.io with any issues.

> Configure project :lib:progressWheel
NDK is missing a "platforms" directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory.  It is currently set to /home/tim/Android/Sdk/ndk-bundle.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.


> Configure project :lib:facebook
NDK is missing a "platforms" directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory.  It is currently set to /home/tim/Android/Sdk/ndk-bundle.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.


> Configure project :lib:pagerContainer
NDK is missing a "platforms" directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory.  It is currently set to /home/tim/Android/Sdk/ndk-bundle.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.


> Configure project :lib:mediaServer
NDK is missing a "platforms" directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory.  It is currently set to /home/tim/Android/Sdk/ndk-bundle.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.


> Configure project :lib:poppy
NDK is missing a "platforms" directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory.  It is currently set to /home/tim/Android/Sdk/ndk-bundle.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.


> Configure project :app
NDK is missing a "platforms" directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory.  It is currently set to /home/tim/Android/Sdk/ndk-bundle.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.

Jack is disabled, but one of the plugins you are using supports Java 8 language features.
Jack is disabled, but one of the plugins you are using supports Java 8 language features.
Jack is disabled, but one of the plugins you are using supports Java 8 language features.
Jack is disabled, but one of the plugins you are using supports Java 8 language features.
Jack is disabled, but one of the plugins you are using supports Java 8 language features.
Jack is disabled, but one of the plugins you are using supports Java 8 language features.
Jack is disabled, but one of the plugins you are using supports Java 8 language features.
Jack is disabled, but one of the plugins you are using supports Java 8 language features.
Jack is disabled, but one of the plugins you are using supports Java 8 language features.
Jack is disabled, but one of the plugins you are using supports Java 8 language features.
Jack is disabled, but one of the plugins you are using supports Java 8 language features.
Jack is disabled, but one of the plugins you are using supports Java 8 language features.
Jack is disabled, but one of the plugins you are using supports Java 8 language features.
Jack is disabled, but one of the plugins you are using supports Java 8 language features.
Jack is disabled, but one of the plugins you are using supports Java 8 language features.
Jack is disabled, but one of the plugins you are using supports Java 8 language features.
Jack is disabled, but one of the plugins you are using supports Java 8 language features.
Jack is disabled, but one of the plugins you are using supports Java 8 language features.
Jack is disabled, but one of the plugins you are using supports Java 8 language features.
Jack is disabled, but one of the plugins you are using supports Java 8 language features.
Preparing parser for: Adi
Preparing parser for: Cam
Preparing parser for: Cpc
Preparing parser for: Lgvpcv
Preparing parser for: Topscore

> Task :lib:mathete:fabricGenerateResourcesRelease
Crashlytics found an invalid API key: null. 
It looks like Crashlytics is being applied to your Android Library! Just remove
apply plugin: 'Crashlytics'
from your library project. If you're looking for Library support, please contact support@fabric.io

Starting 3 tests on Auto_Phone_-_Nexus_5X_API_25(AVD) - 7.1.1

uk.co.imagitech.learn2.test.QuestionSearchWithRealQuestionActivityTest > restoresScreenAfterComingBack[Auto_Phone_-_Nexus_5X_API_25(AVD) - 7.1.1] FAILED 
        android.support.test.espresso.base.DefaultFailureHandler$AssertionFailedWithCauseError: 'is displayed on the screen to the user' doesn't match the selected view.
        Expected: is displayed on the screen to the user

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:connectedCamDebugAndroidTest'.
> There were failing tests. See the report at: file:///home/tim/Documents/source/learn2/app/build/reports/androidTests/connected/flavors/CAM/index.html

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED in 19s
311 actionable tasks: 101 executed, 210 up-to-date
Kisty commented

Ah, this is because the terminal isn't supported. Doh! Related to #23

So this is not an issue per se as the logs are contents of the terminal rather then the log output? If so, it is indeed #23 and you could close this separated issue?

Kisty commented

Aye, you're right @anthraxx. Closing.