Revert "tests add to namespace sls (#464)" (#465)

This reverts commit f5745fcf18.
This commit is contained in:
Dhanya Thattil
2022-05-20 15:43:48 +02:00
committed by GitHub
parent f5745fcf18
commit 8656eeec25
44 changed files with 228 additions and 350 deletions

View File

@@ -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
}