# # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. DEPTH = @DEPTH@ topsrcdir = @top_srcdir@ srcdir = @srcdir@ VPATH = @srcdir@ relativesrcdir = @relativesrcdir@ FAIL_ON_WARNINGS = 1 include $(DEPTH)/config/autoconf.mk DISABLED_XPCSHELL_TESTS = unit ifeq ($(MOZ_WIDGET_TOOLKIT),windows) ifdef NS_ENABLE_TSF #Test disabled because it uses the internal string APIs incorrectly (see bug 582863) #CPP_UNIT_TESTS += TestWinTSF.cpp \ # $(NULL) endif # Test disabled because it requires the internal API. Re-enabling this test is # bug 652123. #CPP_UNIT_TESTS += TestChromeMargin.cpp \ # $(NULL) endif CPP_UNIT_TESTS += TestAppShellSteadyState.cpp MOCHITEST_CHROME_FILES = test_bug343416.xul \ test_bug429954.xul \ window_bug429954.xul \ test_bug444800.xul \ $(filter disabled-for-intermittent-timeouts--bug-561929, test_bug478536.xul) \ test_bug462106_perwindow.xul \ window_bug478536.xul \ test_bug517396.xul \ test_bug538242.xul \ window_bug538242.xul \ test_bug593307.xul \ window_bug593307_offscreen.xul \ window_bug593307_centerscreen.xul \ test_keycodes.xul \ test_wheeltransaction.xul \ window_wheeltransaction.xul \ test_imestate.html \ window_imestate_iframes.html \ test_plugin_scroll_consistency.html \ test_composition_text_querycontent.xul \ window_composition_text_querycontent.xul \ test_input_events_on_deactive_window.xul \ test_position_on_resize.xul \ empty_window.xul \ test_sizemode_events.xul \ test_bug760802.xul \ $(NULL) # test_bug413277.html mac-only based on 604789, 605178 ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa) MOCHITEST_CHROME_FILES += native_menus_window.xul \ test_native_menus.xul \ native_mouse_mac_window.xul \ test_native_mouse_mac.xul \ test_bug413277.html \ test_bug428405.xul \ test_bug466599.xul \ test_bug485118.xul \ test_bug522217.xul \ window_bug522217.xul \ test_platform_colors.xul \ test_standalone_native_menu.xul \ standalone_native_menu_window.xul \ test_bug586713.xul \ bug586713_window.xul \ test_key_event_counts.xul \ test_bug596600.xul \ test_bug673301.xul \ test_taskbar_progress.xul \ $(NULL) endif ifeq ($(MOZ_WIDGET_TOOLKIT),windows) MOCHITEST_CHROME_FILES += taskbar_previews.xul \ window_state_windows.xul \ $(warning test_taskbar_progress.xul disabled due to regression, see bug 605813) \ test_chrome_context_menus_win.xul \ test_plugin_input_event.html \ chrome_context_menus_win.xul \ test_mouse_scroll.xul \ window_mouse_scroll_win.html \ $(NULL) MOCHITEST_FILES += test_bug565392.html \ test_picker_no_crash.html \ window_picker_no_crash_child.html \ $(NULL) endif ifeq ($(MOZ_WIDGET_TOOLKIT),gtk2) MOCHITEST_FILES += plugin_scroll_invalidation.html \ test_plugin_scroll_invalidation.html \ $(NULL) endif include $(topsrcdir)/config/rules.mk