porting tests and utils

This commit is contained in:
Matej Sekoranja
2014-05-22 22:31:20 +02:00
parent fbb108652e
commit cdc03d8e97
18 changed files with 181 additions and 137 deletions

View File

@@ -48,10 +48,10 @@ public:
};
class TestChannelAccess : public ChannelAccess {
class TestChannelProviderRegistry : public ChannelProviderRegistry {
public:
virtual ~TestChannelAccess() {};
virtual ~TestChannelProviderRegistry() {};
ChannelProvider::shared_pointer getProvider(epics::pvData::String const & providerName)
{
@@ -81,7 +81,7 @@ void testServerContext()
ServerContextImpl::shared_pointer ctx = ServerContextImpl::create();
ChannelAccess::shared_pointer ca(new TestChannelAccess());
ChannelProviderRegistry::shared_pointer ca(new TestChannelProviderRegistry());
ctx->initialize(ca);
ctx->printInfo();