def _get_valid_commands(): """Return all top level DExTer test commands. Returns: { name (str): command (class) } """ return { DexExpectProgramState.get_name(): DexExpectProgramState, DexExpectStepKind.get_name(): DexExpectStepKind, DexExpectStepOrder.get_name(): DexExpectStepOrder, DexExpectWatchType.get_name(): DexExpectWatchType, DexExpectWatchValue.get_name(): DexExpectWatchValue, DexLabel.get_name(): DexLabel, DexUnreachable.get_name(): DexUnreachable, DexWatch.get_name(): DexWatch }
def _get_valid_commands(): """Return all top level DExTer test commands. Returns: { name (str): command (class) } """ return { DexCommandLine.get_name(): DexCommandLine, DexDeclareAddress.get_name(): DexDeclareAddress, DexDeclareFile.get_name(): DexDeclareFile, DexExpectProgramState.get_name(): DexExpectProgramState, DexExpectStepKind.get_name(): DexExpectStepKind, DexExpectStepOrder.get_name(): DexExpectStepOrder, DexExpectWatchType.get_name(): DexExpectWatchType, DexExpectWatchValue.get_name(): DexExpectWatchValue, DexLabel.get_name(): DexLabel, DexLimitSteps.get_name(): DexLimitSteps, DexFinishTest.get_name(): DexFinishTest, DexUnreachable.get_name(): DexUnreachable, DexWatch.get_name(): DexWatch }