Enum google_api_proto::google::devtools::testing::v1::InvalidMatrixDetails
source · #[repr(i32)]pub enum InvalidMatrixDetails {
Show 39 variants
Unspecified = 0,
DetailsUnavailable = 1,
MalformedApk = 2,
MalformedTestApk = 3,
NoManifest = 4,
NoPackageName = 5,
InvalidPackageName = 31,
TestSameAsApp = 6,
NoInstrumentation = 7,
NoSignature = 20,
InstrumentationOrchestratorIncompatible = 18,
NoTestRunnerClass = 19,
NoLauncherActivity = 8,
ForbiddenPermissions = 9,
InvalidRoboDirectives = 10,
InvalidResourceName = 33,
InvalidDirectiveAction = 34,
TestLoopIntentFilterNotFound = 12,
ScenarioLabelNotDeclared = 13,
ScenarioLabelMalformed = 14,
ScenarioNotDeclared = 15,
DeviceAdminReceiver = 17,
MalformedXcTestZip = 11,
BuiltForIosSimulator = 24,
NoTestsInXcTestZip = 25,
UseDestinationArtifacts = 26,
TestNotAppHosted = 28,
PlistCannotBeParsed = 30,
TestOnlyApk = 21,
MalformedIpa = 22,
MissingUrlScheme = 35,
MalformedAppBundle = 36,
NoCodeApk = 23,
InvalidInputApk = 27,
InvalidApkPreviewSdk = 29,
MatrixTooLarge = 37,
TestQuotaExceeded = 39,
ServiceNotActivated = 40,
UnknownPermissionError = 41,
}
Expand description
The detailed reason that a Matrix was deemed INVALID.
Variants§
Unspecified = 0
Do not use. For proto versioning only.
The matrix is INVALID, but there are no further details available.
MalformedApk = 2
The input app APK could not be parsed.
MalformedTestApk = 3
The input test APK could not be parsed.
NoManifest = 4
The AndroidManifest.xml could not be found.
NoPackageName = 5
The APK manifest does not declare a package name.
InvalidPackageName = 31
The APK application ID (aka package name) is invalid. See also https://developer.android.com/studio/build/application-id
TestSameAsApp = 6
The test package and app package are the same.
NoInstrumentation = 7
The test apk does not declare an instrumentation.
NoSignature = 20
The input app apk does not have a signature.
InstrumentationOrchestratorIncompatible = 18
The test runner class specified by user or in the test APK’s manifest file is not compatible with Android Test Orchestrator. Orchestrator is only compatible with AndroidJUnitRunner version 1.1 or higher. Orchestrator can be disabled by using DO_NOT_USE_ORCHESTRATOR OrchestratorOption.
NoTestRunnerClass = 19
The test APK does not contain the test runner class specified by the user or in the manifest file. This can be caused by one of the following reasons:
- the user provided a runner class name that’s incorrect, or
- the test runner isn’t built into the test APK (might be in the app APK instead).
NoLauncherActivity = 8
A main launcher activity could not be found.
ForbiddenPermissions = 9
The app declares one or more permissions that are not allowed.
InvalidRoboDirectives = 10
There is a conflict in the provided robo_directives.
InvalidResourceName = 33
There is at least one invalid resource name in the provided robo directives
InvalidDirectiveAction = 34
Invalid definition of action in the robo directives (e.g. a click or ignore action includes an input text field)
TestLoopIntentFilterNotFound = 12
There is no test loop intent filter, or the one that is given is not formatted correctly.
ScenarioLabelNotDeclared = 13
The request contains a scenario label that was not declared in the manifest.
ScenarioLabelMalformed = 14
There was an error when parsing a label’s value.
ScenarioNotDeclared = 15
The request contains a scenario number that was not declared in the manifest.
DeviceAdminReceiver = 17
Device administrator applications are not allowed.
MalformedXcTestZip = 11
The zipped XCTest was malformed. The zip did not contain a single .xctestrun file and the contents of the DerivedData/Build/Products directory.
BuiltForIosSimulator = 24
The zipped XCTest was built for the iOS simulator rather than for a physical device.
NoTestsInXcTestZip = 25
The .xctestrun file did not specify any test targets.
UseDestinationArtifacts = 26
One or more of the test targets defined in the .xctestrun file specifies “UseDestinationArtifacts”, which is disallowed.
TestNotAppHosted = 28
XC tests which run on physical devices must have “IsAppHostedTestBundle” == “true” in the xctestrun file.
PlistCannotBeParsed = 30
An Info.plist file in the XCTest zip could not be parsed.
TestOnlyApk = 21
The APK is marked as “testOnly”. Deprecated and not currently used.
MalformedIpa = 22
The input IPA could not be parsed.
MissingUrlScheme = 35
The application doesn’t register the game loop URL scheme.
MalformedAppBundle = 36
The iOS application bundle (.app) couldn’t be processed.
NoCodeApk = 23
APK contains no code. See also https://developer.android.com/guide/topics/manifest/application-element.html#code
InvalidInputApk = 27
Either the provided input APK path was malformed, the APK file does not exist, or the user does not have permission to access the APK file.
InvalidApkPreviewSdk = 29
APK is built for a preview SDK which is unsupported
MatrixTooLarge = 37
The matrix expanded to contain too many executions.
TestQuotaExceeded = 39
Not enough test quota to run the executions in this matrix.
ServiceNotActivated = 40
A required cloud service api is not activated. See: https://firebase.google.com/docs/test-lab/android/continuous#requirements
UnknownPermissionError = 41
There was an unknown permission issue running this test.
Implementations§
source§impl InvalidMatrixDetails
impl InvalidMatrixDetails
sourcepub fn is_valid(value: i32) -> bool
pub fn is_valid(value: i32) -> bool
Returns true
if value
is a variant of InvalidMatrixDetails
.
sourcepub fn from_i32(value: i32) -> Option<InvalidMatrixDetails>
👎Deprecated: Use the TryFrom<i32> implementation instead
pub fn from_i32(value: i32) -> Option<InvalidMatrixDetails>
Converts an i32
to a InvalidMatrixDetails
, or None
if value
is not a valid variant.
source§impl InvalidMatrixDetails
impl InvalidMatrixDetails
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Clone for InvalidMatrixDetails
impl Clone for InvalidMatrixDetails
source§fn clone(&self) -> InvalidMatrixDetails
fn clone(&self) -> InvalidMatrixDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InvalidMatrixDetails
impl Debug for InvalidMatrixDetails
source§impl Default for InvalidMatrixDetails
impl Default for InvalidMatrixDetails
source§fn default() -> InvalidMatrixDetails
fn default() -> InvalidMatrixDetails
source§impl From<InvalidMatrixDetails> for i32
impl From<InvalidMatrixDetails> for i32
source§fn from(value: InvalidMatrixDetails) -> i32
fn from(value: InvalidMatrixDetails) -> i32
source§impl Hash for InvalidMatrixDetails
impl Hash for InvalidMatrixDetails
source§impl Ord for InvalidMatrixDetails
impl Ord for InvalidMatrixDetails
source§fn cmp(&self, other: &InvalidMatrixDetails) -> Ordering
fn cmp(&self, other: &InvalidMatrixDetails) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for InvalidMatrixDetails
impl PartialEq for InvalidMatrixDetails
source§fn eq(&self, other: &InvalidMatrixDetails) -> bool
fn eq(&self, other: &InvalidMatrixDetails) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for InvalidMatrixDetails
impl PartialOrd for InvalidMatrixDetails
source§fn partial_cmp(&self, other: &InvalidMatrixDetails) -> Option<Ordering>
fn partial_cmp(&self, other: &InvalidMatrixDetails) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for InvalidMatrixDetails
impl TryFrom<i32> for InvalidMatrixDetails
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
source§fn try_from(value: i32) -> Result<InvalidMatrixDetails, UnknownEnumValue>
fn try_from(value: i32) -> Result<InvalidMatrixDetails, UnknownEnumValue>
impl Copy for InvalidMatrixDetails
impl Eq for InvalidMatrixDetails
impl StructuralPartialEq for InvalidMatrixDetails
Auto Trait Implementations§
impl Freeze for InvalidMatrixDetails
impl RefUnwindSafe for InvalidMatrixDetails
impl Send for InvalidMatrixDetails
impl Sync for InvalidMatrixDetails
impl Unpin for InvalidMatrixDetails
impl UnwindSafe for InvalidMatrixDetails
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§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