1 #include <gtest/gtest.h>
17 TEST(DRCEProtocolsTest, testResultDataSerializator)
27 TEST(DRCEProtocolsTest, testTaskExecuteRequest)
37 TEST(DRCEProtocolsTest, testSessionOptions)
42 TEST(DRCEProtocolsTest, testResourceLimits)
47 TEST(DRCEProtocolsTest, testFilesItemList)
53 TEST(DRCEActionTypesTest, testCreateBeforeExec)
58 TEST(DRCEActionTypesTest, testDeleteBeforeExec)
63 TEST(DRCEActionTypesTest, testReadAfterExec)
68 TEST(DRCEActionTypesTest, testDeleteAfterExec)
74 TEST(DRCERequestLocalShellTest, testEmptyCommand)
79 TEST(DRCERequestLocalShellTest, testInputStreamWithCommand)
84 TEST(DRCERequestLocalShellTest, testInputStreamWithoutCommand)
89 TEST(DRCERequestLocalShellTest, testCommandSort)
94 TEST(DRCERequestLocalShellTest, testBadCommandLs)
99 TEST(DRCERequestLocalShellTest, testCommandLs)
104 TEST(DRCERequestLocalShellTest, testCommandPs)
109 TEST(DRCERequestLocalShellTest, testCommandPhp)
114 TEST(DRCERequestLocalShellTest, testCommandPerl)
119 TEST(DRCERequestLocalShellTest, testCommandJava)
125 TEST(DRCEFunctionalObjectTest, testApplyEnviroments)
130 TEST(DRCEFunctionalObjectTest, testRequestLocalShellSortInput)
135 TEST(DRCEFunctionalObjectTest, testRequestLocalShellSortOutput)
140 TEST(DRCEFunctionalObjectTest, testRequestLocalShellSort)
145 TEST(DRCEFunctionalObjectTest, testRequestLocalShellPsInput)
150 TEST(DRCEFunctionalObjectTest, testRequestLocalShellPsOutput)
155 TEST(DRCEFunctionalObjectTest, testRequestLocalShellPs)
160 TEST(DRCEFunctionalObjectTest, testRequestLocalShellPhpVersion)
165 TEST(DRCEFunctionalObjectTest, testRequestLocalShellPhpScript)
170 TEST(DRCEFunctionalObjectTest, testRequestLocalShellPerlVersion)
175 TEST(DRCEFunctionalObjectTest, testRequestLocalShellPerlScript)
181 TEST(DRCETaskRequestsTest, testSerializeUnserializeSetTaskToExecuteRequest)
186 TEST(DRCETaskRequestsTest, testSerializeUnserializeCheckTaskRequest)
191 TEST(DRCETaskRequestsTest, testSerializeUnserializeGetTaskDataRequest)
196 TEST(DRCETaskRequestsTest, testSerializeUnserializeTerminateTaskRequest)
259 requestId, HCE::drce::SessionOptions::ThreadMode::tmSync, HCE::drce::SessionOptions::CleanupFlag::cfNotDelete);
265 requestId, HCE::drce::SessionOptions::ThreadMode::tmAsync, HCE::drce::SessionOptions::CleanupFlag::cfNotDelete);
271 requestId, HCE::drce::SessionOptions::ThreadMode::tmSync, HCE::drce::SessionOptions::CleanupFlag::cfDelete);
277 requestId, HCE::drce::SessionOptions::ThreadMode::tmAsync, HCE::drce::SessionOptions::CleanupFlag::cfDelete);
292 Poco::Thread::sleep(10000);
295 Poco::Thread::sleep(10000);
365 HCE::drce::SessionOptions::SessionType::stHostShell,
366 HCE::drce::SessionOptions::ThreadMode::tmAsync);
372 HCE::drce::SessionOptions::SessionType::stHostShell,
373 HCE::drce::SessionOptions::ThreadMode::tmSync);
379 HCE::drce::SessionOptions::SessionType::stHostShell,
380 HCE::drce::SessionOptions::ThreadMode::tmAsync);
386 HCE::drce::SessionOptions::SessionType::stHostShell,
387 HCE::drce::SessionOptions::ThreadMode::tmSync);
391 TEST(TaskRequestTest, testTerminateTaskRequestCleanUp)
396 TEST(TaskRequestTest, testRequestLocalShellAsyncCleanUp)
401 TEST(TaskRequestTest, testCurrentTasksQueue)
406 TEST(TaskRequestTest, testListAllTasks)
412 TEST(DRCECleanupTest, testAsyncTaskAsyncSubtasks)
417 TEST(DRCECleanupTest, testAsyncTaskSyncSubtasks)
422 TEST(DRCECleanupTest, testSyncTaskAsyncSubtasks)
427 TEST(DRCECleanupTest, testSyncTaskSyncSubtasks)
432 TEST(DRCECleanupTest, testAsyncTaskMixSubtasks)
437 TEST(DRCECleanupTest, testSyncTaskMixSubtasks)
442 TEST(DRCECleanupTest, testAsyncTaskMixSubtasksCleanup)
447 TEST(DRCECleanupTest, testSyncTaskMixSubtasksCleanup)
452 TEST(DRCECleanupTest, testRequestGetDataCleanup)
457 TEST(DRCECleanupTest, testRequestDeleteDataCleanup)
462 TEST(DRCECleanupTest, testRequestTerminateCleanup)
467 TEST(DRCECleanupTest, testRequestDeleteData)