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

Issue 3109017: New translate test for pyauto. (Closed)

Created:
10 years, 4 months ago by Alyssa
Modified:
9 years, 7 months ago
Reviewers:
Nirnimesh
CC:
chromium-reviews, Paweł Hajdan Jr., Paul Godavari
Base URL:
http://src.chromium.org/git/chromium.git
Visibility:
Public.

Description

New translate test for pyauto. New pyauto functional test for translate on history and downloads pages. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=57065

Patch Set 1 : Initial #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -0 lines) Patch
M chrome/test/data/downloads/crazy_filenames.txt View 1 chunk +1 line, -0 lines 0 comments Download
A chrome/test/data/translate/crazy_history.txt View 1 chunk +43 lines, -0 lines 0 comments Download
M chrome/test/functional/translate.py View 2 chunks +62 lines, -0 lines 2 comments Download

Messages

Total messages: 4 (0 generated)
Alyssa
http://codereview.chromium.org/3109017/diff/2001/3003 File chrome/test/functional/translate.py (right): http://codereview.chromium.org/3109017/diff/2001/3003#newcode388 chrome/test/functional/translate.py:388: """ This is now done in 3 files. Is ...
10 years, 4 months ago (2010-08-13 21:05:27 UTC) #1
Nirnimesh
LGTM http://codereview.chromium.org/3109017/diff/2001/3003 File chrome/test/functional/translate.py (right): http://codereview.chromium.org/3109017/diff/2001/3003#newcode388 chrome/test/functional/translate.py:388: """ On 2010/08/13 21:05:27, Alyssa wrote: > This ...
10 years, 4 months ago (2010-08-13 22:18:16 UTC) #2
Alyssa
Do you want to take another look after the refactor? It turns out that the ...
10 years, 4 months ago (2010-08-16 23:29:07 UTC) #3
Nirnimesh
10 years, 4 months ago (2010-08-16 23:57:32 UTC) #4
Looks like even between these translate.py and downloads.py, the usage is
different, for which you use the remove flag. So the refactoring doesn't seem
clean to me. I'd say don't bother.

http://codereview.chromium.org/3109017/diff/15001/16003
File chrome/test/functional/downloads.py (right):

http://codereview.chromium.org/3109017/diff/15001/16003#newcode137
chrome/test/functional/downloads.py:137: shutil.rmtree(unicode(temp_dir))
This is out of the finally block. If the test above fails, it won't get called.

http://codereview.chromium.org/3109017/diff/15001/16005
File chrome/test/pyautolib/pyauto.py (right):

http://codereview.chromium.org/3109017/diff/15001/16005#newcode250
chrome/test/pyautolib/pyauto.py:250: 
I'm not sure this should go in pyauto.py
Maybe in a new file shared across tests.
like: chrome/test/functional/_common.py

Powered by Google App Engine
This is Rietveld 408576698