summaryrefslogtreecommitdiff
path: root/src/qcam/assets/feathericons/arrow-down-right.svg
blob: 81d9822ba8c8768a29bd2a6f4a00bfdcbf00b28e (plain)
1
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-down-right"><line x1="7" y1="7" x2="17" y2="17"></line><polyline points="17 7 17 17 7 17"></polyline></svg>
ss="hl ppc"> namespace { class DoubleOpen : public V4L2VideoDeviceTest { public: DoubleOpen() : V4L2VideoDeviceTest("vimc", "Raw Capture 0") {} protected: int run() { int ret; /* * Expect failure: The device has already been opened by the * V4L2VideoDeviceTest base class */ ret = capture_->open(); if (!ret) { std::cout << "Double open erroneously succeeded" << std::endl; capture_->close(); return TestFail; } return TestPass; } }; } /* namespace */ TEST_REGISTER(DoubleOpen);