This commit is contained in:
maliakal_d 2020-11-02 18:30:36 +01:00
parent e7a1960741
commit 5687bdd6a2

View File

@ -1259,7 +1259,11 @@ TEST_CASE("stop", "[.cmd][.new]") {
proxy.Call("stop", {}, -1, PUT, oss);
REQUIRE(oss.str() == "stop successful\n");
}
{
if (det_type == defs::JUNGFRAU) {
std::ostringstream oss;
proxy.Call("status", {}, -1, GET, oss);
REQUIRE(oss.str() == "status stopped\n");
} else {
std::ostringstream oss;
proxy.Call("status", {}, -1, GET, oss);
REQUIRE(oss.str() == "status idle\n");