/tools/asuite/aidegen/lib/ |
D | eclipse_project_file_gen_unittest.py | 54 expected_result = (' <link><name>dependencies/b/c</name>' 56 self.assertEqual(self.eclipse._gen_link('b/c'), expected_result) 82 expected_result = [ 89 self.assertEqual(generated_result, expected_result) 92 expected_result = [ 101 self.assertEqual(generated_result, expected_result) 110 expected_result = [ 115 self.assertEqual(self.eclipse._gen_jar_path_entries(), expected_result) 121 expected_result = ['out/module/path/src'] 122 self.assertEqual(self.eclipse._get_other_src_folders(), expected_result) [all …]
|
D | source_locator_unittest.py | 108 expected_result = 'a/aapt2' 110 self.assertEqual(r_dir, expected_result) 114 expected_result = 'b/aapt2/R' 116 self.assertEqual(r_dir, expected_result) 120 expected_result = None 122 self.assertEqual(r_dir, expected_result) 126 expected_result = None 128 self.assertEqual(r_dir, expected_result) 143 expected_result = [] 144 self.assertEqual(module_data.r_java_paths, expected_result) [all …]
|
D | ide_util_unittest.py | 395 expected_result = 'nohup /a/b /x/y 2>/dev/null >&2 &' 396 self.assertEqual(ide_base._get_ide_cmd(), expected_result) 442 expected_result = '/a/b' 445 self.assertEqual(version, expected_result) 454 expected_result = '/a/b' 455 self.assertEqual(version, expected_result) 459 expected_result = '/a/b' 462 self.assertEqual(version, expected_result) 555 expected_result = [studio_config_dir1, studio_config_dir2] 559 self.assertEqual(sorted(config_paths), sorted(expected_result)) [all …]
|
D | project_file_gen_unittest.py | 186 expected_result = {'b/b.java'} 189 self.assertEqual(result_set, expected_result) 233 expected_result = ['/root'] 234 self.assertEqual(test_result, expected_result) 239 expected_result = [] 240 self.assertEqual(test_result, expected_result)
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/tel/ |
D | tel_mms_utils.py | 28 def _mms_test_mo(log, ads, expected_result=True): argument 30 [ads[0], ads[1]], expected_result=expected_result) 32 def _mms_test_mt(log, ads, expected_result=True): argument 34 [ads[1], ads[0]], expected_result=expected_result) 36 def _mms_test(log, ads, expected_result=True): argument 50 expected_result=expected_result):
|
D | tel_dsds_utils.py | 100 expected_result: bool = True) -> bool: 144 expected_result=expected_result 749 expected_result: bool = True) -> bool: 916 expected_result = False 919 msg=msg_type, expected_result=expected_result) 952 expected_result=True): argument 1083 expected_result = False 1086 msg=msg, expected_result=expected_result) 1216 expected_result = True 1246 expected_result = False [all …]
|
/tools/asuite/aidegen/sdk/ |
D | android_sdk_unittest.py | 138 expected_result = '29', '29' 139 self.assertEqual(self.sdk._parse_api_info(''), expected_result) 143 expected_result = '29', 'Q' 144 self.assertEqual(self.sdk._parse_api_info(''), expected_result) 147 expected_result = 0, 0 148 self.assertEqual(self.sdk._parse_api_info(''), expected_result) 157 expected_result = {} 159 self.assertEqual(self.sdk._platform_mapping, expected_result) 163 expected_result = { 170 self.assertEqual(self.sdk._platform_mapping, expected_result)
|
D | jdk_table_unittest.py | 111 expected_result = (b'<application>\n' 119 self.assertEqual(test_result, expected_result) 128 expected_result = (b'<application>\n' 143 self.assertEqual(test_result, expected_result) 256 expected_result = (b'<application>\n' 262 self.assertEqual(test_result, expected_result)
|
/tools/acloud/pull/ |
D | pull_test.py | 93 expected_result = ["file1.log"] 94 self.assertEqual(pull.SelectLogFileToPull(_ssh), expected_result) 106 expected_result = ["file2.log"] 107 self.assertEqual(pull.SelectLogFileToPull(_ssh), expected_result) 114 expected_result = ["cuttlefish_runtime/file1.log"] 115 self.assertEqual(pull.SelectLogFileToPull(_ssh, input_file), expected_result) 130 expected_result = ["kernel.log", "logcat"] 132 expected_result) 138 expected_result = ["kernel.log", "launcher.log"] 140 expected_result)
|
/tools/acloud/public/actions/ |
D | common_operations_test.py | 239 expected_result = constants.GCE_QUOTA_ERROR 240 self.assertEqual(common_operations._GetErrorType(error), expected_result) 244 expected_result = constants.ACLOUD_DOWNLOAD_ARTIFACT_ERROR 245 self.assertEqual(common_operations._GetErrorType(error), expected_result) 249 expected_result = constants.ACLOUD_SSH_CONNECT_ERROR 250 self.assertEqual(common_operations._GetErrorType(error), expected_result) 254 expected_result = constants.ACLOUD_UNKNOWN_ERROR 255 self.assertEqual(common_operations._GetErrorType(error), expected_result) 259 expected_result = constants.GCE_QUOTA_ERROR 260 self.assertEqual(common_operations._GetErrorType(error), expected_result) [all …]
|
/tools/acloud/list/ |
D | instance_test.py | 126 expected_result = """{ 133 expected_result) 390 expected_result = "us-central1-c" 392 expected_result) 400 expected_result = "fake_project" 402 expected_result) 414 expected_result = "ins_home/cuttlefish_assembly/cuttlefish_config.json" 416 instance.GetLocalInstanceConfig(instance_id), expected_result) 454 expected_result = ("device serial: 0.0.0.0:6520 codelab " 456 self.assertEqual(expected_result, instance._GetDeviceFullName( [all …]
|
/tools/test/connectivity/acts/framework/acts/libs/utils/ |
D | multithread.py | 115 for task, result, expected_result in zip(tasks, results, expected_results): 116 if result != expected_result: 118 result, expected_result)
|
/tools/acloud/internal/lib/ |
D | adb_tools_test.py | 106 expected_result = "127.0.0.1:6666" 107 self.assertEqual(adb_tool._device_address, expected_result) 111 expected_result = "0.0.0.0:6520" 112 self.assertEqual(adb_tool._device_address, expected_result)
|
/tools/asuite/atest/ |
D | atest_main_unittest.py | 324 expected_result = 1 333 detect_type=expected_detect_type, result=expected_result 341 expected_result = 0 350 detect_type=expected_detect_type, result=expected_result
|
/tools/acloud/create/ |
D | create_common_test.py | 84 expected_result = [ExtraFile(source="local_path", target="gce_path")] 86 self.assertEqual(expected_result, 90 expected_result = [ExtraFile(source="local_path1", target="gce_path1"), 94 self.assertEqual(expected_result,
|
/tools/test/connectivity/acts_tests/tests/google/tel/live/ |
D | TelLiveCBRSTest.py | 111 expected_result): argument 240 if str(e) == expected_result: 251 expected_result is True) 252 return (expected_result is True) 348 expected_result ): argument 410 if str(e) == expected_result: 421 expected_result is True) 422 return (expected_result is True)
|
D | TelLiveSmsTest.py | 2278 expected_result = False 2280 expected_result = True 2281 ads[0].log.info("Expected Result is %s", expected_result) 2288 expected_result) else "expecting mms receive failure" 2295 mms_expected_result=expected_result): 2320 expected_result = False 2322 expected_result = True 2323 ads[0].log.info("Expected Result is %s", expected_result) 2330 expected_result) else "expecting mms receive failure" 2337 mms_expected_result=expected_result):
|
D | TelLiveRilMessageKpiTest.py | 76 def mms_test(self, ads, expected_result=True): argument 95 expected_result=expected_result):
|
/tools/test/openhst/resources/ |
D | stress_test.enroll.ascii_proto | 27 expected_result {
|
D | stress_test.dsp_trigger_on_homescreen.ascii_proto | 18 expected_result {
|
D | stress_test.dsp_monitoring_on_idle.ascii_proto | 17 expected_result {
|
D | stress_test.dsp_trigger_and_screen_off.ascii_proto | 31 expected_result {
|
D | stress_test.enroll_with_queries.ascii_proto | 31 expected_result {
|
D | stress_test.dsp_trigger_sw_rejection.ascii_proto | 54 expected_result {
|
/tools/test/connectivity/acts/framework/tests/metrics/loggers/ |
D | blackbox_test.py | 101 expected_result = Mock() 108 logger.metric_value = expected_result 111 self.assertEqual(result.metric_value, expected_result)
|