Commit Graph

5 Commits

Author SHA1 Message Date
Ryan Prichard
8ed8bac96b Add tests for CreateProcess UseStdHandles !InheritHandles 2015-10-25 14:14:28 -05:00
Ryan Prichard
18f23f38c0 Checkpoint work on traditional and common tests.
* Add Test_CreateProcess_SpecialInherit

 * Add traditional Test_HandleDuplication

 * Make handle.dup() use a GetCurrentProcess() target while
   handle.dup(handle.worker()) uses a non-pseudo handle.
2015-10-24 01:58:16 -05:00
Ryan Prichard
2b146e9173 Expand common tests and refactor some code.
* Add Test_Active_ScreenBuffer_Order

 * Add Test_GetStdHandle_SetStdHandle

 * Also test a STARTF_USESTDHANDLES process in
   Test_Detach_Does_Not_Change_Standard_Handles.
2015-10-23 23:24:48 -05:00
Ryan Prichard
0264277bcd Move more things from tests into the test harness. 2015-10-22 18:39:33 -05:00
Ryan Prichard
fb7a19c4f1 Split TestCommon -> Remote{Worker,Handle} and add TestCommon.h uber-header
* TestCommon.h is a convenience header for the test cases.  It aliases
   Remote{Worker,Handle} back to {Worker,Handle}, and it includes many
   basic C/C++ headers, as well as the parts of the harness suitable for
   test cases.
2015-10-22 18:16:47 -05:00