mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-20 02:40:03 +02:00
Test for moench done
This commit is contained in:
parent
b8b9921914
commit
96e107221b
@ -2098,7 +2098,7 @@ TEST_CASE("start", "[.cmd]") {
|
|||||||
proxy.Call("start", {}, -1, PUT, oss);
|
proxy.Call("start", {}, -1, PUT, oss);
|
||||||
REQUIRE(oss.str() == "start successful\n");
|
REQUIRE(oss.str() == "start successful\n");
|
||||||
}
|
}
|
||||||
if (det_type != defs::CHIPTESTBOARD) {
|
if (det_type != defs::CHIPTESTBOARD && det_type != defs::MOENCH) {
|
||||||
std::ostringstream oss;
|
std::ostringstream oss;
|
||||||
proxy.Call("status", {}, -1, GET, oss);
|
proxy.Call("status", {}, -1, GET, oss);
|
||||||
REQUIRE(oss.str() == "status running\n");
|
REQUIRE(oss.str() == "status running\n");
|
||||||
@ -2133,7 +2133,7 @@ TEST_CASE("stop", "[.cmd]") {
|
|||||||
det.setPeriod(std::chrono::milliseconds(1));
|
det.setPeriod(std::chrono::milliseconds(1));
|
||||||
det.setNumberOfFrames(2000);
|
det.setNumberOfFrames(2000);
|
||||||
det.startDetector();
|
det.startDetector();
|
||||||
if (det_type != defs::CHIPTESTBOARD) {
|
if (det_type != defs::CHIPTESTBOARD && det_type != defs::MOENCH) {
|
||||||
std::ostringstream oss;
|
std::ostringstream oss;
|
||||||
proxy.Call("status", {}, -1, GET, oss);
|
proxy.Call("status", {}, -1, GET, oss);
|
||||||
REQUIRE(oss.str() == "status running\n");
|
REQUIRE(oss.str() == "status running\n");
|
||||||
@ -2176,7 +2176,7 @@ TEST_CASE("status", "[.cmd]") {
|
|||||||
det.setPeriod(std::chrono::milliseconds(1));
|
det.setPeriod(std::chrono::milliseconds(1));
|
||||||
det.setNumberOfFrames(2000);
|
det.setNumberOfFrames(2000);
|
||||||
det.startDetector();
|
det.startDetector();
|
||||||
if (det_type != defs::CHIPTESTBOARD) {
|
if (det_type != defs::CHIPTESTBOARD && det_type != defs::MOENCH) {
|
||||||
std::ostringstream oss;
|
std::ostringstream oss;
|
||||||
proxy.Call("status", {}, -1, GET, oss);
|
proxy.Call("status", {}, -1, GET, oss);
|
||||||
REQUIRE(oss.str() == "status running\n");
|
REQUIRE(oss.str() == "status running\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user