lightbulb_outline Please take our October 2018 developer survey. Start survey

ShellCommand

public abstract class ShellCommand
extends Object

java.lang.Object
   ↳ androidx.test.runner.permission.ShellCommand


Ideally we wouldn't need this abstraction but since UiAutomation is final we need an abstraction on top to be able to mock it in tests. It also gives us the flexibility to switch to another implementation in the future.

Summary

Public constructors

ShellCommand()

Inherited methods

From class java.lang.Object

Public constructors

ShellCommand

ShellCommand ()