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

Issue 13962004: adjust location of URI helper files for spawn_uri tests in the browser. (Closed)

Created:
7 years, 8 months ago by Emily Fortuna
Modified:
7 years, 5 months ago
CC:
reviews_dartlang.org, Anton Muhin
Visibility:
Public.

Description

Patch Set 1 : #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Patch Set 4 : #

Total comments: 5

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -36 lines) Patch
M tests/isolate/isolate.status View 1 2 2 chunks +0 lines, -5 lines 0 comments Download
M tests/isolate/spawn_uri_nested_child1_vm_isolate.dart View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M tests/isolate/spawn_uri_nested_vm_test.dart View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M tools/testing/dart/test_suite.dart View 1 2 3 4 3 chunks +15 lines, -28 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Emily Fortuna
Hi Martin, The reason for this change is Anton was working on adding spawn_uri functionality ...
7 years, 8 months ago (2013-04-11 18:21:40 UTC) #1
kustermann
https://codereview.chromium.org/13962004/diff/5001/tools/testing/dart/test_suite.dart File tools/testing/dart/test_suite.dart (right): https://codereview.chromium.org/13962004/diff/5001/tools/testing/dart/test_suite.dart#newcode980 tools/testing/dart/test_suite.dart:980: fromPath.toNativePath(), '$tempDir/../$baseName.js', We can't do that (i.e. '..'). If ...
7 years, 8 months ago (2013-04-11 20:32:44 UTC) #2
Emily Fortuna
PTAL
7 years, 8 months ago (2013-04-12 18:23:07 UTC) #3
kustermann
+ricow, ahe: Could you take a look as well? https://codereview.chromium.org/13962004/diff/22001/tools/testing/dart/test_suite.dart File tools/testing/dart/test_suite.dart (left): https://codereview.chromium.org/13962004/diff/22001/tools/testing/dart/test_suite.dart#oldcode931 tools/testing/dart/test_suite.dart:931: ...
7 years, 8 months ago (2013-04-15 08:02:42 UTC) #4
ahe
https://codereview.chromium.org/13962004/diff/22001/tools/testing/dart/test_suite.dart File tools/testing/dart/test_suite.dart (right): https://codereview.chromium.org/13962004/diff/22001/tools/testing/dart/test_suite.dart#newcode959 tools/testing/dart/test_suite.dart:959: List<String> otherScripts = optionsFromFile['otherScripts']; I don't understand why this ...
7 years, 8 months ago (2013-04-15 18:17:45 UTC) #5
Emily Fortuna
https://codereview.chromium.org/13962004/diff/22001/tools/testing/dart/test_suite.dart File tools/testing/dart/test_suite.dart (left): https://codereview.chromium.org/13962004/diff/22001/tools/testing/dart/test_suite.dart#oldcode931 tools/testing/dart/test_suite.dart:931: String htmlFilename = getHtmlName(filename); On 2013/04/15 08:02:42, kustermann wrote: ...
7 years, 8 months ago (2013-04-16 18:40:16 UTC) #6
kustermann
lgtm The only thing I was a little nervous about is the fact that the ...
7 years, 8 months ago (2013-04-16 19:05:38 UTC) #7
Emily Fortuna
Committed patchset #5 manually as r21584 (presubmit successful).
7 years, 8 months ago (2013-04-16 22:17:44 UTC) #8
ahe
7 years, 5 months ago (2013-07-24 09:31:40 UTC) #9
Message was sent while issue was closed.
https://codereview.chromium.org/13962004/diff/22001/tools/testing/dart/test_s...
File tools/testing/dart/test_suite.dart (right):

https://codereview.chromium.org/13962004/diff/22001/tools/testing/dart/test_s...
tools/testing/dart/test_suite.dart:959: List<String> otherScripts =
optionsFromFile['otherScripts'];
On 2013/04/16 18:40:16, Emily Fortuna wrote:
> On 2013/04/15 18:17:45, ahe wrote:
> > I don't understand why this is specific to browser tests.
> 
> This is specific to browser tests because they are not run from the test
> directory. The browser tests create an  html file in the output directory
> (generated_tests/...) and copy any relevant files (js or dart) into the output
> directory. In comparison, the vm tests just run from the same location that
they
> were originally written.

Sorry for the late reply.

I still don't understand why this feature is specific to browser tests.  There
are other tests that get copied, in particular, multi-tests.

I think we need to make general features and avoid special casing browser tests.
 The only thing special about a browser test should be that it is running in a
browser and that need to generate an HTML file.  Everything else should be
generalized.

Powered by Google App Engine
This is Rietveld 408576698