| 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 |
| @@ -81,7 +81,7 @@ |
| session.log( "log_IE_window_handles" ) ; |
| const wchar_t * IE_names[] = { L"IExplore.exe", L"AdblockPlusEngine.exe" } ; |
| Snapshot snapshot ; |
| - Process_Closer iec( snapshot, IE_names, 2 ) ; |
| + Process_Closer iec( snapshot, IE_names ) ; |
| log_single_window_handle_only_if_IE lp( session, iec ) ; |
| enumerate_windows( lp ) ; |
| } |
| @@ -94,7 +94,7 @@ |
| session.log( "log_only_window_handle_in_closer" ) ; |
| const wchar_t * IE_names[] = { L"IExplore.exe", L"AdblockPlusEngine.exe" } ; |
| Snapshot snapshot ; |
| - Process_Closer iec( snapshot, IE_names, 2 ) ; |
| + Process_Closer iec( snapshot, IE_names ) ; |
| iec.iterate_our_windows( log_single_window_handle( session ) ) ; |
| } |
| @@ -118,9 +118,10 @@ |
| sandbox( MSIHANDLE session_handle ) |
| { |
| Immediate_Session session( session_handle, "sandbox" ) ; |
| - |
| + |
| try |
| { |
| + session.log( "Sandbox timestamp " __TIMESTAMP__ ) ; |
| log_only_window_handle_in_closer( session ) ; |
| } |
| catch( std::exception & e ) |