tests apps fixed to used new testServer channel names, test prefix

This commit is contained in:
Matej Sekoranja
2012-11-12 21:52:55 +01:00
parent 66615bdb64
commit 7ec992906e
4 changed files with 6 additions and 6 deletions

View File

@@ -26,8 +26,8 @@ TEMPLATE_TOP=$(EPICS_BASE)/templates/makeBaseApp/top
# EPICS_BASE usually appears last so other apps can override stuff:
#PVDATA=/opt/epics/pvDataCPP
#EPICS_BASE=/opt/epics/base
PVDATA=/Users/msekoranja/b2/pvDataCPP
EPICS_BASE=/opt/epics/base
#GTEST=/opt/epics/gtest

View File

@@ -79,7 +79,7 @@ int main()
char buf[16];
for (int i = 0; i < N_CHANNELS; i++)
{
sprintf(buf, "record%d", (i+1));
sprintf(buf, "test%d", (i+1));
channels[i] = provider->createChannel(buf, channelRequester);
}

View File

@@ -304,7 +304,7 @@ return -1;
char buf[64];
for (int i = 0; i < CHANNELS; i++)
{
sprintf(buf, "array%d_%d", ARRAY_SIZE, i);
sprintf(buf, "testArray%d_%d", ARRAY_SIZE, i);
pvs.push_back(buf);
//printf("%s\n", buf);
}

View File

@@ -458,12 +458,12 @@ int main()
ChannelProvider::shared_pointer provider = getChannelAccess()->getProvider("pvAccess");
ChannelFindRequester::shared_pointer findRequester(new ChannelFindRequesterImpl());
ChannelFind::shared_pointer channelFind = provider->channelFind("something", findRequester);
ChannelFind::shared_pointer channelFind = provider->channelFind("testSomething", findRequester);
epicsThreadSleep ( 1.0 );
//channelFind->destroy();
ChannelRequester::shared_pointer channelRequester(new ChannelRequesterImpl());
Channel::shared_pointer channel = provider->createChannel("structureArrayTest", channelRequester);
Channel::shared_pointer channel = provider->createChannel("testStructureArrayTest", channelRequester);
epicsThreadSleep ( 1.0 );
channel->printInfo();