mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-21 22:22:20 +01:00
This reverts commit f5745fcf18.
This commit is contained in:
@@ -12,8 +12,8 @@
|
||||
#include "test-CmdProxy-global.h"
|
||||
#include "tests/globals.h"
|
||||
|
||||
namespace sls {
|
||||
|
||||
using sls::CmdProxy;
|
||||
using sls::Detector;
|
||||
using test::GET;
|
||||
using test::PUT;
|
||||
|
||||
@@ -141,7 +141,7 @@ TEST_CASE("samples", "[.cmd]") {
|
||||
|
||||
if (det_type == defs::CHIPTESTBOARD || det_type == defs::MOENCH) {
|
||||
auto prev_asamples = det.getNumberOfAnalogSamples();
|
||||
Result<int> prev_dsamples = 0;
|
||||
sls::Result<int> prev_dsamples = 0;
|
||||
if (det_type == defs::CHIPTESTBOARD) {
|
||||
prev_dsamples = det.getNumberOfDigitalSamples();
|
||||
}
|
||||
@@ -865,6 +865,4 @@ TEST_CASE("led", "[.cmd]") {
|
||||
} else {
|
||||
REQUIRE_THROWS(proxy.Call("led", {}, -1, GET));
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace sls
|
||||
}
|
||||
Reference in New Issue
Block a user