Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(318)

Side by Side Diff: chrome/chrome_tests.gypi

Issue 10702188: Fix unit test to allow repeated successful runs by avoiding a function static variable in tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Simplify with a member variable Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 { 4 {
5 'variables' : { 5 'variables' : {
6 'pyautolib_sources': [ 6 'pyautolib_sources': [
7 'app/chrome_command_ids.h', 7 'app/chrome_command_ids.h',
8 'app/chrome_dll_resource.h', 8 'app/chrome_dll_resource.h',
9 'common/automation_constants.h', 9 'common/automation_constants.h',
10 'common/pref_names.cc', 10 'common/pref_names.cc',
(...skipping 932 matching lines...) Expand 10 before | Expand all | Expand 10 after
943 'dependencies': [ 943 'dependencies': [
944 # unit tests should only depend on 944 # unit tests should only depend on
945 # 1) everything that the chrome binaries depend on: 945 # 1) everything that the chrome binaries depend on:
946 '<@(chromium_dependencies)', 946 '<@(chromium_dependencies)',
947 # 2) test-specific support libraries: 947 # 2) test-specific support libraries:
948 '../base/base.gyp:test_support_base', 948 '../base/base.gyp:test_support_base',
949 '../gpu/gpu.gyp:gpu_unittest_utils', 949 '../gpu/gpu.gyp:gpu_unittest_utils',
950 '../media/media.gyp:media_test_support', 950 '../media/media.gyp:media_test_support',
951 '../net/net.gyp:net', 951 '../net/net.gyp:net',
952 '../net/net.gyp:net_test_support', 952 '../net/net.gyp:net_test_support',
953 '../ppapi/ppapi_internal.gyp:ppapi_unittest_shared',
953 '../testing/gmock.gyp:gmock', 954 '../testing/gmock.gyp:gmock',
954 '../testing/gtest.gyp:gtest', 955 '../testing/gtest.gyp:gtest',
955 'test_support_common', 956 'test_support_common',
956 '../sync/sync.gyp:test_support_sync', 957 '../sync/sync.gyp:test_support_sync',
957 '../sync/sync.gyp:test_support_sync_notifier', 958 '../sync/sync.gyp:test_support_sync_notifier',
958 '../sync/sync.gyp:test_support_syncapi_core', 959 '../sync/sync.gyp:test_support_syncapi_core',
959 '../sync/sync.gyp:test_support_syncapi_service', 960 '../sync/sync.gyp:test_support_syncapi_service',
960 'test_support_unit', 961 'test_support_unit',
961 # 3) anything tests directly depend on 962 # 3) anything tests directly depend on
962 '../skia/skia.gyp:skia', 963 '../skia/skia.gyp:skia',
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
1161 'browser/chromeos/proxy_config_service_impl_unittest.cc', 1162 'browser/chromeos/proxy_config_service_impl_unittest.cc',
1162 'browser/chromeos/status/network_menu_icon.cc', 1163 'browser/chromeos/status/network_menu_icon.cc',
1163 'browser/chromeos/status/network_menu_icon_unittest.cc', 1164 'browser/chromeos/status/network_menu_icon_unittest.cc',
1164 'browser/chromeos/stub_cros_settings_provider_unittest.cc', 1165 'browser/chromeos/stub_cros_settings_provider_unittest.cc',
1165 'browser/chromeos/system/mock_statistics_provider.cc', 1166 'browser/chromeos/system/mock_statistics_provider.cc',
1166 'browser/chromeos/system/mock_statistics_provider.h', 1167 'browser/chromeos/system/mock_statistics_provider.h',
1167 'browser/chromeos/system/name_value_pairs_parser_unittest.cc', 1168 'browser/chromeos/system/name_value_pairs_parser_unittest.cc',
1168 'browser/chromeos/version_loader_unittest.cc', 1169 'browser/chromeos/version_loader_unittest.cc',
1169 'browser/chromeos/web_socket_proxy_helper_unittest.cc', 1170 'browser/chromeos/web_socket_proxy_helper_unittest.cc',
1170 'browser/command_updater_unittest.cc', 1171 'browser/command_updater_unittest.cc',
1171 'browser/component_updater/component_installers_unittest.cc', 1172 'browser/component_updater/test/component_installers_unittest.cc',
1172 'browser/component_updater/component_updater_service_unittest.cc', 1173 'browser/component_updater/test/component_updater_service_unittest.cc',
1173 'browser/component_updater/component_updater_interceptor.cc', 1174 'browser/component_updater/component_updater_interceptor.cc',
1174 'browser/component_updater/component_updater_interceptor.h', 1175 'browser/component_updater/component_updater_interceptor.h',
1175 'browser/content_settings/content_settings_default_provider_unittest.cc' , 1176 'browser/content_settings/content_settings_default_provider_unittest.cc' ,
1176 'browser/content_settings/content_settings_mock_observer.cc', 1177 'browser/content_settings/content_settings_mock_observer.cc',
1177 'browser/content_settings/content_settings_mock_observer.h', 1178 'browser/content_settings/content_settings_mock_observer.h',
1178 'browser/content_settings/content_settings_mock_provider.cc', 1179 'browser/content_settings/content_settings_mock_provider.cc',
1179 'browser/content_settings/content_settings_mock_provider.h', 1180 'browser/content_settings/content_settings_mock_provider.h',
1180 'browser/content_settings/content_settings_origin_identifier_value_map_u nittest.cc', 1181 'browser/content_settings/content_settings_origin_identifier_value_map_u nittest.cc',
1181 'browser/content_settings/content_settings_policy_provider_unittest.cc', 1182 'browser/content_settings/content_settings_policy_provider_unittest.cc',
1182 'browser/content_settings/content_settings_pref_provider_unittest.cc', 1183 'browser/content_settings/content_settings_pref_provider_unittest.cc',
(...skipping 3477 matching lines...) Expand 10 before | Expand all | Expand 10 after
4660 # Use outputs of this action as inputs for the main target build. 4661 # Use outputs of this action as inputs for the main target build.
4661 # Seems as a misnomer but makes this happy on Linux (scons). 4662 # Seems as a misnomer but makes this happy on Linux (scons).
4662 'process_outputs_as_sources': 1, 4663 'process_outputs_as_sources': 1,
4663 }, 4664 },
4664 ], # 'actions' 4665 ], # 'actions'
4665 }, 4666 },
4666 ] 4667 ]
4667 }], # 'coverage!=0' 4668 }], # 'coverage!=0'
4668 ], # 'conditions' 4669 ], # 'conditions'
4669 } 4670 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698