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

Side by Side Diff: mojo/tools/data/apptests

Issue 1305893006: view-manager: Fix some issues regarding running tests in x11. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 3 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
« no previous file with comments | « components/view_manager/view_manager_app.cc ('k') | ui/platform_window/x11/x11_window.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # This file contains a list of Mojo gtest unit tests. 1 # This file contains a list of Mojo gtest unit tests.
2 # 2 #
3 # This must be valid Python. It may use the |config| global that will be a 3 # This must be valid Python. It may use the |config| global that will be a
4 # mopy.config.Config object, and must set a |tests| global that will contain the 4 # mopy.config.Config object, and must set a |tests| global that will contain the
5 # list of tests to run. 5 # list of tests to run.
6 # 6 #
7 # The entries in |tests| are dictionaries of the following form: 7 # The entries in |tests| are dictionaries of the following form:
8 # { 8 # {
9 # # Required URL for apptest. 9 # # Required URL for apptest.
10 # 'test': 'mojo:test_app_url', 10 # 'test': 'mojo:test_app_url',
(...skipping 23 matching lines...) Expand all
34 'test': 'mojo:resource_provider_apptests', 34 'test': 'mojo:resource_provider_apptests',
35 'type': 'gtest_isolated', 35 'type': 'gtest_isolated',
36 }, 36 },
37 # TODO(msw|jam): Fix and enable the runner_apptests: http://crbug.com/479316 37 # TODO(msw|jam): Fix and enable the runner_apptests: http://crbug.com/479316
38 #{ 38 #{
39 # 'test': 'mojo:runner_apptests', 39 # 'test': 'mojo:runner_apptests',
40 # 'type': 'gtest_isolated', 40 # 'type': 'gtest_isolated',
41 #}, 41 #},
42 { 42 {
43 'test': 'mojo:view_manager_apptests', 43 'test': 'mojo:view_manager_apptests',
44 'args': ['--use-test-config'] 44 'args': ['--use-x11-test-config',
45 '--override-use-gl-with-osmesa-for-tests']
45 }, 46 },
46 ] 47 ]
47 48
48 # TODO(msw): Get these tests passing on Android too. http://crbug.com/486220 49 # TODO(msw): Get these tests passing on Android too. http://crbug.com/486220
49 if config.target_os != config.OS_ANDROID: 50 if config.target_os != config.OS_ANDROID:
50 tests += [ 51 tests += [
51 { 52 {
52 'test': 'mojo:filesystem_apptests', 53 'test': 'mojo:filesystem_apptests',
53 'type': 'gtest_isolated', 54 'type': 'gtest_isolated',
54 }, 55 },
55 { 56 {
56 'test': 'mojo:html_viewer_apptests', 57 'test': 'mojo:html_viewer_apptests',
57 'name': 'mojo:html_viewer_apptests', 58 'name': 'mojo:html_viewer_apptests',
58 'type': 'gtest_isolated', 59 'type': 'gtest_isolated',
59 'args': ['--enable-html-viewer-test-interface', 60 'args': ['--enable-html-viewer-test-interface',
61 '--use-x11-test-config',
60 '--override-use-gl-with-osmesa-for-tests'] 62 '--override-use-gl-with-osmesa-for-tests']
61 }, 63 },
62 { 64 {
63 'test': 'mojo:html_viewer_apptests', 65 'test': 'mojo:html_viewer_apptests',
64 'name': 'mojo:html_viewer_apptests new frame', 66 'name': 'mojo:html_viewer_apptests new frame',
65 'type': 'gtest_isolated', 67 'type': 'gtest_isolated',
66 'args': ['--oopif-always-create-new-frame-tree', 68 'args': ['--oopif-always-create-new-frame-tree',
67 '--enable-html-viewer-test-interface', 69 '--enable-html-viewer-test-interface',
70 '--use-x11-test-config',
68 '--override-use-gl-with-osmesa-for-tests'] 71 '--override-use-gl-with-osmesa-for-tests']
69 }, 72 },
70 # TODO(ben): These tests are disabled pending mandoline:browser refactoring. 73 # TODO(ben): These tests are disabled pending mandoline:browser refactoring.
71 #{ 74 #{
72 # 'test': 'mojo:mandoline_browser_apptests', 75 # 'test': 'mojo:mandoline_browser_apptests',
73 # 'type': 'gtest_isolated', 76 # 'type': 'gtest_isolated',
74 # 'args': ['--use-headless-config'] 77 # 'args': ['--use-headless-config']
75 #}, 78 #},
76 { 79 {
77 'test': 'mojo:mandoline_frame_apptests', 80 'test': 'mojo:mandoline_frame_apptests',
78 'type': 'gtest_isolated', 81 'type': 'gtest_isolated',
79 'args': ['--use-headless-config'] 82 'args': ['--use-headless-config']
80 }, 83 },
81 # TODO(xhwang): Fix and enable mojo:media_pipeline_integration_apptests. 84 # TODO(xhwang): Fix and enable mojo:media_pipeline_integration_apptests.
82 # http://crbug.com/501417 85 # http://crbug.com/501417
83 { 86 {
84 'test': 'mojo:media_apptests', 87 'test': 'mojo:media_apptests',
85 'type': 'gtest_isolated', 88 'type': 'gtest_isolated',
86 }, 89 },
87 { 90 {
88 'test': 'mojo:sql_apptests', 91 'test': 'mojo:sql_apptests',
89 'type': 'gtest_isolated', 92 'type': 'gtest_isolated',
90 }, 93 },
91 ] 94 ]
OLDNEW
« no previous file with comments | « components/view_manager/view_manager_app.cc ('k') | ui/platform_window/x11/x11_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698