Skip to content

Commit 0889aed

Browse files
committed
Merge branch 'GPII-1540'
* GPII-1540: GPII-1540: Fixed indentation. GPII-1540: Make test-window.exe build automatically GPII-1540: Removed the test application executable GPII-1540: Flipped options.force to option.cleanOnly. Off by default feels better. GPII-1540: Unit tests for closeProcessByName always pass Waiting for process start sometimes triggers just before the window is created. GPII-1540: Unit tests for closeProcessByName Created test-window, a dummy application that creates a window for testing. GPII-1540: rollback; Put findProcessByName back to how it was. It turned out to be better to enumerate the windows, rather than enumerate every thread. GPII-1540: Made the process enumeration in findProcessByName re-usable. Refactored it out into eachProcess, in preparation for a "get the windows of each process" routine. GPII-1540: Merge from master GPII-1540: Implemented closeProcessByName. Terminate a process less aggressively.
2 parents b1ed655 + 4d7776d commit 0889aed

File tree

6 files changed

+298
-6
lines changed

6 files changed

+298
-6
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
/node_modules/
22
.vagrant
3+
**/test/*.exe

gpii/node_modules/WindowsUtilities/WindowsUtilities.js

Lines changed: 52 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gpii/node_modules/processHandling/processHandling.js

Lines changed: 94 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gpii/node_modules/processHandling/test/test-window.c

Lines changed: 79 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gpii/node_modules/processHandling/test/testProcessHandling.js

Lines changed: 67 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

provisioning/build.bat

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
cd c:\vagrant
22
call npm install
33

4-
call "C:\Program Files (x86)\Microsoft Visual C++ Build Tools\vcbuildtools_msbuild.bat"
4+
call "C:\Program Files (x86)\Microsoft Visual C++ Build Tools\vcbuildtools.bat"
55
cd c:\vagrant\listeners
66
msbuild listeners.sln /p:Configuration=Release /p:FrameworkPathOverride="C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5.1"
7+
8+
cd c:\vagrant\gpii\node_modules\processHandling\test
9+
cl test-window.c
10+
del test-window.obj

0 commit comments

Comments
 (0)