mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-06 18:10:40 +02:00
tests wip
This commit is contained in:
parent
bd76a66770
commit
59e12bbed8
@ -1233,7 +1233,7 @@ TEST_CASE("start", "[.cmd]") {
|
|||||||
auto prev_period = det.getPeriod().tsquash("inconsistent period in test");
|
auto prev_period = det.getPeriod().tsquash("inconsistent period in test");
|
||||||
det.setExptime(-1, std::chrono::microseconds(200));
|
det.setExptime(-1, std::chrono::microseconds(200));
|
||||||
det.setPeriod(std::chrono::milliseconds(1));
|
det.setPeriod(std::chrono::milliseconds(1));
|
||||||
det.setNumberOfFrames(10000);
|
det.setNumberOfFrames(2000);
|
||||||
{
|
{
|
||||||
std::ostringstream oss;
|
std::ostringstream oss;
|
||||||
proxy.Call("start", {}, -1, PUT, 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");
|
auto prev_period = det.getPeriod().tsquash("inconsistent period in test");
|
||||||
det.setExptime(-1, std::chrono::microseconds(200));
|
det.setExptime(-1, std::chrono::microseconds(200));
|
||||||
det.setPeriod(std::chrono::milliseconds(1));
|
det.setPeriod(std::chrono::milliseconds(1));
|
||||||
det.setNumberOfFrames(10000);
|
det.setNumberOfFrames(2000);
|
||||||
det.startDetector();
|
det.startDetector();
|
||||||
{
|
{
|
||||||
std::ostringstream oss;
|
std::ostringstream oss;
|
||||||
@ -1322,7 +1322,7 @@ TEST_CASE("status", "[.cmd]") {
|
|||||||
auto prev_period = det.getPeriod().tsquash("inconsistent period in test");
|
auto prev_period = det.getPeriod().tsquash("inconsistent period in test");
|
||||||
det.setExptime(-1, std::chrono::microseconds(200));
|
det.setExptime(-1, std::chrono::microseconds(200));
|
||||||
det.setPeriod(std::chrono::milliseconds(1));
|
det.setPeriod(std::chrono::milliseconds(1));
|
||||||
det.setNumberOfFrames(10000);
|
det.setNumberOfFrames(2000);
|
||||||
det.startDetector();
|
det.startDetector();
|
||||||
{
|
{
|
||||||
std::ostringstream oss;
|
std::ostringstream oss;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user