Add tests for is_a and isCompatible for PVStructures

This commit is contained in:
Dave Hickin
2016-04-12 03:24:47 +01:00
parent 5dfc4ffd16
commit 08234150dc
15 changed files with 57 additions and 16 deletions

View File

@@ -72,6 +72,9 @@ void test_ntcontinuum()
create();
testOk1(ntContinuum.get() != 0);
testOk1(NTContinuum::is_a(ntContinuum->getPVStructure()));
testOk1(NTContinuum::isCompatible(ntContinuum->getPVStructure()));
testOk1(ntContinuum->getPVStructure().get() != 0);
testOk1(ntContinuum->getDescriptor().get() != 0);
testOk1(ntContinuum->getAlarm().get() != 0);
@@ -265,7 +268,7 @@ void test_extra()
MAIN(testNTContinuum) {
testPlan(59);
testPlan(61);
test_builder();
test_ntcontinuum();
test_wrap();