Lines Matching refs:expected
67 expected = (unittest_constants.TEST_MODULE, os.path.join(
70 expected, common_util.get_related_paths(
74 self.assertEqual(expected, common_util.get_related_paths(
114 expected = (rel_path, abs_path)
116 self.assertEqual(expected, result)
122 expected = ('', '/a')
124 self.assertEqual(expected, result)
130 expected = ('b', '/a/b')
132 self.assertEqual(expected, result)
134 self.assertEqual(expected, result)
163 expected = common_util.FAKE_MODULE_ERROR.format(
165 self.assertEqual(expected, str(ctx.exception))
170 expected = common_util.OUTSIDE_ROOT_ERROR.format(
172 self.assertEqual(expected, str(ctx.exception))
177 expected = common_util.PATH_NOT_EXISTS_ERROR.format(
179 self.assertEqual(expected, str(ctx.exception))
186 expected = common_util.NO_MODULE_DEFINED_ERROR.format(
188 self.assertEqual(expected, str(ctx.exception))
314 expected = common_util.get_android_root_dir()
315 self.assertEqual(root, expected)