Home
last modified time | relevance | path

Searched refs:test_class (Results 1 – 10 of 10) sorted by relevance

/tools/tradefederation/core/atest/
Dunittest_utils.py24 def assert_strict_equal(test_class, first, second): argument
30 test_class.assertEqual(first, second)
34 test_class.assertIsInstance(first, type(second))
35 test_class.assertIsInstance(second, type(first))
40 assert_strict_equal(test_class, getattr(first, f),
43 def assert_equal_testinfos(test_class, test_info_a, test_info_b): argument
47 test_class.assertEqual(test_info_a, test_info_b)
53 test_class.assertEqual(test_info_a_attr, test_info_b_attr,
57 def assert_equal_testinfo_sets(test_class, test_info_set_a, test_info_set_b): argument
59 test_class.assertEqual(len(test_info_set_a), len(test_info_set_b),
[all …]
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/
Dwifi_power_test_utils.py464 def create_pkt_config(test_class): argument
474 if test_class.ipv6_src_type == 'LINK_LOCAL' else
477 mac_dst = test_class.mac_dst
478 if GET_FROM_PHONE in test_class.mac_dst:
479 mac_dst = get_phone_mac(test_class.dut)
481 ipv4_dst = test_class.ipv4_dst
482 if GET_FROM_PHONE in test_class.ipv4_dst:
483 ipv4_dst = get_phone_ip(test_class.dut)
485 ipv6_dst = test_class.ipv6_dst
486 if GET_FROM_PHONE in test_class.ipv6_dst:
[all …]
/tools/test/connectivity/acts/framework/acts/
Dconfig_parser.py190 for test_class, test_cases in test_identifiers:
191 if "Preflight" in test_class:
192 preflight_tests.append((test_class, test_cases))
193 elif "Postflight" in test_class:
194 postflight_tests.append((test_class, test_cases))
197 random_tests.append((test_class,
203 for test_class, test_cases in random_tests:
204 if test_class == previous_class:
208 new_tests.append((test_class, test_cases))
209 previous_class = test_class
Dtest_runner.py61 def execute_one_test_class(test_class, test_config, test_identifier): argument
82 tr.run(test_class)
196 test_class = getattr(module, member_name)
197 if inspect.isclass(test_class):
198 test_classes[member_name] = test_class
503 def run(self, test_class=None): argument
523 if test_class:
524 self.test_classes = {test_class.__name__: test_class}
578 for test_class, test_cases in self.run_list:
579 f.write("%s:\n%s" % (test_class, ",\n".join(test_cases)))
Drecords.py68 self.test_class = t_class
185 d[TestResultEnums.RECORD_CLASS] = self.test_class
/tools/test/connectivity/acts/framework/tests/
Dacts_unittest_suite.py43 for test_class in test_classes_to_run:
44 suite = loader.loadTestsFromTestCase(test_class)
/tools/apkzlib/
DBUILD23 test_class = "com.android.testutils.JarTestSuite",
/tools/test/connectivity/acts/tests/google/wifi/rtt/
DREADME.md17 `act.py -c <config> -tc {<test_class>|<test_class>:<test_name>}`
/tools/test/connectivity/acts/tests/google/wifi/aware/
DREADME.md24 1. Individual test(s): `act.py -c <config> -tc {<test_class>|<test_class>:<test_name>}`
/tools/apksig/
DBUILD46 test_class = "com.android.apksig.AllTests",