diff --git a/test/testdata.cpp b/test/testdata.cpp index 8c5246a..5ba2e78 100644 --- a/test/testdata.cpp +++ b/test/testdata.cpp @@ -14,7 +14,6 @@ #include "utilpvt.h" #include "pvaproto.h" #include "dataimpl.h" -#include "pvrequest.h" using namespace pvxs; namespace { @@ -205,54 +204,6 @@ void testIterUnion() } } -void testPvRequest() -{ - namespace M = members; - - testDiag("%s", __func__); - - auto def = nt::NTScalar{TypeCode::String}.build(); - auto val = def.create(); - testShow()< void testConvertScalar(const Store& store, const Inout& inout) { @@ -362,7 +313,7 @@ void testAssignSimilar() MAIN(testdata) { - testPlan(111); + testPlan(108); testSetup(); testTraverse(); testAssign(); @@ -370,7 +321,6 @@ MAIN(testdata) testName(); testIterStruct(); testIterUnion(); - testPvRequest(); testConvertScalar(1.0, true); testConvertScalar(0.0, false); diff --git a/test/testpvreq.cpp b/test/testpvreq.cpp index 1774dea..df51db2 100644 --- a/test/testpvreq.cpp +++ b/test/testpvreq.cpp @@ -17,11 +17,60 @@ #include #include #include -#include "utilpvt.h" +#include "dataimpl.h" +#include "pvrequest.h" namespace { using namespace pvxs; +void testPvRequest() +{ + namespace M = members; + + testDiag("%s", __func__); + + auto def = nt::NTScalar{TypeCode::String}.build(); + auto val = def.create(); + testShow()< { TestBuilder() @@ -300,9 +349,10 @@ void testArgs() MAIN(testpvreq) { - testPlan(27); + testPlan(30); testSetup(); logger_config_env(); + testPvRequest(); testEmpty(); testAssemble(); testParseEmpty();