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

Unified Diff: chrome/test/functional/doc_viewing.py

Issue 10830193: Remove SWIGged use of BrowserProxy and TabProxy from PyAuto tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Used named arguments and deleted unused test files, as suggested by Nirnimesh. Created 8 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/functional/browser.py ('k') | chrome/test/functional/fullscreen_mouselock.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/functional/doc_viewing.py
diff --git a/chrome/test/functional/doc_viewing.py b/chrome/test/functional/doc_viewing.py
index 675162aa8cc4d6c0b2c0d070a23def8aab98396d..0a0821d128c288a7fdb194638b07d80ca408898d 100755
--- a/chrome/test/functional/doc_viewing.py
+++ b/chrome/test/functional/doc_viewing.py
@@ -59,7 +59,7 @@ class DocViewingTest(pyauto.PyUITest):
expect_retval=fname),
msg='"%s" does not open.' % fname)
# Close the document viewing tab after use.
- self.GetBrowserWindow(0).GetTab(1).Close(True)
+ self.CloseTab(tab_index=1)
if __name__ == '__main__':
« no previous file with comments | « chrome/test/functional/browser.py ('k') | chrome/test/functional/fullscreen_mouselock.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698