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

Side by Side Diff: build/android/pylib/uirobot/uirobot_test_instance.py

Issue 745793002: Add AMP support to test runner. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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
OLDNEW
(Empty)
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 import os
6
7 from pylib import constants
8 from pylib.base import test_instance
9
10 class UirobotTestInstance(test_instance.TestInstance):
11
12 def __init__(self):
13 super(UirobotTestInstance, self).__init__()
14 self._apk_under_test = os.path.join(
15 constants.GetOutDirectory(), 'apks', 'Chrome.apk')
jbudorick 2014/11/21 00:17:25 apk name shouldn't be hard-coded.
rnephew (Reviews Here) 2014/11/21 18:26:48 Is there somewhere in constants I can pull this fo
16
17 #override
18 def TestType(self):
19 return 'uirobot'
20
21 #override
22 def SetUp(self):
23 pass
24
25 #override
26 def TearDown(self):
27 pass
28
29 @property
30 def apk(self):
31 return 'uirobot'
32
33 @property
34 def apk_under_test(self):
35 return self._apk_under_test
36
37 @property
38 def suite(self):
39 return None
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698