summaryrefslogtreecommitdiff
path: root/tests/db.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/db.cpp')
-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);