Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
[ID: 558956]
View issue level access limits(Press Alt + Right arrow for more information)
Request for new functionality
View staffing
Description
Description
I run tests of my app with
./gradlew :app:connectedDebugAndroidTest
. After the test suite finishes running, several test artifacts are generated, one of which is thetest-result.pb
file atapp/build/outputs/androidTest-results/connected/test-result.pb
(at least in my case).I want to parse that file in the command line using the
protoc
tool. Unfortunately, there's no documentation about the.proto
where the schema fortest-resuls.pb
is defined, so I went on searching.Searching
The only tool that parses that file (that I know of) is Android Studio, and knowing it's open-source, I went searching there. I found the piece of code responsible for loading class. That class reads the
test-result.pb
into Android Studio – it's theUtpTestResultAdapter
test-result.pb
file and creates aTestSuiteResultProto
out of it... but that's where the trail ends.TesetSuiteResultProto
is imported fromcom.google.testing.platform.proto.api.core.TestSuiteResultProto
, and I cannot find the source code of it anywhere.That artifact exists on Google's Maven repo , with the following description:
The AndroidX Test Library provides an extensive framework for testing Android apps
. But I couldn't find it in this repository.In fact, searching for still didn't reveal the original
TestSuiteResultProto
in the whole AOSP codebase.proto
file where it's definedQuestion
Where can I see the original
.proto
file fortest-result.pb
?