Commit graph

265 commits

Author SHA1 Message Date
Karthik Nadig
0562bcddc0 Don't exit on unknown command 2018-04-12 12:06:34 -07: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
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
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
Don Jayamanne
5f7f764e2f
Rename flag to make it more meaningful (#326)
Fixes #322
2018-04-09 15:54:08 -07:00
Don Jayamanne
295fdedae6
Pass flag to inicate whether to handle file paths in a case sensitive manner (#323)
Fixes #322
2018-04-06 16:10:36 -07:00
Don Jayamanne
39dfffe20e
Add support for remote source references (#321)
Fixes #318
2018-04-06 13:49:28 -07:00
Eric Snow
7026e06b55 Fix the tests. 2018-04-04 15:41:11 +00:00
Eric Snow
1d8a948dc8 Move the pydevd hooks to their own module. 2018-04-04 15:07:32 +00:00
Eric Snow
95ce9ed3b4 Avoid multiple close attempts. 2018-04-04 15:06:02 +00:00
Eric Snow
c9350ce254 Move Daemon to its own module. 2018-04-04 15:06:00 +00:00
Eric Snow
12f91361da Factor out Daemon. 2018-04-04 15:04:08 +00:00
Eric Snow
a1bf02b269 Use BytesIO in Python 2. 2018-04-04 14:41:09 +00:00
Eric Snow
91cf8a801b lint 2018-04-04 00:13:11 +00:00