Skip to content

Commit

Permalink
Remove unnecessary detach tests
Browse files Browse the repository at this point in the history
  • Loading branch information
st0012 committed Nov 15, 2022
1 parent 417b0f9 commit 7777b48
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 49 deletions.
4 changes: 0 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -393,10 +393,6 @@ Sends request to rdbg to step back from current method.

Sends request to rdbg to terminate the debuggee.

- assert_reattach

Passes if reattaching to rdbg is successful.

- assert_hover_result(expected, expression)

Passes if result of `expression` matches `expected`.
Expand Down
31 changes: 0 additions & 31 deletions test/protocol/detach_test.rb

This file was deleted.

14 changes: 0 additions & 14 deletions test/support/protocol_test_case.rb
Original file line number Diff line number Diff line change
Expand Up @@ -206,20 +206,6 @@ def req_terminate_debuggee
close_reader
end

def assert_reattach
case get_target_ui
when 'vscode'
req_disconnect
attach_to_dap_server
res = find_crt_dap_response
result_cmd = res.dig(:command)
assert_equal 'configurationDone', result_cmd
when 'chrome'
req_disconnect
attach_to_cdp_server
end
end

def assert_locals_result expected, frame_idx: 0
case get_target_ui
when 'vscode'
Expand Down

0 comments on commit 7777b48

Please sign in to comment.