| # Copyright 2014 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| from pylib import constants |
| from pylib.base import test_instance |
| class UirobotTestInstance(test_instance.TestInstance): |
| def __init__(self, args): |
| args: Command line arguments. |
| super(UirobotTestInstance, self).__init__() |
| self._apk_under_test = os.path.join( |
| constants.GetOutDirectory(), args.apk_under_test) |
| self._minutes = args.minutes |
| """Returns type of test.""" |
| def apk_under_test(self): |
| """Returns the app to run the test on.""" |
| return self._apk_under_test |
| """Returns the test suite, none for uirobot.""" |
| """Returns the number of minutes to run the uirobot for.""" |