Commit graph

103 commits

Author SHA1 Message Date
Eric Snow
13df4d7b59 Use the vendored pydevd in tests. 2018-03-02 00:57:23 +00:00
Eric Snow
90d3f6eb77 Add tests for CMD_SEND_CURR_EXCEPTION_TRACE_PROCEEDED. 2018-02-27 22:36:55 +00:00
Eric Snow
3d28d2e6ea Add tests for CMD_SEND_CURR_EXCEPTION_TRACE. 2018-02-27 22:23:46 +00:00
Eric Snow
a3a6dc5f04 Add tests for CMD_THREAD_RUN. 2018-02-27 21:57:30 +00:00
Eric Snow
e6fef4ea03 Add tests for CMD_THREAD_SUSPEND. 2018-02-27 21:52:26 +00:00
Eric Snow
8314bb35a9 Add tests for CMD_THREAD_KILL. 2018-02-27 21:29:51 +00:00
Eric Snow
84f8de48a5 Add tests for CMD_THREAD_CREATE. 2018-02-27 20:28:43 +00:00
Eric Snow
777e750cc4
Merge pull request #133 from ericsnowcurrently/request-tests
Add basic tests for the VSC protocol request messages.
2018-02-27 12:12:03 -07:00
Eric Snow
578ffc67d5 Use the correct filter default in the lifecycle tests. 2018-02-27 18:41:24 +00:00
Eric Snow
27baf32bdf Add tests for the exceptionInfo requests. 2018-02-27 18:36:43 +00:00
Eric Snow
e07f725e68 Add HighlevelFixture.error(). 2018-02-27 18:36:23 +00:00
Eric Snow
0f4d1cf31b Add tests for the setExceptionBreakpoints requests. 2018-02-27 18:36:01 +00:00
Eric Snow
66cc2c3544 Add tests for the setBreakpoints requests. 2018-02-27 18:35:29 +00:00
Eric Snow
74b9ab8418 Add tests for the continue request (and friends). 2018-02-27 18:01:21 +00:00
Eric Snow
2ca357ba45 Add tests for the pause request. 2018-02-27 18:01:15 +00:00
Eric Snow
1ccad6d29e Fix HighlevelFixture.set_threads(). 2018-02-27 18:01:11 +00:00
Eric Snow
096f83e9c1 Add tests for the evaluate request. 2018-02-27 18:01:07 +00:00
Eric Snow
88afa59aad Add tests for the setVariable request. 2018-02-27 18:01:01 +00:00
Eric Snow
7a98479485 Restore HighlevelFixture._hidden properly. 2018-02-27 18:00:53 +00:00
Eric Snow
691d77fbd2 Use pydevd_xml.var_to_xml(). 2018-02-27 18:00:43 +00:00
Eric Snow
85918f6bd9 PYDEVD_REQ -> PYDEVD_CMD. 2018-02-27 17:58:56 +00:00
Eric Snow
222cb9e901 Add a test for the variables request. 2018-02-26 19:38:56 +00:00
Eric Snow
8c64282000 Fix the pydevd event counter. 2018-02-26 19:38:56 +00:00
Eric Snow
3a4e56e12d Add HighlevelFixture.pause(). 2018-02-26 19:38:56 +00:00
Eric Snow
964f5bb95f Add a test for the scopes request. 2018-02-26 19:38:56 +00:00
Eric Snow
29dac30c71 Add HighlevelFixture.expect_debugger_command(). 2018-02-26 19:38:56 +00:00
Eric Snow
0afd30cfb3 Add tests for the stackTrace request. 2018-02-26 19:38:56 +00:00
Eric Snow
29fa1e123f Expand the testing helpers. 2018-02-26 19:38:56 +00:00
Eric Snow
184629dae6 Do not send a CMD_RUN response. 2018-02-20 22:16:39 +00:00
Eric Snow
0ec1747f5f lint 2018-02-20 22:05:15 +00:00
Eric Snow
80625034a7 Separate binding from connecting. 2018-02-20 21:58:51 +00:00
Eric Snow
7b76befae2 Close the pydevd "socket" when we close the VSC message processor. 2018-02-14 04:38:53 +00:00
Eric Snow
9bb5bf45e0 Stub out the request tests. 2018-02-13 23:36:58 +00:00
Eric Snow
90b3533c5f Make a separate test class for each request. 2018-02-13 23:16:56 +00:00
Eric Snow
f78ffc1b3a Add request/response/event factory methods. 2018-02-13 02:00:16 +00:00
Eric Snow
85ee3ed3b7 Add TODOs about extra tests. 2018-02-13 01:19:27 +00:00
Eric Snow
98ad3461f9 Skip test_initialize(). 2018-02-13 01:13:06 +00:00
Eric Snow
c0234ec8b0 Split up test_basic.py. 2018-02-13 01:03:30 +00:00
Eric Snow
06092ca639 Add a test for "threads". 2018-02-13 00:58:09 +00:00
Eric Snow
09e05b1ee1 Send a CMD_RUN response. 2018-02-13 00:41:03 +00:00
Eric Snow
b1e6522ea6 Track capabilities. 2018-02-13 00:27:45 +00:00
Eric Snow
00791b7952 Disconnect sooner. 2018-02-13 00:27:04 +00:00
Eric Snow
e2e1cd9b1f Add config handling. 2018-02-13 00:22:26 +00:00
Eric Snow
6ae0264e35 Disconnect when done. 2018-02-12 23:24:44 +00:00
Eric Snow
b0e3c786f6 Compare by message part. 2018-02-12 23:24:01 +00:00
Eric Snow
a1cfda159a Add lifecycle tests. 2018-02-12 23:06:44 +00:00
Eric Snow
8b2c585f50 Add test helper methods. 2018-02-12 23:06:29 +00:00
Eric Snow
3af4b171c7 Factor out tests.helpers.protocol.Daemon. 2018-02-10 04:00:12 +00:00
Eric Snow
d4174159a2 Add the first high-level test. 2018-02-10 02:11:30 +00:00
Eric Snow
70bcd0955a Fix PyDevd. 2018-02-10 02:10:37 +00:00