Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: installer/src/installer-lib/test/test-installer-lib-sandbox.cpp

Issue 6003395731128320: Only take into account processes that have our plugin loaded (Closed)
Patch Set: Simplify Process_Closer constructor Created March 31, 2014, 8:31 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « installer/src/installer-lib/test/test-installer-lib.wxs ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: installer/src/installer-lib/test/test-installer-lib-sandbox.cpp
===================================================================
--- a/installer/src/installer-lib/test/test-installer-lib-sandbox.cpp
+++ b/installer/src/installer-lib/test/test-installer-lib-sandbox.cpp
@@ -80,8 +80,9 @@
{
session.log( "log_IE_window_handles" ) ;
const wchar_t * IE_names[] = { L"IExplore.exe", L"AdblockPlusEngine.exe" } ;
+ const wchar_t * ABP_names[] = { L"AdblockPlus32.dll", L"AdblockPlus64.dll" } ;
Snapshot snapshot ;
- Process_Closer iec( snapshot, IE_names, 2 ) ;
+ Process_Closer iec( snapshot, IE_names, ABP_names) ;
log_single_window_handle_only_if_IE lp( session, iec ) ;
enumerate_windows( lp ) ;
}
@@ -93,8 +94,9 @@
{
session.log( "log_only_window_handle_in_closer" ) ;
const wchar_t * IE_names[] = { L"IExplore.exe", L"AdblockPlusEngine.exe" } ;
+ const wchar_t * ABP_names[] = { L"AdblockPlus32.dll", L"AdblockPlus64.dll" } ;
Snapshot snapshot ;
- Process_Closer iec( snapshot, IE_names, 2 ) ;
+ Process_Closer iec( snapshot, IE_names, ABP_names) ;
iec.iterate_our_windows( log_single_window_handle( session ) ) ;
}
« no previous file with comments | « installer/src/installer-lib/test/test-installer-lib.wxs ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld