Lines Matching refs:expected
133 def test_cmakecacheentry_from_line(cmake_line, expected): argument
136 with pytest.raises(type(expected)) if \
137 isinstance(expected, Exception) else nullcontext() as exception:
141 assert repr(exception.value) == repr(expected)
144 if expected is None:
148 assert entry.name == expected.name
149 assert entry.value == expected.value
169 def test_cmakecacheentry_str(cmake_cache_entry, expected): argument
170 assert str(cmake_cache_entry) == expected
186 expected = [
192 for expect in reversed(expected):
233 def test_cmakecache_get_list(value, correct_get, expected): argument
239 with pytest.raises(expected) if \
240 isinstance(expected, type) and issubclass(expected, Exception) else \
246 assert res == expected