Struct gapi_grpc::google::devtools::resultstore::v2::TestAction[][src]

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,
}

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

impl Clone for TestAction[src]

impl Debug for TestAction[src]

impl Default for TestAction[src]

impl Message for TestAction[src]

impl PartialEq<TestAction> for TestAction[src]

impl StructuralPartialEq for TestAction[src]

Auto Trait Implementations

impl RefUnwindSafe for TestAction

impl Send for TestAction

impl Sync for TestAction

impl Unpin for TestAction

impl UnwindSafe for TestAction

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]