update pvD array in tests
This commit is contained in:
1 parent
8fd9bf10e5
commit
b5b6ae100d
5 files changed
+37
-29
No files matched your search
@@ -259,9 +259,9 @@ void testArrayType(const typename PVT::value_type* rdata, size_t len)
|
||||
|
||||
typename PVT::shared_pointer pv = std::tr1::static_pointer_cast<PVT>(getPVDataCreate()->createPVScalarArray(PVT::typeCode));
|
||||
|
||||
pv->replace(empty);
|
||||
pv->replace(freeze(empty));
|
||||
serializationTest(pv);
|
||||
pv->replace(data);
|
||||
pv->replace(freeze(data));
|
||||
serializationTest(pv);
|
||||
}
|
||||
|
||||
@@ -394,7 +394,7 @@ void testStructureArray() {
|
||||
data[1] = getPVDataCreate()->createPVStructure(getStandardField()->alarm());
|
||||
data[4] = getPVDataCreate()->createPVStructure(getStandardField()->alarm());
|
||||
|
||||
pvArr->replace(data);
|
||||
pvArr->replace(freeze(data));
|
||||
|
||||
testDiag("Some NULLs");
|
||||
serializationTest(pvArr);
|
||||
|
||||
Reference in new issue
Block a user