27 using Ptr = std::shared_ptr<DummyColormapProvider>;
45 using Ptr = std::shared_ptr<TestData>;
94 struct timespec
t = {0, 0};
Definition colormappable.hh:145
std::shared_ptr< Colormap > Ptr
Definition colormappable.hh:29
Definition test-helpers.hh:25
Colormap::Ptr getColormap() override
Definition test-helpers.cc:39
Colormap::Ptr colormap
Definition test-helpers.hh:30
std::shared_ptr< DummyColormapProvider > Ptr
Definition test-helpers.hh:27
static Ptr create(Colormap::Ptr colormap)
Definition test-helpers.cc:34
std::shared_ptr< ProgressInterfaceStub > Ptr
Definition measure-framerate-stubs.hh:25
Definition test-helpers.hh:90
bool started
Definition test-helpers.hh:93
unsigned int secs
Definition test-helpers.hh:92
struct timespec t
Definition test-helpers.hh:94
bool operator()()
Definition test-helpers.cc:102
std::shared_ptr< SourcePresentation > Ptr
Definition tiledbitmapinterface.hh:192
Definition test-helpers.hh:43
LayerSpec ls
Definition test-helpers.hh:51
std::shared_ptr< TestData > Ptr
Definition test-helpers.hh:45
ProgressInterfaceStub::Ptr pi
Definition test-helpers.hh:48
TestData operator=(TestData &&)=delete
TestData operator=(const TestData &)=delete
TestData(const TestData &)=delete
ViewInterface::Ptr vi
Definition test-helpers.hh:49
static Ptr create(DummyColormapProvider::Ptr colormapProvider, const LayerSpec &ls, const TiledBitmapInterface::Ptr &tbi, SourcePresentation::Ptr sp, int zoom)
Definition test-helpers.cc:61
TestData(TestData &&)=delete
int zoom
Definition test-helpers.hh:54
void redraw(cairo_t *cr)
Definition test-helpers.cc:84
SourcePresentation::Ptr sp
Definition test-helpers.hh:53
bool wait()
Definition test-helpers.cc:72
TiledBitmapInterface::Ptr tbi
Definition test-helpers.hh:52
~TestData()
Definition test-helpers.cc:74
DummyColormapProvider::Ptr colormapProvider
Definition test-helpers.hh:50
std::shared_ptr< TiledBitmapInterface > Ptr
Definition tiledbitmapinterface.hh:233
std::shared_ptr< ViewInterface > Ptr
Definition viewinterface.hh:193
int drawingAreaWidth
Definition test-helpers.cc:22
bool setupTest2bpp(int zoom, int width, int height)
Definition test-helpers.cc:168
bool setupTest8bppColormapped(int zoom, int width, int height)
Definition test-helpers.cc:221
bool reset()
Definition test-helpers.cc:131
bool setupTest1bpp(int zoom, int width, int height)
Definition test-helpers.cc:150
TestData::Ptr testData
Definition test-helpers.cc:25
bool setupTest4bpp(int zoom, int width, int height)
Definition test-helpers.cc:186
bool setupTest8bpp(int zoom, int width, int height)
Definition test-helpers.cc:204
int drawingAreaHeight
Definition test-helpers.cc:23
bool wait()
Definition test-helpers.cc:138
bool quit()
Definition test-helpers.cc:124
std::vector< LayerOperations::Ptr > LayerSpec
Definition tiledbitmapinterface.hh:184