New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 786676 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Nov 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug-Regression



Sign in to add a comment

Robolectric tests missing (and broken) for Android Studio

Project Member Reported by wychen@chromium.org, Nov 18 2017

Issue description

This might be a recent regression. After running generate_gradle.py, files in chrome/android/junit/ are not available in Android Studio.

Looks like junit directories are not in the following file
$OUT/gradle/_all/build.gradle

I remember this used to work, but I am not certain when this stopped working.
You might need to use a new OUTDIR to reproduce.
 

Comment 1 by wnwen@chromium.org, Nov 20 2017

Owner: wnwen@chromium.org
Status: Assigned (was: Untriaged)
Might be due to missing junit_binary in --all. Will take a look. Thanks for the report!

Comment 3 by wychen@chromium.org, Nov 20 2017

Thanks for the super fast fix!

Comment 4 by wnwen@chromium.org, Nov 20 2017

Cc: -agrieve@chromium.org
Owner: agrieve@chromium.org

Comment 5 by wychen@chromium.org, Nov 21 2017

I gave the CL at #c2 a try, but these junit directories are still not there.
Issue 787478 has been merged into this issue.
You're right! New PS should work for realz this time.
Summary: Robolectric tests missing (and broken) for Android Studio (was: Robolectric tests missing in Android Studio)
Status: Fixed (was: Assigned)
Fixed with: https://chromium-review.googlesource.com/c/chromium/src/+/779499

Sign in to add a comment