Lines Matching full:pyuitest
102 class PyUITest(pyautolib.PyUITestBase, unittest.TestCase):
113 class MyTest(PyUITest):
121 """Initialize PyUITest.
378 return os.path.join(PyUITest.BrowserPath(), 'suid-python')
393 assert PyUITest._IsRootSuid(PyUITest.SuidPythonPath()), \
394 'Did not find suid-root python at %s' % PyUITest.SuidPythonPath()
397 args = [PyUITest.SuidPythonPath(), file_path, '--action=%s' % action]
411 assert PyUITest._IsRootSuid(self.SuidPythonPath()), \
504 PyUITest.RunSuperuserActionOnChromeOS('CleanFlimflamDirs')
509 PyUITest.RunSuperuserActionOnChromeOS('RemoveAllCryptohomeVaults')
606 return PyUITest.GetFileURLForPath(PyUITest.DataDir(), *relative_path)
621 return os.path.join(PyUITest.DataDir(), os.pardir, os.pardir, os.pardir,
633 return PyUITest.GetFileURLForPath(PyUITest.ContentDataDir(), *relative_path)
666 if not PyUITest.IsWin():
674 if not PyUITest.IsWin():
682 if not PyUITest.IsWin():
694 if not PyUITest.IsLinux() or not os.path.isfile(lsb_release):
704 return PyUITest.IsMac() or PyUITest.IsLinux()
716 if PyUITest.IsChromeOS():
718 elif PyUITest.IsLinux():
720 elif PyUITest.IsMac():
722 elif PyUITest.IsWin():
745 if PyUITest.IsChromeOS():
758 if PyUITest.IsWin():
771 PyUITest.DataDir(), 'pyauto_private', 'private_tests_info.txt')
773 return PyUITest.EvalDataFrom(private_file)
929 ui_test: a PyUITest object
956 ui_test: a PyUITest object
979 ui_test: a PyUITest object
3295 PyUITest.ExecuteJavascript.
3327 exec_js = exec_js or PyUITest.ExecuteJavascript
3353 PyUITest.ExecuteJavascript.
4095 timeout = PyUITest.ActionTimeoutChanger(self, 3 * 60 * 1000)
4502 assert PyUITest.IsChromeOS()
4522 assert PyUITest.IsChromeOS()
5382 class ExtraBrowser(PyUITest):
5394 assert not PyUITest.IsChromeOS(), \
5396 PyUITest.__init__(self, methodName=methodName, **kwargs)
5398 PyUITest.setUp(self)
5402 PyUITest.tearDown(self)
5403 PyUITest.__del__(self)
5407 return PyUITest.ExtraChromeFlags(self) + self._chrome_flags
5425 class MyTest(pyauto.PyUITest):
5755 issubclass(obj, PyUITest) and obj != PyUITest):
5780 issubclass(obj, PyUITest) and obj != PyUITest):
5789 """Determines if we have any PyUITest test case classes in the module
5795 issubclass(obj, PyUITest)):
5863 suites = PyUITest.EvalDataFrom(filename)
5865 if PyUITest.IsChromeOS(): # check if it's chromeos