def trees(self): return GridFixture( [[ListTree.parse("a"), ListTree.parse("<ul><li>a</li></ul>")], [ ListTree.parse("<ul><li>BB</li></ul>"), ListTree.parse("<ul><li>a</li><li>BB</li></ul>") ]], {"name": TreeTypeAdapter})
def images(self): return GridFixture([[ ImageNameGraphic("images/wall.jpg"), ImageNameGraphic("images/space.jpg"), ImageNameGraphic("images/box.jpg"), ImageNameGraphic("images/space.jpg"), ImageNameGraphic("images/wall.jpg"), ]], { "name": GraphicTypeAdapter, "name.class": ImageNameGraphic })
def strings(self): return GridFixture([["a", "b"], ["c", "d"]], {"name": "String"})
def ints(self): return GridFixture([[1, 2], [3, 4]], {"name": "Int"})
def empty(self): return GridFixture([], {"name": "String"})