AmInstrumentOptions Class

Summary

Options for Instrumentation
Assembly
Cake.Android.Adb.dll
Namespace
Cake.AndroidAdb
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["AmInstrumentOptions"] class Type type-node

Syntax

public class AmInstrumentOptions

Constructors

Name Summary
AmInstrumentOptions()

Properties

Name Value Summary
KeyValues Dictionary<string, List<string>>
Gets or sets the key/value pairs. For test runners a common form is testrunner_flag=value,value,etc.
NoWindowAnimation bool
Gets or sets a value indicating whether to turn off window animations while running.
PrintRawResults bool
Gets or sets a value indicating whether to print raw results (otherwise decode report_key_streamresult). Use with a key/value pair of {"perf",{"true"}} to generate raw output for performance measurements.
ProfileToFile FilePath
Gets or sets the file to write profiling data to.
RunAsUser string
Gets or sets the User to run instrumentation in. Default is current user if not specified.
Wait bool
Gets or sets a value indicating whether to wait for instrumentation to finish before returning. Required for test runners.

Extension Methods

Name Value Summary
Dump<AmInstrumentOptions>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<AmInstrumentOptions>(AmInstrumentOptions[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<AmInstrumentOptions>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<AmInstrumentOptions>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<AmInstrumentOptions>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<AmInstrumentOptions>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin