def run_mochitest_plain(self, test_paths, **kwargs): if is_platform_in('firefox', 'mulet')(self): return self.run_mochitest(test_paths, 'plain', **kwargs) elif conditions.is_emulator(self): return self.run_mochitest_remote(test_paths, **kwargs) elif conditions.is_b2g_desktop(self): return self.run_b2g_desktop(test_paths, **kwargs)
def run_mochitest_chrome(self, test_paths, **kwargs): if conditions.is_firefox(self): return self.run_mochitest(test_paths, 'chrome', **kwargs) elif conditions.is_b2g(self) and conditions.is_emulator(self): return self.run_mochitest_remote(test_paths, chrome=True, **kwargs) elif conditions.is_android(self): return self.run_mochitest_android(test_paths, chrome=True, **kwargs)
def run_mochitest_plain(self, test_paths, **kwargs): if is_platform_in('firefox', 'mulet')(self): return self.run_mochitest(test_paths, 'plain', **kwargs) elif conditions.is_emulator(self): return self.run_mochitest_remote(test_paths, **kwargs) elif conditions.is_b2g_desktop(self): return self.run_mochitest_b2g_desktop(test_paths, **kwargs) elif conditions.is_android(self): return self.run_mochitest_android(test_paths, **kwargs)