added monitorPlugin; fixed bug in PVField::getFullName();

This commit is contained in:
Marty Kraimer
2014-04-23 09:10:37 -04:00
parent c2f22a4ad8
commit d5dfb3de0c
9 changed files with 1050 additions and 23 deletions

View File

@@ -413,11 +413,20 @@ pvTop->toString(&buffer);
cout << buffer.c_str() << endl;
cout << pvTop->dumpValue(cout) << endl;
String subName("record._options.process");
PVFieldPtr pvField = pvTop->getSubField(subName);
String fieldName = pvField->getFieldName();
String fullName = pvField->getFullName();
cout << "fieldName " << fieldName << " fullName " << fullName << endl;
testOk1(fieldName.compare("process")==0);
testOk1(fullName.compare(subName)==0);
}
MAIN(testPVData)
{
testPlan(187);
testPlan(189);
fieldCreate = getFieldCreate();
pvDataCreate = getPVDataCreate();
standardField = getStandardField();