Commit graph

1945 commits

Author SHA1 Message Date
Eric Snow
d5f8e0bb54 Preserve the host in the server case. 2018-04-16 19:53:11 +00:00
Eric Snow
db83e61fd8 Add socket.Address. 2018-04-16 19:39:55 +00:00
Don Jayamanne
a6ff97fbf7
Check if local and remote roots are same (#345) 2018-04-13 15:11:03 -07:00
Don Jayamanne
c069f1ccc8
Ability to run code without debugging (#341)
Fixes #339
2018-04-13 10:44:40 -07:00
Don Jayamanne
10aca0d3ca
No need to kill process if process is already dying 2018-04-13 10:29:05 -07:00
Karthik Nadig
82ed721ada
Merge pull request #340 from karthiknadig/bugs
Don't exit on unknown command
2018-04-12 12:33:05 -07:00
Karthik Nadig
0562bcddc0 Don't exit on unknown command 2018-04-12 12:06:34 -07:00
Eric Snow
7fee31e21f
Merge pull request #335 from ericsnowcurrently/cli-tests
Add a few initial full-stack tests.
2018-04-11 16:55:46 -06:00
Eric Snow
8354b6d01b Wait for the "output" event. 2018-04-11 22:52:28 +00:00
Eric Snow
388cda3282 Wait for the "output" event. 2018-04-11 22:28:12 +00:00
Eric Snow
d3fd5940b0 lint 2018-04-11 22:21:14 +00:00
Eric Snow
ecf53a146c Wait for the "output" event. 2018-04-11 22:12:38 +00:00
Eric Snow
9cec610fce Do not expect -- in a test. 2018-04-11 21:46:46 +00:00
Eric Snow
2b410e263e Do not hardcode the ptvsd version. 2018-04-11 21:44:19 +00:00
Eric Snow
fba3fd0e91 Add lifecycle tests. 2018-04-11 21:44:19 +00:00
Eric Snow
834ca1af66 Fix DebugSessionConnection.is_client. 2018-04-11 21:44:19 +00:00
Eric Snow
60d4148131 Move VSCMessages and PyDevdMessages under the helpers package. 2018-04-11 21:44:19 +00:00
Eric Snow
041c197269 Factor out a Lockfile testing helper. 2018-04-11 21:44:19 +00:00
Eric Snow
3ee5990e32 Add tests for ptvsd.debugger.debug(). 2018-04-11 21:44:19 +00:00
Eric Snow
f0788af78f Factor out DebugAdapter.start_wrapper_script(). 2018-04-11 21:44:19 +00:00
Eric Snow
c81275fda4 Add a TODO. 2018-04-11 21:44:19 +00:00
Eric Snow
9d4e014517 Add DebugClient._connecttimeout. 2018-04-11 21:44:19 +00:00
Eric Snow
f3bfa1cff7 Add Workspace.write_python_script(). 2018-04-11 21:44:19 +00:00
Eric Snow
6cc5cca1fb Add DebugClient.host_local_debugger(). 2018-04-11 21:44:19 +00:00
Eric Snow
278640d0ec FakeEditor -> DebugClient. 2018-04-11 21:44:19 +00:00
Eric Snow
1d3e83a85c Clean up DebugAdapter. 2018-04-11 21:44:19 +00:00
Eric Snow
6b0fa35414 Move DebugAdapter to its own module. 2018-04-11 21:44:19 +00:00
Eric Snow
72be9f33e0 Move DebugSession to its own module. 2018-04-11 21:44:19 +00:00
Eric Snow
7be33ed9d2 Add the Proc testing helper. 2018-04-11 21:44:19 +00:00
Eric Snow
f9666d5147 Add TestsBase.pathentry. 2018-04-11 21:44:19 +00:00
Eric Snow
ac7b58e6d8 Add Workspace.write_script(). 2018-04-11 21:44:19 +00:00
Eric Snow
9f88f6fefd Add test_failure(). 2018-04-11 21:44:19 +00:00
Eric Snow
2061239672 Check the exit code. 2018-04-11 21:44:19 +00:00
Eric Snow
bf3e2412ff Add test_run_to_completion(). 2018-04-11 21:44:19 +00:00
Eric Snow
38e5592480 Add a test to ensure script args are honored. 2018-04-11 21:44:19 +00:00
Eric Snow
19b88174a9 Add Workspace.lockfile(). 2018-04-11 21:44:19 +00:00
Eric Snow
b665c304a7 Fix read_buffered(). 2018-04-11 21:44:19 +00:00
Eric Snow
7d61b6fbd4 Add acuire_with_timeout(). 2018-04-11 21:44:19 +00:00
Eric Snow
f31682bc06 Add more timeout support. 2018-04-11 21:44:18 +00:00
Eric Snow
67dea3a85a Add a full-stack test for an adapter with no messages. 2018-04-11 21:44:18 +00:00
Eric Snow
7c9dbad51e Drop a superfluous --. 2018-04-11 21:44:18 +00:00
Eric Snow
22cf581d5c Add editor/adapter/session testing helpers. 2018-04-11 21:44:18 +00:00
Eric Snow
3201de33ca Expose more of the VSC-related testing helpers. 2018-04-11 21:44:18 +00:00
Eric Snow
99aac9d6e6 Add message-related testing helpers. 2018-04-11 21:44:18 +00:00
Eric Snow
c280a26b3d Add io-related testing helpers. 2018-04-11 21:44:18 +00:00
Eric Snow
d6252bcb16 Add more socket-related testing helpers. 2018-04-11 21:44:18 +00:00
Eric Snow
c01c1ba65a Add a noop() testing helper. 2018-04-11 21:44:18 +00:00
Eric Snow
0cbe4738e5 Add a Closeable testing helper. 2018-04-11 21:44:18 +00:00
Eric Snow
07feb02e21 Add the get_locked_and_waiter() testing helper. 2018-04-11 21:44:18 +00:00
Eric Snow
5e876f673b
Merge pull request #337 from ericsnowcurrently/fix-version
Set ptvsd.wrapper.__version__.
2018-04-11 15:43:02 -06:00