summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@iki.fi>2015-10-03 21:26:25 +0300
committerTomi Valkeinen <tomi.valkeinen@iki.fi>2015-10-03 21:26:31 +0300
commit9e3f0a9c4b6790618637b4ed93d45092e84dd84b (patch)
treeed96be191ab51d6ddcb348ff025eeff92de264b3 /tests
parent90f84543a2156a7c8cb8913e2dc4a0eadf7569a0 (diff)
db: cleanup atomic req use
Diffstat (limited to 'tests')
-rw-r--r--tests/db.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/db.cpp b/tests/db.cpp
index 12db434..3515b10 100644
--- a/tests/db.cpp
+++ b/tests/db.cpp
@@ -64,14 +64,14 @@ public:
if (card.has_atomic()) {
int r;
- AtomicReq ctx(card);
+ AtomicReq req(card);
- ctx.add(m_crtc, card.get_prop("FB_ID"), fb->id());
+ req.add(m_crtc, "FB_ID", fb->id());
- r = ctx.test();
+ r = req.test();
ASSERT(r == 0);
- r = ctx.commit(this);
+ r = req.commit(this);
ASSERT(r == 0);
} else {
int r = crtc->page_flip(*fb, this);