Lines Matching refs:uc
27 import aidegen.unittest_constants as uc namespace
48 uc.TEST_MODULE))
49 constant.ANDROID_ROOT_PATH = uc.TEST_PATH
50 mock_get.return_value = [uc.TEST_MODULE]
51 expected = (uc.TEST_MODULE, os.path.join(uc.TEST_PATH, uc.TEST_MODULE))
53 expected, common_util.get_related_paths(mod_info, uc.TEST_MODULE))
57 expected, common_util.get_related_paths(mod_info, uc.TEST_MODULE))
62 mock_get.return_value = None, uc.TEST_PATH
65 [uc.TEST_MODULE]))
69 [uc.TEST_MODULE]))
79 common_util._check_module(mod_info, uc.TEST_MODULE)
80 expected = common_util.FAKE_MODULE_ERROR.format(uc.TEST_MODULE)
82 constant.ANDROID_ROOT_PATH = uc.TEST_PATH
83 mock_get.return_value = None, uc.TEST_MODULE
85 common_util._check_module(mod_info, uc.TEST_MODULE)
86 expected = common_util.OUTSIDE_ROOT_ERROR.format(uc.TEST_MODULE)
88 mock_get.return_value = None, uc.TEST_PATH
91 common_util._check_module(mod_info, uc.TEST_MODULE)
92 expected = common_util.PATH_NOT_EXISTS_ERROR.format(uc.TEST_MODULE)
96 mock_get.return_value = None, os.path.join(uc.TEST_PATH, 'test.jar')
98 common_util._check_module(mod_info, uc.TEST_MODULE)
100 uc.TEST_MODULE)
121 constant.ANDROID_ROOT_PATH = uc.TEST_DATA_PATH
122 self.assertEqual(uc.TEST_DATA_PATH, common_util.get_abs_path(''))
123 test_path = os.path.join(uc.TEST_DATA_PATH, 'test.jar')