Module Expr Str Import alias Import alias Import alias Import alias Import alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias If CompareEq Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str ImportFrom alias Import alias Assign NameStore Call AttributeLoad NameLoad attr Str ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Return Call NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore Str Assign NameStore NameLoad Assign NameStore NameLoad decorator_list FunctionDef arguments args defaults body Global identifier identifier identifier identifier identifier identifier Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str Dict Str Dict Str ListLoad Str Num Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call NameLoad NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args defaults body Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr Str attr Assign NameStore Call NameLoad keyword NameLoad Assert AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr Str attr Assign NameStore Call NameLoad keyword NameLoad Assert AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr Str attr Assign NameStore Call NameLoad Str keyword NameLoad Assert AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr Str attr Assign NameStore Call NameLoad Str keyword NameLoad Assign NameStore Call AttributeLoad Str attr SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Assign NameStore Call NameLoad Str keyword NameLoad Assert AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr Str attr Assign NameStore Call NameLoad Str keyword NameLoad Assert AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr Str attr Assign NameStore Call NameLoad keyword NameLoad Assert AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr Str attr Assign NameStore Call NameLoad Str keyword NameLoad Assert AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr Str attr Assign NameStore Call NameLoad Str keyword NameLoad Assert AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr Str attr Assign NameStore Call NameLoad Str keyword NameLoad Assert AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args defaults body Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr Str keyword Str attr Assign NameStore Call NameLoad keyword NameLoad Assert AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args defaults body Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr Str keyword Str attr Assign NameStore Call NameLoad keyword NameLoad Assert AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args defaults body Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr Str attr Assign NameStore Call NameLoad Str keyword NameLoad Assert AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr NameLoad decorator_list
N/A N/A 
Tests that emulate the debugger adaptor and just test the interaction between
the front end and back end API classes. HTTP edition!

Tests:
Server (via HTTP)
 N/A logging N/A sys N/A json N/A time N/A subprocess nose.tools * N/A voltron voltron.core * voltron.api * voltron.plugin * N/A platform N/A N/A N/A N/A platform system Darwin N/A N/A N/A N/A N/A sys path append /Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Resources/Python common * N/A requests N/A log N/A N/A logging getLogger tests APIHostNotSupportedRequest N/A APIRequest N/A dispatch N/A N/A self N/A N/A N/A N/A APIDebuggerHostNotSupportedErrorResponse N/A server_side N/A APIHostNotSupportedPlugin N/A APIPlugin N/A N/A request host_not_supported N/A request_class APIHostNotSupportedRequest N/A response_class APIResponse N/A setup N/A N/A N/A N/A N/A server client target pm adaptor methods N/A N/A N/A log info setting up API tests N/A N/A N/A voltron setup_env N/A N/A N/A voltron config N/A server N/A listen N/A tcp N/A 127.0.0.1 5555 N/A pm N/A PluginManager N/A plugin N/A N/A pm debugger_plugin_for_host mock N/A adaptor N/A N/A plugin adaptor_class N/A N/A voltron debugger adaptor N/A N/A inject_mock adaptor N/A server N/A Server N/A N/A N/A server start N/A N/A N/A time sleep 2 N/A teardown N/A N/A N/A N/A N/A N/A N/A server stop N/A N/A N/A time sleep 2 N/A test_disassemble N/A N/A N/A N/A N/A data N/A N/A N/A requests get http://localhost:5555/api/disassemble?count=16 text N/A res N/A APIResponse data data N/A N/A res is_success N/A N/A N/A res disassembly disassemble_response N/A test_command N/A N/A N/A N/A N/A data N/A N/A N/A requests get http://localhost:5555/api/command?command=reg%20read text N/A res N/A APIResponse data data N/A N/A res is_success N/A N/A N/A res output command_response N/A test_targets N/A N/A N/A N/A N/A data N/A N/A N/A requests get http://localhost:5555/api/targets text N/A res N/A api_response targets data data N/A N/A res is_success N/A N/A N/A res targets targets_response N/A test_memory N/A N/A N/A N/A N/A data N/A N/A N/A requests get http://localhost:5555/api/registers text N/A res N/A api_response registers data data N/A url N/A N/A http://localhost:5555/api/memory?address={}&length=64 format N/A N/A res registers N/A rip N/A data N/A N/A N/A requests get url text N/A res N/A api_response memory data data N/A N/A res is_success N/A N/A N/A res memory memory_response N/A test_registers N/A N/A N/A N/A N/A data N/A N/A N/A requests get http://localhost:5555/api/registers text N/A res N/A api_response registers data data N/A N/A res is_success N/A N/A N/A res registers registers_response N/A test_stack_length_missing N/A N/A N/A N/A N/A data N/A N/A N/A requests get http://localhost:5555/api/stack text N/A res N/A APIErrorResponse data data N/A N/A res is_error N/A N/A N/A res message length N/A test_stack N/A N/A N/A N/A N/A data N/A N/A N/A requests get http://localhost:5555/api/stack?length=64 text N/A res N/A api_response stack data data N/A N/A res is_success N/A N/A N/A res memory stack_response N/A test_state N/A N/A N/A N/A N/A data N/A N/A N/A requests get http://localhost:5555/api/state text N/A res N/A api_response state data data N/A N/A res is_success N/A N/A N/A res state state_response N/A test_version N/A N/A N/A N/A N/A data N/A N/A N/A requests get http://localhost:5555/api/version text N/A res N/A api_response version data data N/A N/A res is_success N/A N/A N/A res api_version 1.1 N/A N/A N/A res host_version lldb-something N/A test_bad_json N/A N/A N/A N/A N/A data N/A N/A N/A requests post http://localhost:5555/api/request data xxx text N/A res N/A APIResponse data data N/A N/A res is_error N/A N/A N/A res code 4097 N/A test_bad_request N/A N/A N/A N/A N/A data N/A N/A N/A requests post http://localhost:5555/api/request data {"type":"request","request":"no_such_request"} text N/A res N/A APIResponse data data N/A N/A res is_error N/A N/A N/A res code 4098 N/A test_breakpoints N/A N/A N/A N/A N/A data N/A N/A N/A requests get http://localhost:5555/api/breakpoints text N/A res N/A api_response breakpoints data data N/A N/A res is_success N/A N/A N/A res breakpoints breakpoints_response N/A