(self)
| 31 | class TestCellGridCopy(Testing.vtkTest): |
| 32 | |
| 33 | def setUp(self): |
| 34 | reader = io.vtkCellGridReader() |
| 35 | # reader.SetFileName(os.path.join(Testing.VTK_DATA_ROOT, 'Data', 'dgHexahedra.dg')) |
| 36 | reader.SetFileName(os.path.join(Testing.VTK_DATA_ROOT, 'Data', 'dgMixed.dg')) |
| 37 | reader.UpdateInformation() |
| 38 | reader.Update() |
| 39 | self.source = reader.GetOutputDataObject(0) |
| 40 | # Fetch all the attribute names (which we know are unique for our test data) |
| 41 | self.allAttributes = [x.GetName().Data() for x in self.source.GetCellAttributeList()] |
| 42 | # print(self.source) |
| 43 | |
| 44 | def checkNumCells(self, query): |
| 45 | if query.GetCopyCells(): |
nothing calls this directly
no test coverage detected