Lines Matching refs:expected
69 expected = (unittest_constants.TEST_MODULE, os.path.join(
72 expected, common_util.get_related_paths(
76 self.assertEqual(expected, common_util.get_related_paths(
115 expected = (rel_path, abs_path)
117 self.assertEqual(expected, result)
123 expected = ('', '/a')
125 self.assertEqual(expected, result)
131 expected = ('b', '/a/b')
133 self.assertEqual(expected, result)
135 self.assertEqual(expected, result)
164 expected = common_util.FAKE_MODULE_ERROR.format(
166 self.assertEqual(expected, str(ctx.exception))
171 expected = common_util.OUTSIDE_ROOT_ERROR.format(
173 self.assertEqual(expected, str(ctx.exception))
178 expected = common_util.PATH_NOT_EXISTS_ERROR.format(
180 self.assertEqual(expected, str(ctx.exception))
187 expected = common_util.NO_MODULE_DEFINED_ERROR.format(
189 self.assertEqual(expected, str(ctx.exception))
316 expected = common_util.get_android_root_dir()
317 self.assertEqual(root, expected)