mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-11-10 11:13:52 +01:00
tests wip
This commit is contained in:
1 parent
bd76a66770
commit
59e12bbed8
1 file changed
+3
-3
@@ -1233,7 +1233,7 @@ TEST_CASE("start", "[.cmd]") {
|
||||
auto prev_period = det.getPeriod().tsquash("inconsistent period in test");
|
||||
det.setExptime(-1, std::chrono::microseconds(200));
|
||||
det.setPeriod(std::chrono::milliseconds(1));
|
||||
det.setNumberOfFrames(10000);
|
||||
det.setNumberOfFrames(2000);
|
||||
{
|
||||
std::ostringstream oss;
|
||||
proxy.Call("start", {}, -1, PUT, oss);
|
||||
@@ -1274,7 +1274,7 @@ TEST_CASE("stop", "[.cmd]") {
|
||||
auto prev_period = det.getPeriod().tsquash("inconsistent period in test");
|
||||
det.setExptime(-1, std::chrono::microseconds(200));
|
||||
det.setPeriod(std::chrono::milliseconds(1));
|
||||
det.setNumberOfFrames(10000);
|
||||
det.setNumberOfFrames(2000);
|
||||
det.startDetector();
|
||||
{
|
||||
std::ostringstream oss;
|
||||
@@ -1322,7 +1322,7 @@ TEST_CASE("status", "[.cmd]") {
|
||||
auto prev_period = det.getPeriod().tsquash("inconsistent period in test");
|
||||
det.setExptime(-1, std::chrono::microseconds(200));
|
||||
det.setPeriod(std::chrono::milliseconds(1));
|
||||
det.setNumberOfFrames(10000);
|
||||
det.setNumberOfFrames(2000);
|
||||
det.startDetector();
|
||||
{
|
||||
std::ostringstream oss;
|
||||
|
||||
Reference in new issue
Block a user