Skip to content

Commit b7ff2d8

Browse files
committed
AVInput COM-RPC Support: WIP
1 parent 9be5192 commit b7ff2d8

File tree

1 file changed

+20
-7
lines changed

1 file changed

+20
-7
lines changed

Tests/L1Tests/tests/test_AVInput.cpp

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ class AVInputTest : public ::testing::Test {
5353

5454
Core::ProxyType<Plugin::AVInput> plugin;
5555
Core::ProxyType<Plugin::AVInputImplementation> AVInputImpl;
56-
Core::ProxyType<WorkerPoolImplementation> workerPool;
56+
// <pca> debug
57+
//Core::ProxyType<WorkerPoolImplementation> workerPool;
58+
// </pca>
5759

5860
NiceMock<COMLinkMock> comLinkMock;
5961
NiceMock<ServiceMock> service;
@@ -85,12 +87,19 @@ class AVInputTest : public ::testing::Test {
8587
IARM_EventHandler_t dsAVVideoModeEventHandler;
8688
IARM_EventHandler_t dsAviContentTypeEventHandler;
8789

90+
// <pca> debug
91+
// AVInputTest()
92+
// : plugin(Core::ProxyType<Plugin::AVInput>::Create())
93+
// , handler(*(plugin))
94+
// , INIT_CONX(1, 0) , workerPool(Core::ProxyType<WorkerPoolImplementation>::Create(
95+
// 2, Core::Thread::DefaultStackSize(), 16))
96+
// {
8897
AVInputTest()
8998
: plugin(Core::ProxyType<Plugin::AVInput>::Create())
9099
, handler(*(plugin))
91-
, INIT_CONX(1, 0) , workerPool(Core::ProxyType<WorkerPoolImplementation>::Create(
92-
2, Core::Thread::DefaultStackSize(), 16))
100+
, INIT_CONX(1, 0)
93101
{
102+
// </pca>
94103
printf("*** _DEBUG: AVInputTest ctor: entry");
95104

96105
p_serviceMock = new NiceMock <ServiceMock>;
@@ -228,8 +237,10 @@ class AVInputTest : public ::testing::Test {
228237
#endif
229238
// </pca>
230239

231-
Core::IWorkerPool::Assign(&(*workerPool));
232-
workerPool->Run();
240+
// <pca> debug
241+
// Core::IWorkerPool::Assign(&(*workerPool));
242+
// workerPool->Run();
243+
// </pca>
233244

234245
plugin->Initialize(&service);
235246

@@ -248,8 +259,10 @@ class AVInputTest : public ::testing::Test {
248259
TEST_LOG("*** _DEBUG: AVInputTest xtor");
249260
plugin->Deinitialize(&service);
250261

251-
Core::IWorkerPool::Assign(nullptr);
252-
workerPool.Release();
262+
// <pca> debug
263+
// Core::IWorkerPool::Assign(nullptr);
264+
// workerPool.Release();
265+
// </pca>
253266

254267
if (p_serviceMock != nullptr)
255268
{

0 commit comments

Comments
 (0)