Struct google_api_proto::google::devtools::resultstore::v2::TestAction
source · pub struct TestAction {
pub test_timing: Option<TestTiming>,
pub shard_number: i32,
pub run_number: i32,
pub attempt_number: i32,
pub test_suite: Option<TestSuite>,
pub warnings: Vec<TestWarning>,
pub estimated_memory_bytes: i64,
}
Expand description
A test action, such as running a JUnit4 test binary.
Fields§
§test_timing: Option<TestTiming>
Timing data for execution of the test action.
shard_number: i32
If the test is divided up into shards to improve performance, set this to indicate which shard this test action is for. Value must be in interval [0, total_shard_count). Defaults to 0, which is appropriate if all test cases are run in the same process.
run_number: i32
If the user requested that every test be run multiple times, as is often done to measure flakiness, set this to indicate which run this test action is for. Value must be in interval [0, total_run_count). Defaults to 0, which is appropriate if multiple runs were not requested.
attempt_number: i32
If flaky tests are automatically retried, set this to indicate which attempt this test action is for. (e.g. 0 for the first attempt, 1 for second, and so on). Defaults to 0, which is appropriate if this is the only attempt.
test_suite: Option<TestSuite>
A tree of test suites and test cases that were run by this test action. Each test case has its own status information, including stack traces. Typically produced by parsing an XML Log, but may also be provided directly by clients.
warnings: Vec<TestWarning>
Warnings for this test action.
estimated_memory_bytes: i64
Estimated memory consumption of the test action, in bytes. A default value of 0 means there is no memory consumption estimate specified.
Trait Implementations§
source§impl Clone for TestAction
impl Clone for TestAction
source§fn clone(&self) -> TestAction
fn clone(&self) -> TestAction
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TestAction
impl Debug for TestAction
source§impl Default for TestAction
impl Default for TestAction
source§impl Message for TestAction
impl Message for TestAction
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for TestAction
impl PartialEq for TestAction
source§fn eq(&self, other: &TestAction) -> bool
fn eq(&self, other: &TestAction) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TestAction
Auto Trait Implementations§
impl Freeze for TestAction
impl RefUnwindSafe for TestAction
impl Send for TestAction
impl Sync for TestAction
impl Unpin for TestAction
impl UnwindSafe for TestAction
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request