Send feedback
AnalysisTestResultInfo
Stay organized with collections
Save and categorize content based on your preferences.
Report an issueopen_in_new
View sourceopen_in_new
Nightly
·
7.3
·
7.2
·
7.1
·
7.0
·
6.5
Encapsulates the result of analyis-phase testing. Build targets which return an instance of this provider signal to the build system that it should generate a 'stub' test executable which generates the equivalent test result. Analysis test rules (rules created with
analysis_test=True
must return an instance of this provider, and non-analysis-phase test rules
cannot return this provider.
Members
AnalysisTestResultInfo
AnalysisTestResultInfo AnalysisTestResultInfo(success, message)
The
AnalysisTestResultInfo
constructor.
Parameters
Parameter
Description
success
required
If true, then the analysis-phase test represented by this target should pass. If false, the test should fail.
message
required
A descriptive message containing information about the test and its success/failure.
message
string AnalysisTestResultInfo.message
A descriptive message containing information about the test and its success/failure.
success
bool AnalysisTestResultInfo.success
If true, then the analysis-phase test represented by this target passed. If false, the test failed.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-13 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-08-13 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-08-13 UTC."],[],[]]