more tests

This commit is contained in:
Erik Frojdh
2019-11-27 13:39:06 +01:00
parent 1bbd77536c
commit e996068328
7 changed files with 159 additions and 139 deletions

View File

@@ -61,14 +61,15 @@ TEST_CASE("rx_framescaught", "[.cmd]") {
REQUIRE(oss.str() == "rx_framescaught 0\n");
}
// Currently disabled may activate if we have a stable env
// Now take one frame and see that we caught it
det.setNumberOfFrames(1);
det.acquire();
{
std::ostringstream oss;
proxy.Call("rx_framescaught", {}, -1, GET, oss);
REQUIRE(oss.str() == "rx_framescaught 1\n");
}
// det.setNumberOfFrames(1);
// det.acquire();
// {
// std::ostringstream oss;
// proxy.Call("rx_framescaught", {}, -1, GET, oss);
// REQUIRE(oss.str() == "rx_framescaught 1\n");
// }
}
TEST_CASE("rx_status", "[.cmd]") {