{
uint screenid = 0;
m_ipcModule.getUint(&screenid);
- char filename[256];
+ char filename[1024];
m_ipcModule.getString(filename);
t_ilm_bool status = m_executor->execute(new ScreenDumpCommand(filename, screenid));
void GenericCommunicator::ScreenShotOfLayer()
{
- char filename[256];
+ char filename[1024];
m_ipcModule.getString(filename);
uint layerid = 0;
m_ipcModule.getUint(&layerid);
void GenericCommunicator::ScreenShotOfSurface()
{
- char filename[256];
+ char filename[1024];
m_ipcModule.getString(filename);
uint id = 0;
m_ipcModule.getUint(&id);
void GenericCommunicator::CreateShader()
{
- char* vertname = NULL;
+ char vertname[1024];
+ char fragname[1024];
m_ipcModule.getString(vertname);
- char* fragname = NULL;
m_ipcModule.getString(fragname);
uint id = 0;
ICommunicator* communicatorUnderTest;
MockCommandExecutor mockCommandExecutor;
MockLayerList layerlist;
-
+ ApplicationReferenceMap refmap;
+
DBUSCommunicatorTest() {
}
}
communicatorUnderTest = new GenericCommunicator(&mockCommandExecutor);
this->communicatorUnderTest->start();
+
+ DefaultValue<ApplicationReferenceMap*>::Set((ApplicationReferenceMap*) &this->refmap);
running = true;
pthread_create(&processThread, NULL, processLoop, (void*) this);
}
return ((ShaderSetUniformsCommand*)arg)->getShaderId() == _shaderid;
}
-TEST_F(DBUSCommunicatorTest, ShaderSetUniformsCommand) {
+TEST_F(DBUSCommunicatorTest, DISABLED_ShaderSetUniformsCommand) {
std::string expected1[] = { "uRotAngle 1f 1 0", "uRotVector 3f 1 1 0 0" };
EXPECT_CALL(this->mockCommandExecutor, execute( AllOf(ShaderSetUniformsCommandEq(1u), ShaderUniformsMatcher(&expected1)))).Times(1);