update pvD array in tests

This commit is contained in:
Michael Davidsaver
2013-07-25 17:30:33 -04:00
parent 8fd9bf10e5
commit b5b6ae100d
5 changed files with 37 additions and 29 deletions

View File

@@ -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);