Lines Matching refs:assertEqual
28 self.assertEqual("", p.name)
29 self.assertEqual("", p.value)
31 self.assertEqual("# this is comment", str(p))
36 self.assertEqual("a", p.name)
37 self.assertEqual("b", p.value)
39 self.assertEqual("a=b", str(p))
44 self.assertEqual("a", p.name)
45 self.assertEqual("b", p.value)
47 self.assertEqual("a?=b", str(p))
77 self.assertEqual(4, len(self.props.get_all_props()))
85 self.assertEqual(expected[i][0], p.name)
86 self.assertEqual(expected[i][1], p.value)
87 self.assertEqual(expected[i][2], p.is_optional())
90 self.assertEqual(set(["foo", "bar", "qux"]), self.props.get_all_names())
92 self.assertEqual("true", self.props.get_value("foo"))
93 self.assertEqual("false", self.props.get_value("bar"))
94 self.assertEqual("1", self.props.get_value("qux"))
97 self.assertEqual(2, len(self.props.get_props("foo")))
102 self.assertEqual(5, len(self.props.get_all_props()))
104 self.assertEqual("new", last_prop.name)
105 self.assertEqual("30", last_prop.value)
111 self.assertEqual(4, len(self.props.get_all_props()))
113 self.assertEqual("foo", foo_prop.name)
114 self.assertEqual("NewValue", foo_prop.value)
116 self.assertEqual("# Value overridden by post_process_props.py. " +
122 self.assertEqual(5, len(self.props.get_all_props()))
124 self.assertEqual("qux", last_prop.name)
125 self.assertEqual("2", last_prop.value)
127 self.assertEqual("# Auto-added by post_process_props.py\nqux=2",
134 self.assertEqual(3, len(self.props.get_all_props()))
135 self.assertEqual("# Removed by post_process_props.py because testing\n" +
142 self.assertEqual(3, len(self.props.get_all_props()))
143 self.assertEqual("# Removed by post_process_props.py because testing\n" +
153 self.assertEqual(3, len(self.props.get_all_props()))
155 self.assertEqual(1, len(self.props.get_props("foo")))
156 self.assertEqual("true", self.props.get_props("foo")[0].value)
158 self.assertEqual("# Removed by post_process_props.py because " +
176 self.assertEqual("2", props_to_be_overridden.value)
180 self.assertEqual(1, len(props.get_props("qux")))
181 self.assertEqual("1", props.get_props("qux")[0].value)
185 self.assertEqual("# Removed by post_process_props.py because " +
207 self.assertEqual("error: found duplicate sysprop assignments:\n" +
231 self.assertEqual("# Removed by post_process_props.py because " +