HomeSort by relevance Sort by last modified time
    Searched refs:self (Results 51 - 75 of 5920) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/chromium_org/chrome/test/functional/
apptest.py 11 def testBasicEvents(self):
13 url = self.GetHttpURLForDataPath('apptest', 'basic.html')
14 driver = self.NewWebDriver()
15 event_id = self.AddDomEventObserver(automation_id=4444, recurring=True)
16 success_id = self.AddDomEventObserver('test success', automation_id=4444)
17 self.NavigateToURL(url)
18 self._ExpectEvent(event_id, 'init')
19 self._ExpectEvent(event_id, 'login ready')
21 self._ExpectEvent(event_id, 'login start')
22 self._ExpectEvent(event_id, 'login done'
    [all...]
chromeos_accessibility.py 27 def ShouldAutoLogin(self):
30 def setUp(self):
36 pyauto.PyUITest.setUp(self)
38 def tearDown(self):
39 self._DisableSpokenFeedback()
40 pyauto.PyUITest.tearDown(self)
42 def _Login(self):
44 credentials = self.GetPrivateInfo()['test_google_account']
45 self.Login(credentials['username'], credentials['password'])
47 login_info = self.GetLoginInfo(
    [all...]
prefs.py 23 def setUp(self):
24 pyauto.PyUITest.setUp(self)
25 self._driver = self.NewWebDriver()
27 def Debug(self):
34 self.pprint(self.GetPrefsInfo().Prefs())
36 def testSessionRestore(self):
40 self.NavigateToURL(url1)
41 self.AppendTab(pyauto.GURL(url2)
    [all...]
  /external/chromium_org/v8/tools/testrunner/objects/
testcase.py 32 def __init__(self, suite, path, flags=[], dependency=None):
33 self.suite = suite # TestSuite object
34 self.path = path # string, e.g. 'div-mod', 'test-api/foo'
35 self.flags = flags # list of strings, flags specific to this test case
36 self.dependency = dependency # |path| for testcase that must be run first
37 self.outcomes = None
38 self.output = None
39 self.id = None # int, used to map result back to TestCase instance
40 self.duration = None # assigned during execution
42 def CopyAddingFlags(self, flags)
    [all...]
context.py 30 def __init__(self, arch, mode, shell_dir, mode_flags, verbose, timeout,
32 self.arch = arch
33 self.mode = mode
34 self.shell_dir = shell_dir
35 self.mode_flags = mode_flags
36 self.verbose = verbose
37 self.timeout = timeout
38 self.isolates = isolates
39 self.command_prefix = command_prefix
40 self.extra_flags = extra_flag
    [all...]
  /external/chromium_org/chrome/common/extensions/docs/server2/
branch_utility_test.py 17 def setUp(self):
18 self._branch_util = BranchUtility(
24 def testSplitChannelNameFromPath(self):
25 self.assertEquals(('stable', 'extensions/stuff.html'),
26 self._branch_util.SplitChannelNameFromPath(
28 self.assertEquals(('dev', 'extensions/stuff.html'),
29 self._branch_util.SplitChannelNameFromPath(
31 self.assertEquals(('beta', 'extensions/stuff.html'),
32 self._branch_util.SplitChannelNameFromPath(
34 self.assertEquals(('trunk', 'extensions/stuff.html')
    [all...]
  /external/chromium_org/tools/grit/grit/gather/
json_loader.py 13 def Parse(self):
14 '''Reads and parses the text of self._json_text into the data structure in
15 self._data.
17 self._json_text = self._LoadInputFile()
18 self._data = None
21 exec('data = ' + self._json_text, globs)
22 self._data = globs['data']
24 def GetData(self):
26 return self._dat
    [all...]
  /external/chromium_org/tools/telemetry/telemetry/page/
page_runner_repeat.py 9 def __init__(self, repeat_options):
10 self.pageset_start_time = None
11 self.pageset_iters = None
12 self.page_start_time = None
13 self.page_iters = None
15 self.options = repeat_options
17 def WillRunPage(self):
19 self.page_start_time = time.time()
20 self.page_iters = 0
22 def WillRunPageSet(self)
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
sunau.py 154 def __init__(self, f):
158 self.initfp(f)
160 def __del__(self):
161 if self._file:
162 self.close()
164 def initfp(self, file):
165 self._file = file
166 self._soundpos = 0
170 self._hdr_size = int(_read_u32(file))
171 if self._hdr_size < 24
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_parser.py 16 def roundtrip(self, f, s):
22 self.fail("could not roundtrip %r: %s" % (s, why))
24 self.assertEqual(t, st2.totuple(),
27 def check_expr(self, s):
28 self.roundtrip(parser.expr, s)
30 def test_flags_passed(self):
37 self.assertIsInstance(scope["x"], unicode)
39 def check_suite(self, s):
40 self.roundtrip(parser.suite, s)
42 def test_yield_statement(self)
    [all...]
test_set.py 21 def __hash__(self):
23 def __cmp__(self, other):
27 'Used to test self-referential repr() calls'
28 def __repr__(self):
29 return repr(self.value)
33 def __init__(self, *args):
34 self.hash_count = 0
35 def __hash__(self):
36 self.hash_count += 1
37 return int.__hash__(self)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
sunau.py 154 def __init__(self, f):
158 self.initfp(f)
160 def __del__(self):
161 if self._file:
162 self.close()
164 def initfp(self, file):
165 self._file = file
166 self._soundpos = 0
170 self._hdr_size = int(_read_u32(file))
171 if self._hdr_size < 24
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_parser.py 16 def roundtrip(self, f, s):
22 self.fail("could not roundtrip %r: %s" % (s, why))
24 self.assertEqual(t, st2.totuple(),
27 def check_expr(self, s):
28 self.roundtrip(parser.expr, s)
30 def test_flags_passed(self):
37 self.assertIsInstance(scope["x"], unicode)
39 def check_suite(self, s):
40 self.roundtrip(parser.suite, s)
42 def test_yield_statement(self)
    [all...]
test_set.py 21 def __hash__(self):
23 def __cmp__(self, other):
27 'Used to test self-referential repr() calls'
28 def __repr__(self):
29 return repr(self.value)
33 def __init__(self, *args):
34 self.hash_count = 0
35 def __hash__(self):
36 self.hash_count += 1
37 return int.__hash__(self)
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/
ParenMatch.py 59 def __init__(self, editwin):
60 self.editwin = editwin
61 self.text = editwin.text
65 editwin.text.bind(self.RESTORE_VIRTUAL_EVENT_NAME,
66 self.restore_event)
67 self.counter = 0
68 self.is_restore_active = 0
69 self.set_style(self.STYLE)
71 def activate_restore(self)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/
ParenMatch.py 59 def __init__(self, editwin):
60 self.editwin = editwin
61 self.text = editwin.text
65 editwin.text.bind(self.RESTORE_VIRTUAL_EVENT_NAME,
66 self.restore_event)
67 self.counter = 0
68 self.is_restore_active = 0
69 self.set_style(self.STYLE)
71 def activate_restore(self)
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib-tk/test/test_ttk/
test_widgets.py 15 def setUp(self):
17 self.widget = ttk.Button(width=0, text="Text")
18 self.widget.pack()
19 self.widget.wait_visibility()
21 def tearDown(self):
22 self.widget.destroy()
26 def test_identify(self):
27 self.widget.update_idletasks()
28 self.assertEqual(self.widget.identify
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib-tk/test/test_ttk/
test_widgets.py 15 def setUp(self):
17 self.widget = ttk.Button(width=0, text="Text")
18 self.widget.pack()
19 self.widget.wait_visibility()
21 def tearDown(self):
22 self.widget.destroy()
26 def test_identify(self):
27 self.widget.update_idletasks()
28 self.assertEqual(self.widget.identify
    [all...]
  /external/chromium_org/build/android/pylib/base/
base_test_result_unittest.py 15 def setUp(self):
16 self.p1 = BaseTestResult('p1', ResultType.PASS, log='pass1')
18 self.p2 = BaseTestResult('p2', ResultType.PASS)
19 self.f1 = BaseTestResult('f1', ResultType.FAIL, log='failure1')
20 self.c1 = BaseTestResult('c1', ResultType.CRASH, log='crash1')
21 self.u1 = BaseTestResult('u1', ResultType.UNKNOWN)
22 self.tr = TestRunResults()
23 self.tr.AddResult(self.p1)
24 self.tr.AddResult(other_p1
    [all...]
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/
test_input.py 34 def __init__(self, test_name, timeout=None, requires_lock=None, reference_files=None, should_run_pixel_tests=None, should_add_missing_baselines=True):
38 self.test_name = test_name
39 self.timeout = timeout # in msecs; should rename this for consistency
40 self.requires_lock = requires_lock
41 self.reference_files = reference_files
42 self.should_run_pixel_tests = should_run_pixel_tests
43 self.should_add_missing_baselines = should_add_missing_baselines
45 def __repr__(self):
46 return "TestInput('%s', timeout=%s, requires_lock=%s, reference_files=%s, should_run_pixel_tests=%s, should_add_missing_baselines%s)" % (self.test_name, self.timeout, self.requires_lock, self.reference_files, self.should_run_pixel_tests, self.should_add_mi (…)
    [all...]
  /external/chromium_org/third_party/tlslite/tlslite/
BaseDB.py 7 def __init__(self, filename, type):
8 self.type = type
9 self.filename = filename
10 if self.filename:
11 self.db = None
13 self.db = {}
14 self.lock = thread.allocate_lock()
16 def create(self):
21 if self.filename:
22 self.db = anydbm.open(self.filename, "n") #raises anydbm.erro
    [all...]
  /external/chromium_org/chrome/test/functional/chromoting/
it2me_basic.py 15 def setUp(self):
18 if self.IsWinVista() or self.IsWinXP():
21 pyauto.PyUITest.setUp(self)
23 webapp = self.InstallExtension(self.GetWebappPath())
24 self.LaunchApp(webapp)
25 self.Authenticate()
27 if self.client_local:
28 self.client.LaunchApp(webapp
    [all...]
me2me_enable.py 15 def setUp(self):
18 if self.IsWinVista() or self.IsWinXP():
21 pyauto.PyUITest.setUp(self)
23 self.InstallHostDaemon()
24 webapp = self.InstallExtension(self.GetWebappPath())
25 self.host.LaunchApp(webapp)
26 self.host.Authenticate()
27 self.host.StartMe2Me(
    [all...]
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/config/
urls_unittest.py 35 def test_parse_bug_id(self):
37 self.assertEqual(12345, parse_bug_id("http://webkit.org/b/12345"))
38 self.assertEqual(12345, parse_bug_id("foo\n\nhttp://webkit.org/b/12345\nbar\n\n"))
39 self.assertEqual(12345, parse_bug_id("http://bugs.webkit.org/show_bug.cgi?id=12345"))
40 self.assertEqual(12345, parse_bug_id("http://bugs.webkit.org/show_bug.cgi?id=12345&ctype=xml"))
41 self.assertEqual(12345, parse_bug_id("http://bugs.webkit.org/show_bug.cgi?id=12345&ctype=xml&excludefield=attachmentdata"))
42 self.assertEqual(12345, parse_bug_id("http://bugs.webkit.org/show_bug.cgi?id=12345excludefield=attachmentdata&ctype=xml"))
45 self.assertIsNone(parse_bug_id("http://www.webkit.org/b/12345"))
46 self.assertIsNone(parse_bug_id("http://bugs.webkit.org/show_bug.cgi?ctype=xml&id=12345"))
47 self.assertIsNone(parse_bug_id("http://bugs.webkit.org/show_bug.cgi?ctype=xml&id=12345&excludefield=att (…)
    [all...]
  /external/srec/srec/Nametag/src/
Nametag.c 26 ESR_ReturnCode SR_NametagGetID(const SR_Nametag* self, LCHAR** id)
28 if (self == NULL)
33 return self->getID(self, id);
36 ESR_ReturnCode SR_NametagGetValue(const SR_Nametag* self, const char** pvalue, size_t* plen)
38 if (self == NULL || pvalue == NULL || plen == NULL)
43 return self->getValue(self, pvalue, plen);
46 ESR_ReturnCode SR_NametagSetID(SR_Nametag* self, const LCHAR* id)
48 if (self == NULL
    [all...]

Completed in 2741 milliseconds

1 23 4 5 6 7 8 91011>>