| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2009, Google Inc. | 2 * Copyright 2009, Google Inc. |
| 3 * All rights reserved. | 3 * All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 30 */ | 30 */ |
| 31 | 31 |
| 32 | 32 |
| 33 // Contains windows-specific code for setting up the Client object | 33 // Contains windows-specific code for setting up the Client object |
| 34 // used in the unit tests. Defines WinMain and a WindowProc for running | 34 // used in the unit tests. Defines WinMain and a WindowProc for running |
| 35 // the GUnit tests | 35 // the GUnit tests |
| 36 | 36 |
| 37 #include <windows.h> | 37 #include <windows.h> |
| 38 #include <Shellapi.h> | 38 #include <Shellapi.h> |
| 39 #include <d3dx9.h> | |
| 40 | 39 |
| 41 #include "tests/common/win/testing_common.h" | 40 #include "tests/common/win/testing_common.h" |
| 42 #include "core/cross/install_check.h" | 41 #include "core/cross/install_check.h" |
| 43 #include "core/cross/service_locator.h" | 42 #include "core/cross/service_locator.h" |
| 44 #include "core/cross/evaluation_counter.h" | 43 #include "core/cross/evaluation_counter.h" |
| 45 #include "core/cross/client_info.h" | 44 #include "core/cross/client_info.h" |
| 46 #include "core/cross/class_manager.h" | 45 #include "core/cross/class_manager.h" |
| 47 #include "core/cross/features.h" | 46 #include "core/cross/features.h" |
| 48 #include "core/cross/object_manager.h" | 47 #include "core/cross/object_manager.h" |
| 49 #include "core/cross/profiler.h" | 48 #include "core/cross/profiler.h" |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 delete g_renderer; | 198 delete g_renderer; |
| 200 g_renderer = NULL; | 199 g_renderer = NULL; |
| 201 | 200 |
| 202 delete display_window; | 201 delete display_window; |
| 203 g_display_window = NULL; | 202 g_display_window = NULL; |
| 204 g_program_path = NULL; | 203 g_program_path = NULL; |
| 205 g_program_name = NULL; | 204 g_program_name = NULL; |
| 206 | 205 |
| 207 return ret; | 206 return ret; |
| 208 } | 207 } |
| OLD | NEW |