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

Issue 996533002: Remove hardcoded tests URLs from apptests. (Closed)

Created:
5 years, 9 months ago by Nick Bray (chromium)
Modified:
5 years, 9 months ago
Reviewers:
jamesr, sky, qsr, viettrungluu
CC:
mojo-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
git@github.com:domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Remove hardcoded tests URLs from apptests. Hardcoded URLs cause problems if the test is given a different name. This occurs when compiling the test with the NaCl toolchain. BUG=401761 R=jamesr@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/24d8e69e836e770114a1ed16e1f7395d10c3ce5e

Patch Set 1 #

Total comments: 5

Patch Set 2 : Edit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -18 lines) Patch
M mojo/public/cpp/application/lib/application_test_base.cc View 1 3 chunks +5 lines, -1 line 0 comments Download
M services/view_manager/view_manager_client_apptest.cc View 1 4 chunks +3 lines, -6 lines 0 comments Download
M services/view_manager/view_manager_service_apptest.cc View 1 3 chunks +5 lines, -6 lines 0 comments Download
M services/window_manager/window_manager_apptest.cc View 1 5 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
Nick Bray (chromium)
5 years, 9 months ago (2015-03-10 00:24:27 UTC) #2
jamesr
Hmm, can't you resolve this by specifying URL mappings when running the nacl tests?
5 years, 9 months ago (2015-03-10 00:28:27 UTC) #3
Nick Bray (chromium)
On 2015/03/10 00:28:27, jamesr wrote: > Hmm, can't you resolve this by specifying URL mappings ...
5 years, 9 months ago (2015-03-10 00:39:56 UTC) #4
jamesr
"mojob.py test" takes care of setting up the command line, so that's not an issue. ...
5 years, 9 months ago (2015-03-10 00:46:09 UTC) #6
sky
On 2015/03/10 00:46:09, jamesr wrote: > "mojob.py test" takes care of setting up the command ...
5 years, 9 months ago (2015-03-10 01:55:57 UTC) #7
qsr
https://codereview.chromium.org/996533002/diff/1/mojo/public/cpp/application/application_test_base.h File mojo/public/cpp/application/application_test_base.h (right): https://codereview.chromium.org/996533002/diff/1/mojo/public/cpp/application/application_test_base.h#newcode25 mojo/public/cpp/application/application_test_base.h:25: const String& Url(); I don't think you need this ...
5 years, 9 months ago (2015-03-10 10:24:55 UTC) #9
viettrungluu
https://codereview.chromium.org/996533002/diff/1/mojo/public/cpp/application/lib/application_test_base.cc File mojo/public/cpp/application/lib/application_test_base.cc (right): https://codereview.chromium.org/996533002/diff/1/mojo/public/cpp/application/lib/application_test_base.cc#newcode20 mojo/public/cpp/application/lib/application_test_base.cc:20: String g_url; No comment? (Also, the seemingly-random order of ...
5 years, 9 months ago (2015-03-10 15:31:52 UTC) #11
Nick Bray (chromium)
PTAL https://codereview.chromium.org/996533002/diff/1/mojo/public/cpp/application/application_test_base.h File mojo/public/cpp/application/application_test_base.h (right): https://codereview.chromium.org/996533002/diff/1/mojo/public/cpp/application/application_test_base.h#newcode25 mojo/public/cpp/application/application_test_base.h:25: const String& Url(); On 2015/03/10 10:24:55, qsr wrote: ...
5 years, 9 months ago (2015-03-10 19:39:00 UTC) #12
jamesr
lgtm
5 years, 9 months ago (2015-03-10 19:44:30 UTC) #13
Nick Bray (chromium)
5 years, 9 months ago (2015-03-10 19:53:11 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
24d8e69e836e770114a1ed16e1f7395d10c3ce5e (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698