Home
last modified time | relevance | path

Searched refs:expected_result (Results 1 – 25 of 34) sorted by relevance

12

/tools/asuite/aidegen/lib/
Declipse_project_file_gen_unittest.py54 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 …]
Dsource_locator_unittest.py108 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 …]
Dide_util_unittest.py395 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 …]
Dproject_file_gen_unittest.py186 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/
Dtel_mms_utils.py28 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):
Dtel_dsds_utils.py100 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/
Dandroid_sdk_unittest.py138 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)
Djdk_table_unittest.py111 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/
Dpull_test.py93 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/
Dcommon_operations_test.py239 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/
Dinstance_test.py126 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/
Dmultithread.py115 for task, result, expected_result in zip(tasks, results, expected_results):
116 if result != expected_result:
118 result, expected_result)
/tools/acloud/internal/lib/
Dadb_tools_test.py106 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/
Datest_main_unittest.py324 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/
Dcreate_common_test.py84 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/
DTelLiveCBRSTest.py111 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)
DTelLiveSmsTest.py2278 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):
DTelLiveRilMessageKpiTest.py76 def mms_test(self, ads, expected_result=True): argument
95 expected_result=expected_result):
/tools/test/openhst/resources/
Dstress_test.enroll.ascii_proto27 expected_result {
Dstress_test.dsp_trigger_on_homescreen.ascii_proto18 expected_result {
Dstress_test.dsp_monitoring_on_idle.ascii_proto17 expected_result {
Dstress_test.dsp_trigger_and_screen_off.ascii_proto31 expected_result {
Dstress_test.enroll_with_queries.ascii_proto31 expected_result {
Dstress_test.dsp_trigger_sw_rejection.ascii_proto54 expected_result {
/tools/test/connectivity/acts/framework/tests/metrics/loggers/
Dblackbox_test.py101 expected_result = Mock()
108 logger.metric_value = expected_result
111 self.assertEqual(result.metric_value, expected_result)

12