[ITC][DALi][Non-ACR][Modified source due to sdk build failed]
authorJihun Park <jihun87.park@samsung.com>
Tue, 16 Aug 2016 23:53:48 +0000 (08:53 +0900)
committerJihun Park <jihun87.park@samsung.com>
Tue, 16 Aug 2016 23:53:48 +0000 (08:53 +0900)
Change-Id: I820f2d9b0fbe5253498e778987f58013e9ced4f2
Signed-off-by: Jihun Park <jihun87.park@samsung.com>
17 files changed:
src/common/dali-common.cpp
src/common/dali-common.h
src/common/tct_common.c
src/common/tct_common.h
src/itc/dali-adaptor/window/ITs-window-common.h
src/itc/dali-adaptor/window/ITs-window.cpp
src/itc/dali-core/actor/ITs-actor-impl.h
src/itc/dali-core/degree/ITs-degree.cpp
src/itc/dali-core/render-task/ITs-render-task-impl.h
src/itc/dali-core/render-task/ITs-render-task.cpp
src/itc/dali-core/tct-dali-core-native_common_iot.h
src/itc/dali-core/tct-dali-core-native_mobile.h
src/itc/dali-core/tct-dali-core-native_tv.h
src/itc/dali-core/tct-dali-core-native_wearable.h
src/itc/dali-core/type-registry/ITs-type-registry-common.h
src/itc/dali-core/type-registry/ITs-type-registry.cpp
src/itc/dali-toolkit/image-view/ITs-image-view-common.h

index 5a009fb..8150dd1 100755 (executable)
@@ -71,28 +71,28 @@ string DaliLog::mstrTcName="";
 void DaliLog::Print(ELogType eLogType, string strModuleName, string strLogMessage)
 {
        string strLogType = "I";
-       FILE *g_fpLog;
-       g_fpLog = fopen(ERR_LOG,"a");
-       if(!g_fpLog)
+       FILE *fpLog;
+       fpLog = fopen(ERR_LOG,"a");
+       if(!fpLog)
                return;
        
        if(eLogType     == LOG_ERROR)
        {
                strLogType = "E";
-               fprintf(g_fpLog,"[%s][%s]%s", strLogType.c_str(), strModuleName.c_str(), strLogMessage.c_str());
+               fprintf(fpLog,"[%s][%s]%s", strLogType.c_str(), strModuleName.c_str(), strLogMessage.c_str());
        }
        else if(eLogType        == LOG_RESULT)
        {
                strLogType = "R";
-               fprintf(g_fpLog,"[%s][%s]%s", strLogType.c_str(), strModuleName.c_str(), strLogMessage.c_str());
+               fprintf(fpLog,"[%s][%s]%s", strLogType.c_str(), strModuleName.c_str(), strLogMessage.c_str());
        }
        else
        {
-               fprintf(g_fpLog,"[%s][%s]%s\\n", strLogType.c_str(), strModuleName.c_str(), strLogMessage.c_str());
+               fprintf(fpLog,"[%s][%s]%s\\n", strLogType.c_str(), strModuleName.c_str(), strLogMessage.c_str());
        }
        cout << "\n[" << strLogType << strModuleName << "] " << strLogMessage << endl;
        
-       fclose(g_fpLog);
+       fclose(fpLog);
        
        strLogType.clear();
 }
@@ -105,27 +105,27 @@ void DaliLog::Print(ELogType eLogType, string strModuleName, string strLogMessag
        //Print(eLogType, strModuleName, strLogMessage);
        
        string strLogType = "I";
-       FILE *g_fpLog;
-       g_fpLog = fopen(ERR_LOG,"a");
-       if(!g_fpLog)
+       FILE *fpLog;
+       fpLog = fopen(ERR_LOG,"a");
+       if(!fpLog)
                return;
        
        if(eLogType     == LOG_ERROR)
        {
                strLogType = "E";
-               fprintf(g_fpLog,"[%s][%s][Line: %d]%s", strLogType.c_str(), strModuleName.c_str(), nLine, strLogMessage.c_str());
+               fprintf(fpLog,"[%s][%s][Line: %d]%s", strLogType.c_str(), strModuleName.c_str(), nLine, strLogMessage.c_str());
        }
        else if(eLogType        == LOG_RESULT)
        {
                strLogType = "R";
-               fprintf(g_fpLog,"[%s][%s][Line: %d]%s", strLogType.c_str(), strModuleName.c_str(), nLine, strLogMessage.c_str());
+               fprintf(fpLog,"[%s][%s][Line: %d]%s", strLogType.c_str(), strModuleName.c_str(), nLine, strLogMessage.c_str());
        }
        else
        {
-               fprintf(g_fpLog,"[%s][%s][Line: %d]%s\\n", strLogType.c_str(), strModuleName.c_str(), nLine, strLogMessage.c_str());
+               fprintf(fpLog,"[%s][%s][Line: %d]%s\\n", strLogType.c_str(), strModuleName.c_str(), nLine, strLogMessage.c_str());
        }
                
-       fclose(g_fpLog);
+       fclose(fpLog);
 }
 
 void DaliLog::Print(ELogType eLogType, string strModuleName, string strLogMessage, string strFuncName)
@@ -136,27 +136,27 @@ void DaliLog::Print(ELogType eLogType, string strModuleName, string strLogMessag
        //Print(eLogType, strModuleName, strLogMessage);
        
        string strLogType = "I";
-       FILE *g_fpLog;
-       g_fpLog = fopen(ERR_LOG,"a");
-       if(!g_fpLog)
+       FILE *fpLog;
+       fpLog = fopen(ERR_LOG,"a");
+       if(!fpLog)
                return;
        
        if(eLogType     == LOG_ERROR)
        {
                strLogType = "E";
-               fprintf(g_fpLog,"[%s][%s][Function: %s]%s", strLogType.c_str(), strModuleName.c_str(), strFuncName.c_str(), strLogMessage.c_str());
+               fprintf(fpLog,"[%s][%s][Function: %s]%s", strLogType.c_str(), strModuleName.c_str(), strFuncName.c_str(), strLogMessage.c_str());
        }
        else if(eLogType        == LOG_RESULT)
        {
                strLogType = "R";
-               fprintf(g_fpLog,"[%s][%s][Function: %s]%s", strLogType.c_str(), strModuleName.c_str(), strFuncName.c_str(), strLogMessage.c_str());
+               fprintf(fpLog,"[%s][%s][Function: %s]%s", strLogType.c_str(), strModuleName.c_str(), strFuncName.c_str(), strLogMessage.c_str());
        }
        else
        {
-               fprintf(g_fpLog,"[%s][%s][Function: %s]%s\\n", strLogType.c_str(), strModuleName.c_str(), strFuncName.c_str(), strLogMessage.c_str());
+               fprintf(fpLog,"[%s][%s][Function: %s]%s\\n", strLogType.c_str(), strModuleName.c_str(), strFuncName.c_str(), strLogMessage.c_str());
        }
        
-       fclose(g_fpLog);
+       fclose(fpLog);
 }
 
 void DaliLog::PrintV(ELogType eLogType, string strModuleName, string strLogMessage, ...)
@@ -165,9 +165,9 @@ void DaliLog::PrintV(ELogType eLogType, string strModuleName, string strLogMessa
        char strvLog[512];
        va_list arg;
        
-       FILE *g_fpLog;
-       g_fpLog = fopen(ERR_LOG,"a");
-       if(!g_fpLog)
+       FILE *fpLog;
+       fpLog = fopen(ERR_LOG,"a");
+       if(!fpLog)
                return;
        
        va_start(arg, strLogMessage);
@@ -176,23 +176,23 @@ void DaliLog::PrintV(ELogType eLogType, string strModuleName, string strLogMessa
                strLogType = "E";
                strLog = "\n[" + strLogType + "][" + strModuleName + "] " + strLogMessage;
                vsnprintf(strvLog, 512, strLog.c_str(), arg ); 
-               fprintf(g_fpLog,"%s", strvLog);
+               fprintf(fpLog,"%s", strvLog);
        }
        else if(eLogType        == LOG_RESULT)
        {
                strLogType = "R";
                strLog = "\n[" + strLogType + "][" + strModuleName + "] " + strLogMessage;
                vsnprintf(strvLog, 512, strLog.c_str(), arg );   
-               fprintf(g_fpLog,"%s", strvLog);
+               fprintf(fpLog,"%s", strvLog);
        }
        else
        {
                strLog = "\n[" + strLogType + "][" + strModuleName + "] " + strLogMessage;
                vsnprintf(strvLog, 512, strLog.c_str(), arg );    
-               fprintf(g_fpLog,"%s\\n", strvLog);
+               fprintf(fpLog,"%s\\n", strvLog);
        }
        
-       fclose(g_fpLog);    
+       fclose(fpLog);    
     va_end(arg);
     
        strLogType.clear();
@@ -204,13 +204,13 @@ void DaliLog::PrintPass(string strModuleName, string strTcName)
        string strMessage(strTcName);
        strMessage += " is passed";
        //Print(LOG_RESULT, strModuleName, strMessage);
-       FILE *g_fpLog;
-       g_fpLog = fopen(ERR_LOG,"a");
-       if(!g_fpLog)
+       FILE *fpLog;
+       fpLog = fopen(ERR_LOG,"a");
+       if(!fpLog)
                return;
                
-       fprintf(g_fpLog,"[R][%s]%s", strModuleName.c_str(), strMessage.c_str());
-       fclose(g_fpLog);
+       fprintf(fpLog,"[R][%s]%s", strModuleName.c_str(), strMessage.c_str());
+       fclose(fpLog);
        strMessage.clear();
 }
 void TcResult()
@@ -227,13 +227,13 @@ void DaliLog::PrintPass()
        
        TcResult(); //print tc result into "/tmp/tcresult"
        
-       FILE *g_fpLog;
-       g_fpLog = fopen(ERR_LOG,"a");
-       if(!g_fpLog)
+       FILE *fpLog;
+       fpLog = fopen(ERR_LOG,"a");
+       if(!fpLog)
                return;
                
-       fprintf(g_fpLog,"[R][%s]%s", DaliLog::mstrModuleName.c_str(), strMessage.c_str());
-       fclose(g_fpLog);
+       fprintf(fpLog,"[R][%s]%s", DaliLog::mstrModuleName.c_str(), strMessage.c_str());
+       fclose(fpLog);
        strMessage.clear();
 }
 
@@ -250,13 +250,13 @@ void DaliLog::PrintExecStarted(string strModuleName, string strTcName)
 void DaliLog::PrintMgs(string strMgs)
 {
        string strMessage(strMgs);
-       FILE *g_fpLog;
+       FILE *fpLog;
        
-       g_fpLog = fopen(ERR_LOG,"a");
-       if(!g_fpLog)
+       fpLog = fopen(ERR_LOG,"a");
+       if(!fpLog)
                return;
                
-       fprintf(g_fpLog,"%s\n", strMessage.c_str());
-       fclose(g_fpLog);
+       fprintf(fpLog,"%s\n", strMessage.c_str());
+       fclose(fpLog);
        strMessage.clear();
 }
index 579879f..74e351b 100755 (executable)
@@ -13,8 +13,6 @@
 
 using namespace std;
 
-#define INTERVAL 500
-
 #define OPEN_GL_ES_FEATURE             "http://tizen.org/feature/opengles.version.2_0"
 
 extern void (*DaliCheckFailCB)(void*);
@@ -108,19 +106,19 @@ return;}\
 }
 
 #define FPRINTF(...) {\
-       FILE *g_fpLog = fopen(ERR_LOG, "a");\
-       fprintf(g_fpLog, __VA_ARGS__);\
-       fclose(g_fpLog);\
+       FILE *fpLog = fopen(ERR_LOG, "a");\
+       fprintf(fpLog, __VA_ARGS__);\
+       fclose(fpLog);\
 }
 
-#define CHECK_OPEN_GL(MODULE_NAME,LINE_NUMBER) {\
-       bool g_bSupported_OpenGl_Es=false; \
+#define OPEN_GL_FREATURE_CHECK(MODULE_NAME,LINE_NUMBER) {\
+       int g_bSupported_OpenGl_Es; \
        g_bSupported_OpenGl_Es=getSystemInfoFeature((char *)OPEN_GL_ES_FEATURE, (char *)MODULE_NAME, LINE_NUMBER); \
        if(!g_bSupported_OpenGl_Es){ \
                DaliLog::PrintV(LOG_INFO, MODULE_NAME, "[Line : %d] '%s' feature is not supported so leaving from TC.\\n", LINE_NUMBER, OPEN_GL_ES_FEATURE); \
                test_return_value=0; \
                DaliLog::PrintPass(); \
-               return test_return_value;}\
+               return;}\
        }
                
 #define CHECK_GL \
index 3d3b8a0..021f64f 100755 (executable)
@@ -15,6 +15,8 @@
 //
 
 #include "tct_common.h"
+FILE *g_fpLog;
+FILE *g_fpLogDump;
 
 /**
 * @function            TCTCheckSystemInfoFeatureSupported
index a5c5a05..fdd3279 100755 (executable)
@@ -33,8 +33,8 @@
 #define UTC_LOG "/tmp/utclog_core"
 #define TC_RESULT "/tmp/tcresult"
 
-FILE *g_fpLog;
-FILE *g_fpLogDump;
+extern FILE *g_fpLog;
+extern  FILE *g_fpLogDump;
 
 #define FPRINTF(...) {\
        g_fpLog = fopen(ERR_LOG, "a");\
index 3266a6b..274544b 100755 (executable)
@@ -4,7 +4,7 @@
 
 #include "dali-common.h"
 #include <exception>
-#include <devel-api/adaptor-framework/drag-and-drop-detector.h>
+//~ #include <devel-api/adaptor-framework/drag-and-drop-detector.h>
 #include <dali/dali.h>
 #include <dali-toolkit/dali-toolkit.h>
 
index 799c8a1..d1ebf25 100755 (executable)
@@ -123,6 +123,7 @@ namespace
  **/
 void WindowConstructorNewAssignmentOperator(Application& mApplication)
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        
        Window window;
        DALI_CHECK_FAIL(window, "Failed to create empty window handle");
@@ -145,6 +146,7 @@ void WindowConstructorNewAssignmentOperator(Application& mApplication)
 
 void WindowSetGetPreferredOrientation(Application& mApplication)
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        
        //~ PositionSize windowPosition(0, 0, 0, 0);
     //~ Window window = Window::New( windowPosition, "my-window", true );
@@ -159,6 +161,7 @@ void WindowSetGetPreferredOrientation(Application& mApplication)
 }
 void WindowGetDragandDropDetectorNativeHandle(Application& mApplication)
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        
        //~ PositionSize windowPosition(0, 0, 0, 0);
     //~ Window window = Window::New( windowPosition, "my-window", false );
@@ -171,13 +174,14 @@ void WindowGetDragandDropDetectorNativeHandle(Application& mApplication)
     handle = 50.0f;
     DALI_CHECK_FAIL( typeid( float ) != handle.GetType() , " GetNativeHandle could not create proper any-handle");
     
-    DragAndDropDetector detector = window.GetDragAndDropDetector();
-    DALI_CHECK_FAIL(!detector, "GetDragAndDropDetector is failed to get detector empty handle from window");
+    //~ DragAndDropDetector detector = window.GetDragAndDropDetector();
+    //~ DALI_CHECK_FAIL(!detector, "GetDragAndDropDetector is failed to get detector empty handle from window");
     
     DaliLog::PrintPass();    
 }
 void WindowAddRemoveAvailableOrientation(Application& mApplication)
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        
        //~ PositionSize windowPosition(0, 0, 0, 0);
     //~ Window window = Window::New( windowPosition, "my-window", true );
@@ -215,6 +219,7 @@ void WindowAddRemoveAvailableOrientation(Application& mApplication)
 }
 void WindowLowerRaiseActivate(Application& mApplication)
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        
        //~ PositionSize windowPosition(0, 0, 0, 0);
     //~ Window window = Window::New( windowPosition, "my-window", true );
@@ -267,6 +272,7 @@ void WindowLowerRaiseActivate(Application& mApplication)
 }
 void WindowSetClassSetIndicatorBgOpacity(Application& mApplication)
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        
        //~ PositionSize windowPosition(0, 0, 0, 0);
     //~ Window window = Window::New( windowPosition, "my-window", true );
@@ -305,6 +311,7 @@ void WindowSetClassSetIndicatorBgOpacity(Application& mApplication)
 }
 void WindowShowRotateIndicator(Application& mApplication)
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        
     //PositionSize windowPosition(0, 0, 0, 0);
     //Window window = Window::New( windowPosition, "my-window", false );
@@ -370,7 +377,6 @@ int ITcWindowConstructorNewAssignmentOperator(void)
 {
        DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__);
        Application application = Application::New( &gArgc, &gArgv );
-       CHECK_OPEN_GL(SUITE_NAME,__LINE__)
        Window_TestApp testApp( application, WINDOW_CONSTRUCTOR_NEW_ASSIGNMENT_OPERATOR);
        application.MainLoop(); 
     return test_return_value;
@@ -399,7 +405,6 @@ int ITcWindowSetGetPreferredOrientation(void)
 {
        DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__);
        Application application = Application::New( &gArgc, &gArgv );
-       CHECK_OPEN_GL(SUITE_NAME,__LINE__)
        Window_TestApp testApp( application, WINDOW_SET_GET_PREFERRED_ORIENTATION);
        application.MainLoop(); 
     return test_return_value;
@@ -428,7 +433,6 @@ int ITcWindowGetDragandDropDetectorNativeHandle(void)
 {      
        DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__);
        Application application = Application::New( &gArgc, &gArgv );
-       CHECK_OPEN_GL(SUITE_NAME,__LINE__)
        Window_TestApp testApp( application, WINDOW_GET_DRAGAND_DROP_DETECTOR_NATIVE_HANDLE);
        application.MainLoop(); 
     return test_return_value;
@@ -456,7 +460,6 @@ int ITcWindowAddRemoveAvailableOrientation(void)
 {
        DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__);
        Application application = Application::New( &gArgc, &gArgv );
-       CHECK_OPEN_GL(SUITE_NAME,__LINE__)
        Window_TestApp testApp( application, WINDOW_ADD_REMOVE_AVAILABLE_ORIENTATION);
        application.MainLoop(); 
     return test_return_value;
@@ -486,7 +489,6 @@ int ITcWindowLowerRaiseActivate(void)
 {
        DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__);
        Application application = Application::New( &gArgc, &gArgv );
-       CHECK_OPEN_GL(SUITE_NAME,__LINE__)
        Window_TestApp testApp( application, WINDOW_LOWER_RAISE_ACTIVATE);
        application.MainLoop(); 
     return test_return_value;
@@ -515,7 +517,6 @@ int ITcWindowSetClassSetIndicatorBgOpacity(void)
 {
        DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__);
        Application application = Application::New( &gArgc, &gArgv );
-       CHECK_OPEN_GL(SUITE_NAME,__LINE__)
        Window_TestApp testApp( application, WINDOW_SET_CLASS_SET_INDICATOR_BGOPACITY);
        application.MainLoop(); 
     return test_return_value;
@@ -543,7 +544,6 @@ int ITcWindowShowRotateIndicator(void)
 {
        DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__);
        Application application = Application::New( &gArgc, &gArgv );
-       CHECK_OPEN_GL(SUITE_NAME,__LINE__)
        Window_TestApp testApp( application, WINDOW_SHOW_ROTATE_INDICATOR);
        application.MainLoop(); 
     return test_return_value;
index a295ee6..4ef8b6a 100755 (executable)
@@ -1,6 +1,6 @@
 #include "ITs-actor-common.h"
-#include <dali/devel-api/rendering/geometry.h>
-#include <dali/devel-api/rendering/renderer.h>
+//~ #include <dali/devel-api/rendering/geometry.h>
+//~ #include <dali/devel-api/rendering/renderer.h>
 
 extern int gArgc;
 extern char ** gArgv;
@@ -83,6 +83,7 @@ void OnRelayoutCallback( Actor actor )
  
 void ActorDownCast()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        
        Actor actor = Actor::New();
        DALI_CHECK_FAIL(!actor, "Animation actor and stage initialization failed.");
@@ -99,6 +100,7 @@ void ActorDownCast()
 
 void ActorGetId()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        
        Actor actor = Actor::New();
        DALI_CHECK_FAIL(!actor, "Actor::New() is failed ");
@@ -114,6 +116,7 @@ void ActorGetId()
 
 void ActorGetChildCount()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        
        unsigned const int uInitChildCount = 1;
        
@@ -138,6 +141,7 @@ void ActorGetChildCount()
 
 void ActorSetGetName()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        
        string strActorName("New_Actor");
        
@@ -160,6 +164,7 @@ void ActorSetGetName()
 
 void ActorSetGetDrawModeOVERLAY()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        
        Vector3 vec3Position( 1.0f, 2.0f, 3.0f );       
        DrawMode::Type eSetDrawMode = DrawMode::OVERLAY_2D;
@@ -185,6 +190,7 @@ void ActorSetGetDrawModeOVERLAY()
 
 void ActorGetChildAt()
 {      
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        Actor parentActor = Actor::New();
        DALI_CHECK_FAIL(!parentActor, "Actor::New() is failed ");
        
@@ -207,6 +213,7 @@ void ActorGetChildAt()
 
 void ActorGetParent()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        Actor parentActor = Actor::New();
        DALI_CHECK_FAIL(!parentActor, "Actor::New() is failed ");
        
@@ -227,6 +234,7 @@ void ActorGetParent()
 
 void ActorFindChildByNameId()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        const string strSetChildString = "childActor" ;
        Actor parentActor = Actor::New();
        
@@ -269,6 +277,7 @@ void ActorFindChildByNameId()
 
 void ActorAddUnparent()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        Actor parentActor = Actor::New();
        DALI_CHECK_FAIL(!parentActor, "Actor::New() is failed ");
        
@@ -291,6 +300,7 @@ void ActorAddUnparent()
 
 void ActorSetGetDrawModeSTENCIL()
 {      
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        Vector3 vec3Position( 1.0f, 2.0f, 3.0f );
        DrawMode::Type  eSetDrawMode = DrawMode::STENCIL;
        
@@ -315,6 +325,7 @@ void ActorSetGetDrawModeSTENCIL()
 
 void ActorSetGetDrawModeNORMAL()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        Vector3 vec3Position( 1.0f, 2.0f, 3.0f );
        DrawMode::Type eSetDrawMode = DrawMode::NORMAL ;
        
@@ -338,6 +349,7 @@ void ActorSetGetDrawModeNORMAL()
 
 void ActorSetIsKeyboardFocusable()
 {      
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        bool bIsKeyboardFocusable = false , bSetkeyboardFocus = true ;
        
        Actor actor = Actor::New();
@@ -356,6 +368,7 @@ void ActorSetIsKeyboardFocusable()
 
 void ActorSetIsVisible()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        bool bIsVisible = false , bSetVisible = true ;
        
        Actor actor = Actor::New();
@@ -374,6 +387,7 @@ void ActorSetIsVisible()
 
 void ActorSetXYZ()
 {      
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        g_Actor = Actor::New();
        DALI_CHECK_FAIL(!g_Actor, "Actor::New() is failed ");
        
@@ -405,6 +419,7 @@ void VTActorCheckXYZPositionFinal()
 
 void ActorOnStageGetIsLayer()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        bool bIsLayer = false, bOnStage = false;
        Layer layer;    
 
@@ -436,6 +451,7 @@ void ActorOnStageGetIsLayer()
 
 void ActorIsRoot()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        bool bIsRoot = false;   
        
        Actor actor = Actor::New();
@@ -453,6 +469,7 @@ void ActorIsRoot()
 
 void ActorOnOffStageSignal()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        Actor parentActor = Actor::New();
        DALI_CHECK_FAIL(!parentActor, "Actor::New() is failed ");
        
@@ -556,6 +573,7 @@ void ActorOnOffStageSignal()
 
 void ActorSetGetCurrentAnchorPoint()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        float fX=0.0f, fY=0.0f, fZ=0.0f;
        
        Actor actor = Actor::New();
@@ -577,6 +595,7 @@ void ActorSetGetCurrentAnchorPoint()
 
 void ActorGetCurrentWorldColorSetGetColorModeUSE_OWN_MULTIPLY_PARENT_ALPHA()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        Actor parentActor = Actor::New();
        DALI_CHECK_FAIL(!parentActor, " Actor::New() is failed ");
        parentActor.SetColor(ACTOR_SET_COLOR);
@@ -623,6 +642,7 @@ void VTActorCheckWorldOwnParentColorAlpha001()
 
 void ActorGetCurrentWorldColorSetGetColorModeUSE_PARENT_COLOR()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        Vector4 ACTOR_SET_COLOR(1.0f, 0.5f, 0.0f, 0.8f);
        Vector4 ACTOR_CHILD_SET_COLOR(0.5f, 0.6f, 0.5f, 1.0f);
        
@@ -683,6 +703,7 @@ void VTActorCheckWorldParentColor002()
 
 void ActorGetCurrentWorldColorSetGetColorModeUSE_OWN_COLOR()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        Actor parentActor = Actor::New();
        DALI_CHECK_FAIL(!parentActor, " Actor::New() is failed ");
        parentActor.SetColor(ACTOR_SET_COLOR);
@@ -744,6 +765,7 @@ void VTActorCheckWorldOwnColor002()
 
 void ActorGetCurrentWorldColorSetGetColorModeUSE_OWN_MULTIPLY_PARENT_COLOR()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        Actor parentActor = Actor::New();
        DALI_CHECK_FAIL(!parentActor, " Actor::New() is failed ");
        parentActor.SetColor(ACTOR_SET_COLOR);
@@ -807,6 +829,7 @@ void VTActorCheckWorldOwnParentColor002()
 
 void ActorSetGetCurrentColor()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        g_Actor = Actor::New();
        DALI_CHECK_FAIL(!g_Actor, "Actor::New() is failed ");
        
@@ -826,6 +849,7 @@ void VTActorCheckColor()
 
 void ActorSetGetColorModeUSE_OWN_COLOR()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        Actor parentActor = Actor::New();
        DALI_CHECK_FAIL(!parentActor, "Actor::New() is failed ");
        
@@ -846,6 +870,7 @@ void ActorSetGetColorModeUSE_OWN_COLOR()
 
 void ActorSetGetColorModeUSE_OWN_MULTIPLY_PARENT_ALPHA()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        Actor parentActor = Actor::New();
        DALI_CHECK_FAIL(!parentActor, "Actor::New() is failed ");
        
@@ -868,6 +893,7 @@ void ActorSetGetColorModeUSE_OWN_MULTIPLY_PARENT_ALPHA()
 
 void ActorSetGetColorModeUSE_PARENT_COLOR()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        Actor parentActor = Actor::New();
        DALI_CHECK_FAIL(!parentActor, "Actor::New() is failed ");
        
@@ -889,6 +915,7 @@ void ActorSetGetColorModeUSE_PARENT_COLOR()
 
 void ActorSetGetCurrentOpacityBy()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        float fSetOpacity = 1.0f, fGetOpacity = 0.0f;   
        
        Actor actor = Actor::New();
@@ -909,6 +936,7 @@ void ActorSetGetCurrentOpacityBy()
 
 void ActorSetGetCurrentParentOrigin()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        float fX=0.0f, fY=0.0f, fZ=0.0f;
        
        Actor actor = Actor::New();
@@ -929,6 +957,7 @@ void ActorSetGetCurrentParentOrigin()
 
 void ActorGetWorldPositionSetGetPositionInheritanceModeINHERIT_PARENT_POSITION()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        Actor parentActor = Actor::New();
        DALI_CHECK_FAIL(!parentActor, "Actor::New() is failed ");
        
@@ -975,6 +1004,7 @@ void VTActorGetWorldPositionParent001()
 
 void ActorGetWorldPositionSetGetPositionInheritanceModeUSE_PARENT_POSITION()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        Actor parentActor = Actor::New();
        DALI_CHECK_FAIL(!parentActor, " Actor::New() is failed ");
        
@@ -1027,6 +1057,7 @@ void VTActorGetWorldPositionParent003()
 
 void ActorGetWorldPositionSetGetPositionInheritanceModeUSE_PARENT_POSITION_PLUS_LOCAL_POSITION()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        Actor parentActor = Actor::New();
        DALI_CHECK_FAIL(!parentActor, " Actor::New() is failed ");
        
@@ -1081,6 +1112,7 @@ void VTActorGetWorldPositionParentLocal002()
 
 void ActorGetWorldPositionSetGetPositionInheritanceModeDONT_INHERIT_POSITION()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        Actor parentActor = Actor::New();
        DALI_CHECK_FAIL(!parentActor, " Actor::New() is failed ");
        parentActor.SetPosition(ACTOR_SET_POSITION);
@@ -1142,6 +1174,7 @@ void VTActorGetWorldPositionNotInherited002()
 
 void ActorSetGetCurrentPositionDoubleInputParam()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        g_Actor = Actor::New();
        DALI_CHECK_FAIL(!g_Actor, " Actor::New() is failed ");
        
@@ -1177,6 +1210,7 @@ void VTActorCheckCurrentPosition002()
 
 void ActorSetGetCurrentPositionVectorInputParam()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        g_Actor = Actor::New();
        DALI_CHECK_FAIL(!g_Actor, " Actor::New() is failed ");
 
@@ -1193,6 +1227,7 @@ void VTActorCheckCurrentPosition003()
 
 void ActorSetIsOrientationInheritedGetCurrentWorldOrientation()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        bool bIsOrientationInherited = false;
        Actor parentActor = Actor::New();
        DALI_CHECK_FAIL(!parentActor, "Actor::New() is failed ");
@@ -1251,6 +1286,7 @@ void VTActorCheckWorldOrientation002()
 
 void ActorSetGetCurrentOrientationDegree()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        g_Actor = Actor::New();
        DALI_CHECK_FAIL(!g_Actor, " Actor::New() is failed ");
        
@@ -1268,6 +1304,7 @@ void VTActorChechCurrentOrientation001()
 
 void ActorSetGetCurrentOrientationRadian()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        g_Actor = Actor::New();
        DALI_CHECK_FAIL(!g_Actor, " Actor::New() is failed ");
 
@@ -1285,6 +1322,7 @@ void VTActorChechCurrentOrientation002()
 
 void ActorSetGetCurrentOrientationQuaternion()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        g_Actor = Actor::New();
        DALI_CHECK_FAIL(!g_Actor, " Actor::New() is failed ");
 
@@ -1302,6 +1340,7 @@ void VTActorChechCurrentOrientation003()
 
 void ActorSetIsInheritCurrentWorldScale()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        bool bIsInheritScale = false;
        
        Actor parentActor = Actor::New();
@@ -1362,6 +1401,7 @@ void VTActorCheckWorldScale002()
 
 void ActorSetGetCurrentScaleBy()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        Vector3 vec3Scale(10.0f, 10.0f, 10.0f);
        Vector3 vec3ScaleBy(1.0f, 1.0f, 1.0f);
        
@@ -1407,6 +1447,7 @@ void VTActorCheckCurrentScale001()
 
 void ActorSetGetCurrentScaleMultiInputParam()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        g_Actor = Actor::New();
        DALI_CHECK_FAIL(!g_Actor, " Actor::New() is failed ");
 
@@ -1423,6 +1464,7 @@ void VTActorCheckCurrentScale002()
 
 void ActorSetGetCurrentScaleVectorInputParam()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        g_Actor = Actor::New();
        DALI_CHECK_FAIL(!g_Actor, " Actor::New() is failed ");
        
@@ -1439,6 +1481,7 @@ void VTActorCheckCurrentScale003()
 
 void ActorGetCurrentWorldMatrix()
 {      
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        Actor parentActor = Actor::New();
        DALI_CHECK_FAIL(!parentActor, " Actor::New() is failed ");
        
@@ -1500,6 +1543,7 @@ void VTActorCheckWorldMatrix()
 
 void ActorSetIsSensitive()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        bool bIsSensitive = false;
        
        Actor actor = Actor::New();
@@ -1518,6 +1562,7 @@ void ActorSetIsSensitive()
 
 void ActorSetGetCurrentSizeDoubleInputParam()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        g_Actor = Actor::New();
        DALI_CHECK_FAIL(!g_Actor, " Actor::New() is failed ");
 
@@ -1534,6 +1579,7 @@ void VTActorCheckCurrentSize001()
 
 void ActorSetGetCurrentSizeMultiInputParam()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        g_Actor = Actor::New();
        DALI_CHECK_FAIL(!g_Actor, " Actor::New() is failed ");
 
@@ -1550,6 +1596,7 @@ void VTActorCheckCurrentSize002()
 
 void ActorSetGetCurrentSizeVector2InputParam()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        Vector2 vec2SetSize(ACTOR_SET_SIZE.x, ACTOR_SET_SIZE.y);
        g_Actor = Actor::New();
        DALI_CHECK_FAIL(!g_Actor, " Actor::New() is failed ");
@@ -1567,6 +1614,7 @@ void VTActorCheckCurrentSize003()
 
 void ActorSetGetCurrentSizeVector3InputParam()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        g_Actor = Actor::New();
        DALI_CHECK_FAIL(!g_Actor, " Actor::New() is failed ");
 
@@ -1583,6 +1631,7 @@ void VTActorCheckCurrentSize004()
 
 void ActorSetGetColorModeUSE_OWN_MULTIPLY_PARENT_COLOR()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        Actor parentActor = Actor::New();
        DALI_CHECK_FAIL(!parentActor, "Actor::New() is failed ");
        
@@ -1606,6 +1655,7 @@ void ActorSetGetColorModeUSE_OWN_MULTIPLY_PARENT_COLOR()
 
 void ActorSetGetPadding()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        Padding pGetPadding; 
        Padding pSetPadding(10.0f, 11.0f, 12.0f, 13.0f);
        Padding pDefaultPadding(0.0f, 0.0f, 0.0f, 0.0f);
@@ -1643,6 +1693,7 @@ void ActorSetGetPadding()
 
 void ActorTranslateBy()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        g_Actor = Actor::New();
        DALI_CHECK_FAIL(!g_Actor, "Actor::New() is failed ");
        
@@ -1674,6 +1725,7 @@ void VTActorCheckTranslation002()
 
 void ActorSetGetMaximumSize()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        Actor actor = Actor::New();
        DALI_CHECK_FAIL(!actor, "Actor::New() is failed ");
        
@@ -1713,6 +1765,7 @@ void ActorSetGetMaximumSize()
 
 void ActorSetGetMinimumSize()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        Actor actor = Actor::New();
        DALI_CHECK_FAIL(!actor, "Actor::New() is failed ");
        
@@ -1752,6 +1805,7 @@ void ActorSetGetMinimumSize()
 
 void ActorOnRelayoutSignalSetResizePolicy()
 {      
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        g_nRenderCount = 1;
 
        g_Actor = Actor::New();
@@ -1853,6 +1907,7 @@ void VTActorCheckRelayoutSignal008()
 
 void ActorGetHeightForWidthWidthForHeight()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        Actor actor = Actor::New();
        DALI_CHECK_FAIL(!actor, "Actor::New() is failed ");
        
@@ -1884,6 +1939,7 @@ void ActorGetHeightForWidthWidthForHeight()
 
 void ActorSetGetSizeModeFactor()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        Actor actor = Actor::New();
        DALI_CHECK_FAIL(!actor, "Actor::New() is failed ");
        
@@ -1918,6 +1974,7 @@ void ActorSetGetSizeModeFactor()
 
 void ActorSetGetSizeScalePolicy()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        Actor actor = Actor::New();
        DALI_CHECK_FAIL(!actor, "Actor::New() is failed ");
        
@@ -1951,6 +2008,7 @@ void ActorSetGetSizeScalePolicy()
 
 void ActorInsertRotateByRadianQuenterion()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        Actor testActor;
        unsigned int uCount;
        unsigned int uIndex = 0u;
@@ -2020,6 +2078,7 @@ void VTActorRotationCheck002()
 
 void ActorGetNaturalSizeResizePolicy()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        Actor actor = Actor::New();
        DALI_CHECK_FAIL(!actor, "Actor::New() is failed.");
        Stage::GetCurrent().Add(actor);
@@ -2087,6 +2146,7 @@ void ActorGetNaturalSizeResizePolicy()
 
 void ActorAssignmentOperatorGetRelayoutSize()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        Actor tmpActor = Actor::New();
        DALI_CHECK_FAIL(!tmpActor, "Actor::New() is failed.");
        
@@ -2124,6 +2184,7 @@ Vector3 g_parentPosition( 1.0f, 2.0f, 3.0f );
 Vector3 g_childOffset( -1.0f, 1.0f, 0.0f );
 void ActorSetInheritPosition()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        Actor tmpActor = Actor::New();
        DALI_CHECK_FAIL(!tmpActor,"Actor::New() failed")
        g_parent = Actor::New();
@@ -2192,6 +2253,7 @@ void VTActorSetInheritPosition003()
        */
 void ActorGetHierarchyDepthAddRemoveRendererScreenToLocal()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        
        //Leave Required test
        Actor actor = Actor::New();
@@ -2200,20 +2262,20 @@ void ActorGetHierarchyDepthAddRemoveRendererScreenToLocal()
        
        //renderer test
        DALI_CHECK_FAIL( actor.GetRendererCount() != 0u, "Actor get renderer count mismatch");
-       Geometry geometry = Geometry::QUAD();
-       Shader shader = Shader::New( "vertexSrc", "fragmentSrc" );
-       Renderer renderer = Renderer::New(geometry, shader);
-       Renderer renderer1 = Renderer::New(geometry, shader);
-       DALI_CHECK_FAIL( !renderer, "Renderer::New(geometry, shader) is failed");
-       DALI_CHECK_FAIL( !renderer1, "Renderer::New(geometry, shader) is failed");
-       actor.AddRenderer( renderer );
-       actor.AddRenderer( renderer1 );
-       DALI_CHECK_FAIL( actor.GetRendererCount() !=2u, "Actor get renderer count mismatch" );
-       DALI_CHECK_FAIL( actor.GetRendererAt(0) != renderer, "Actor get renderer count mismatch" );
-       actor.RemoveRenderer(0);
-       DALI_CHECK_FAIL( actor.GetRendererCount() !=1u, "Actor get renderer count mismatch" );
-       actor.RemoveRenderer(renderer1);
-       DALI_CHECK_FAIL( actor.GetRendererCount() !=0u, "Actor get renderer count mismatch" );
+       //~ Geometry geometry = Geometry::QUAD();
+       //~ Shader shader = Shader::New( "vertexSrc", "fragmentSrc" );
+       //~ Renderer renderer = Renderer::New(geometry, shader);
+       //~ Renderer renderer1 = Renderer::New(geometry, shader);
+       //~ DALI_CHECK_FAIL( !renderer, "Renderer::New(geometry, shader) is failed");
+       //~ DALI_CHECK_FAIL( !renderer1, "Renderer::New(geometry, shader) is failed");
+       //~ actor.AddRenderer( renderer );
+       //~ actor.AddRenderer( renderer1 );
+       //~ DALI_CHECK_FAIL( actor.GetRendererCount() !=2u, "Actor get renderer count mismatch" );
+       //~ DALI_CHECK_FAIL( actor.GetRendererAt(0) != renderer, "Actor get renderer count mismatch" );
+       //~ actor.RemoveRenderer(0);
+       //~ DALI_CHECK_FAIL( actor.GetRendererCount() !=1u, "Actor get renderer count mismatch" );
+       //~ actor.RemoveRenderer(renderer1);
+       //~ DALI_CHECK_FAIL( actor.GetRendererCount() !=0u, "Actor get renderer count mismatch" );
        
        //screen to local test
        float localX;
index 6c5d33e..d7cf053 100755 (executable)
@@ -132,6 +132,7 @@ namespace
 
 void DegreeConsFloat()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        Degree degree(ANGLE_ONE80);
        DALI_CHECK_FAIL(degree.degree !=  ANGLE_ONE80, "Dali::Degree is Failed: angle value mismatches.");
        DALI_CHECK_FAIL(degree.degree != (Radian(degree) * ONE80_OVER_PI), "Dali::Degree is Failed: radian angle value from degree value compared mismatches.");
@@ -141,7 +142,8 @@ void DegreeConsFloat()
 
 void DegreeConsRadian()
 {
-       Degree degree(Radian( Math::PI ));
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
+       Degree degree(Radian( M_PI ));
        DALI_CHECK_FAIL(degree.degree !=  ANGLE_ONE80, "Dali::Degree(radian) is Failed: angle value mismatches.");
        DALI_CHECK_FAIL(degree.degree != (Radian(degree) * ONE80_OVER_PI), "Dali::Degree(radian) is Failed: radian angle value from degree value compared mismatches.");
        
@@ -150,6 +152,7 @@ void DegreeConsRadian()
 
 void DegreeOperatorEqual()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        Degree degree1(ANGLE_RHS);
        
        Degree degree2(ANGLE_LHS);
@@ -160,6 +163,7 @@ void DegreeOperatorEqual()
 
 void DegreeOperatorNotEqual()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        const float ANGLE180_RHS = 180.0f, ANGLE90_LHS = 90.0f;
        
        Degree degree1(ANGLE90_LHS);
@@ -172,6 +176,7 @@ void DegreeOperatorNotEqual()
 
 void DegreeCastOperator1()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        Degree degree1(ANGLE_LHS);
 
        const float& val1( degree1.degree );
@@ -182,6 +187,7 @@ void DegreeCastOperator1()
 
 void DegreeCastOperator2()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        Degree degree1(ANGLE_LHS);
 
        float& val1( degree1.degree );
@@ -192,6 +198,7 @@ void DegreeCastOperator2()
 
 void DegreeOperatorCompare()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        const float ANGLE180_RHS = 180.0f, ANGLE90_LHS = 90.0f;
        
        Degree degree1(ANGLE90_LHS);
@@ -204,6 +211,7 @@ void DegreeOperatorCompare()
 
 void DegreeClamp()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        const float fMin = ANGLE_ONE80 - 30.0f, fMax = ANGLE_ONE80 + 20.0f;
        
        Degree degree(ANGLE_ONE80);
@@ -250,7 +258,6 @@ int ITcDegreeConsFloat(void)
 {
        DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__);
        Application application = Application::New( &gArgc, &gArgv );
-       CHECK_OPEN_GL(SUITE_NAME,__LINE__)
        Degree_TestApp testApp( application, DEGREE_CONS_FLOAT);
        application.MainLoop(); 
     return test_return_value;
@@ -273,7 +280,6 @@ int ITcDegreeConsRadian(void)
 {
        DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__);
        Application application = Application::New( &gArgc, &gArgv );
-       CHECK_OPEN_GL(SUITE_NAME,__LINE__)
        Degree_TestApp testApp( application, DEGREE_CONS_RADIAN);
        application.MainLoop(); 
     return test_return_value;
@@ -296,7 +302,6 @@ int ITcDegreeOperatorEqual(void)
 {
        DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__);
        Application application = Application::New( &gArgc, &gArgv );
-       CHECK_OPEN_GL(SUITE_NAME,__LINE__)
        Degree_TestApp testApp( application, DEGREE_OPERATOR_EQUAL);
        application.MainLoop(); 
     return test_return_value;
@@ -319,7 +324,6 @@ int ITcDegreeOperatorNotEqual(void)
 {
        DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__);
        Application application = Application::New( &gArgc, &gArgv );
-       CHECK_OPEN_GL(SUITE_NAME,__LINE__)
        Degree_TestApp testApp( application, DEGREE_OPERATOR_NOTEQUAL);
        application.MainLoop(); 
     return test_return_value;
@@ -342,7 +346,6 @@ int ITcDegreeCastOperator1(void)
 {
        DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__);
        Application application = Application::New( &gArgc, &gArgv );
-       CHECK_OPEN_GL(SUITE_NAME,__LINE__)
        Degree_TestApp testApp( application, DEGREE_CAST_OPERATOR_1);
        application.MainLoop(); 
     return test_return_value;
@@ -365,7 +368,6 @@ int ITcDegreeCastOperator2(void)
 {
        DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__);
        Application application = Application::New( &gArgc, &gArgv );
-       CHECK_OPEN_GL(SUITE_NAME,__LINE__)
        Degree_TestApp testApp( application, DEGREE_CAST_OPERATOR_2);
        application.MainLoop(); 
     return test_return_value;
@@ -388,7 +390,6 @@ int ITcDegreeOperatorCompare(void)
 {
        DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__);
        Application application = Application::New( &gArgc, &gArgv );
-       CHECK_OPEN_GL(SUITE_NAME,__LINE__)
        Degree_TestApp testApp( application, DEGREE_OPERATOR_COMPARE);
        application.MainLoop(); 
     return test_return_value;
@@ -416,7 +417,6 @@ int ITcDegreeClamp(void)
 {
        DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__);
        Application application = Application::New( &gArgc, &gArgv );
-       CHECK_OPEN_GL(SUITE_NAME,__LINE__)
        Degree_TestApp testApp( application, DEGREE_CLAMP);
        application.MainLoop(); 
     return test_return_value;
index 5f1c68c..4d5b01f 100755 (executable)
@@ -1,5 +1,5 @@
 #include "ITs-render-task-common.h"
-       #include <dali/devel-api/rendering/frame-buffer.h>
+//~ #include <dali/devel-api/rendering/frame-buffer.h>
 
 /** @addtogroup itc-dali-core
 *      @brief Integrated testsuites for module dali-core
@@ -121,6 +121,7 @@ void RenderTaskFinished(RenderTask& renderTask)
 
 void RenderTaskSetGetViewportSize()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        Vector2 vec2NewStageSize( 200.0f, 100.0f );
        g_vec2NewAnimatedSize=Vector2( 100.0f, 50.0f );
 
@@ -180,6 +181,7 @@ void VTRenderTaskSetGetViewportSize003()
 
 void RenderTaskSetGetCullMode()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        bool bSetCullMode = true, bSetDrawMode = true;  
        const float F_WIDTH = 80.0f, F_HEIGHT = 80.0f;
        const unsigned int TEXTURE_ID_OFFSET = 23;
@@ -263,6 +265,7 @@ void RenderTaskSetGetCullMode()
 
 void RenderTaskConstructorAssignmentOperator()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        Stage stage;
        RenderTaskList renderTaskList;
        RenderTask renderTask;
@@ -276,6 +279,7 @@ void RenderTaskConstructorAssignmentOperator()
 
 void RenderTaskDownCast()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        const int TASK_NUMBER = 0;
        Stage stage =  Stage::GetCurrent();
        DALI_CHECK_FAIL(!stage,  "stage is empty.");
@@ -293,6 +297,7 @@ void RenderTaskDownCast()
 }
 void RenderTaskFinishedSignal()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        const int WIDTH = 10 , HEIGHT = 10 ;
        const float F_HEIGHT = 10.0f , F_WIDTH =  10.0f ; 
        const float F_X = 0.0f , F_Y = 0.0f  , F_Z = 0.0f  , F_W = 0.0f ; 
@@ -341,6 +346,7 @@ void VTRenderTaskFinishedSignal001()
 
 void RenderTaskSetGetSourceActor()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        const int WIDTH = 10 , HEIGHT = 120 ;
        Stage stage;
        RenderTaskList renderTaskList;
@@ -369,6 +375,7 @@ void RenderTaskSetGetSourceActor()
 
 void RenderTaskSetGetScreenToFrameBufferMappingActor()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        Stage stage;
        RenderTaskList renderTaskList;
        RenderTask renderTask;
@@ -386,6 +393,7 @@ void RenderTaskSetGetScreenToFrameBufferMappingActor()
 
 void RenderTaskSetGetClearColor()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        const float F_X = 0.0f, F_Y = 0.0f, F_Z = 0.0f, F_W = 0.0f  ;
        Vector4 vec4GetColor, vec4GetColor2;
     Vector4 vec4SetColor(F_X, F_Y, F_Z, F_W);
@@ -406,6 +414,7 @@ void RenderTaskSetGetClearColor()
 
 void RenderTaskSetGetClearEnabled()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        bool bGetClearEnable;
        Stage stage;
        RenderTaskList renderTaskList;
@@ -428,6 +437,7 @@ void RenderTaskSetGetClearEnabled()
 
 void RenderTaskSetGetViewportPosition()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        const float F_X = 25.0f, F_Y = 50.0f;
        Stage stage;
        RenderTaskList renderTaskList;
@@ -447,6 +457,7 @@ void VTRenderTaskSetGetViewportPosition001()
 
 void RenderTaskSetAndGetViewport()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        const float F_X = 0.0f, F_Y = 0.0f, F_WIDTH = 100.0f, F_HEIGHT = 50.0f;    
        Stage stage;
        RenderTaskList renderTaskList;
@@ -470,6 +481,7 @@ void VTRenderTaskSetGetViewport001()
 
 void RenderTaskSetGetTargetFrameBuffer()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        const float F_X = 1.0f , F_Y = 1.0f  , F_Z = 1.0f  , F_W = 0.0f ;   
        Stage stage;
        RenderTaskList renderTaskList;
@@ -518,6 +530,7 @@ void RenderTaskSetGetTargetFrameBuffer()
 
 void RenderTaskSetGetRefreshRate()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        unsigned int U_SET_REFRESH_RATE = 2, U_GET_REFRESH_RATE = 1;
        Stage stage;
        RenderTaskList renderTaskList;
@@ -538,6 +551,7 @@ void RenderTaskSetGetRefreshRate()
 
 void RenderTaskSetGetInputEnable()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        bool bGetInputEnable = true;
        Stage stage;
        RenderTaskList renderTaskList;
@@ -559,6 +573,7 @@ void RenderTaskSetGetInputEnable()
 }
 void RenderTaskSetGetCameraActor()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        Stage stage;
        RenderTaskList renderTaskList;
        RenderTask renderTask;
@@ -580,6 +595,7 @@ void RenderTaskSetGetCameraActor()
 }
 void RenderTaskSetIsExclusive()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        Stage stage;
        RenderTaskList renderTaskList;
        RenderTask renderTask;
@@ -619,6 +635,7 @@ void VTRenderTaskSetIsExclusive001()
 
 void RenderTaskSetGetSetScreenToFrameBufferFunctionWithFullScreen()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        Stage stage =  Stage::GetCurrent();
        DALI_CHECK_FAIL(!stage,  " stage is empty");
     
@@ -636,6 +653,7 @@ void RenderTaskSetGetSetScreenToFrameBufferFunctionWithFullScreen()
 
 void RenderTaskSetGetSetScreenToFrameBufferFunctionWithDefaultScreen()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        Stage stage =  Stage::GetCurrent();
        DALI_CHECK_FAIL(!stage,  " stage is empty");
 
@@ -659,6 +677,7 @@ Actor g_actor;
 float g_actor2Size = 100.f;
 void RenderTaskWorldToViewport()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
 
        g_taskList = Stage::GetCurrent().GetRenderTaskList();
        g_actor = Actor::New();
@@ -703,6 +722,7 @@ void VTRenderTaskWorldToViewport002()
 }
 void RenderTaskViewportToLocal()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        
        g_actor = Actor::New();
        g_actor.SetAnchorPoint(AnchorPoint::TOP_LEFT);
@@ -733,17 +753,18 @@ void VTRenderTaskViewportToLocal001()
 
        DaliLog::PrintPass();
 }
-void RenderTaskSetGetFrameBuffer()
-{
-       
-       RenderTaskList taskList = Stage::GetCurrent().GetRenderTaskList();
-       RenderTask task = taskList.GetTask( 0u );
-       FrameBuffer newFrameBuffer = FrameBuffer::New( 128u, 128u, FrameBuffer::COLOR );
-       task.SetFrameBuffer( newFrameBuffer );
-       DALI_CHECK_FAIL( task.GetFrameBuffer() != newFrameBuffer, "Set and get  frame buffer is failed");
-       
-       DaliLog::PrintPass();
-}
+//~ void RenderTaskSetGetFrameBuffer()
+//~ {
+       //~ OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
+       //~ 
+       //~ RenderTaskList taskList = Stage::GetCurrent().GetRenderTaskList();
+       //~ RenderTask task = taskList.GetTask( 0u );
+       //~ FrameBuffer newFrameBuffer = FrameBuffer::New( 128u, 128u, FrameBuffer::COLOR );
+       //~ task.SetFrameBuffer( newFrameBuffer );
+       //~ DALI_CHECK_FAIL( task.GetFrameBuffer() != newFrameBuffer, "Set and get      frame buffer is failed");
+       //~ 
+       //~ DaliLog::PrintPass();
+//~ }
 /** @} */ // end of itc-render-task-testcases
 /** @} */ // end of itc-render-task
 /** @} */ // end of itc-dali-core
index b3926df..e600590 100755 (executable)
@@ -180,9 +180,9 @@ namespace
                                RenderTaskViewportToLocal();
                                break;
                                
-                               case RENDER_TASK_SETGETFRAMEBUFFER:
-                               RenderTaskSetGetFrameBuffer();
-                               break;
+                               //~ case RENDER_TASK_SETGETFRAMEBUFFER:
+                               //~ RenderTaskSetGetFrameBuffer();
+                               //~ break;
                        }
                }
                void VerdictTest()
@@ -320,7 +320,6 @@ int ITcRenderTaskSetGetViewportSize(void)
 {
        DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__);
        Application application = Application::New( &gArgc, &gArgv );
-       CHECK_OPEN_GL(SUITE_NAME,__LINE__)
        TestApp testApp(application, RENDER_TASK_SETGETVIEWPORTSIZE);
        application.MainLoop(); 
     return test_return_value;
@@ -354,7 +353,6 @@ int ITcRenderTaskSetGetCullMode(void)
 {
        DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__);
        Application application = Application::New( &gArgc, &gArgv );
-       CHECK_OPEN_GL(SUITE_NAME,__LINE__)
        TestApp testApp(application, RENDER_TASK_SETGETCULLMODE);
        application.MainLoop(); 
     return test_return_value;
@@ -380,7 +378,6 @@ int ITcRenderTaskConstructorAssignmentOperator(void)
 {
        DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__);
        Application application = Application::New( &gArgc, &gArgv );
-       CHECK_OPEN_GL(SUITE_NAME,__LINE__)
        TestApp testApp(application, RENDER_TASK_CONSTRUCTORASSIGNMENTOPERATOR);
        application.MainLoop(); 
     return test_return_value;
@@ -407,7 +404,6 @@ int ITcRenderTaskDownCast(void)
 {
        DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__);
        Application application = Application::New( &gArgc, &gArgv );
-       CHECK_OPEN_GL(SUITE_NAME,__LINE__)
        TestApp testApp(application, RENDER_TASK_DOWNCAST);
        application.MainLoop(); 
     return test_return_value;
@@ -442,7 +438,6 @@ int ITcRenderTaskFinishedSignal(void)
 {
        DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__);
        Application application = Application::New( &gArgc, &gArgv );
-       CHECK_OPEN_GL(SUITE_NAME,__LINE__)
        TestApp testApp(application, RENDER_TASK_FINISHEDSIGNAL);
        application.MainLoop(); 
     return test_return_value;
@@ -473,7 +468,6 @@ int ITcRenderTaskSetGetSourceActor(void)
 {
        DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__);
        Application application = Application::New( &gArgc, &gArgv );
-       CHECK_OPEN_GL(SUITE_NAME,__LINE__)
        TestApp testApp(application, RENDER_TASK_SETGETSOURCEACTOR);
        application.MainLoop(); 
     return test_return_value;
@@ -502,7 +496,6 @@ int ITcRenderTaskSetGetScreenToFrameBufferMappingActor(void)
 {
        DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__);
        Application application = Application::New( &gArgc, &gArgv );
-       CHECK_OPEN_GL(SUITE_NAME,__LINE__)
        TestApp testApp(application, RENDER_TASK_SETGETSCREENTOFRAMEBUFFERMAPPINGACTOR);
        application.MainLoop(); 
     return test_return_value;
@@ -531,7 +524,6 @@ int ITcRenderTaskSetGetClearColor(void)
 {
        DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__);
        Application application = Application::New( &gArgc, &gArgv );
-       CHECK_OPEN_GL(SUITE_NAME,__LINE__)
        TestApp testApp(application, RENDER_TASK_SETGETCLEARCOLOR);
        application.MainLoop(); 
     return test_return_value;
@@ -562,7 +554,6 @@ int ITcRenderTaskSetGetClearEnabled(void)
 {
        DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__);
        Application application = Application::New( &gArgc, &gArgv );
-       CHECK_OPEN_GL(SUITE_NAME,__LINE__)
        TestApp testApp(application, RENDER_TASK_SETGETCLEARENABLED);
        application.MainLoop(); 
     return test_return_value;
@@ -591,7 +582,6 @@ int ITcRenderTaskSetGetViewportPosition(void)
 {
        DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__);
        Application application = Application::New( &gArgc, &gArgv );
-       CHECK_OPEN_GL(SUITE_NAME,__LINE__)
        TestApp testApp(application, RENDER_TASK_SETGETVIEWPORTPOSITION);
        application.MainLoop(); 
     return test_return_value;
@@ -621,7 +611,6 @@ int ITcRenderTaskSetAndGetViewport(void)
 {
        DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__);
        Application application = Application::New( &gArgc, &gArgv );
-       CHECK_OPEN_GL(SUITE_NAME,__LINE__)
        TestApp testApp(application, RENDER_TASK_SETGETVIEWPORT);
        application.MainLoop(); 
     return test_return_value;
@@ -651,7 +640,6 @@ int ITcRenderTaskSetGetTargetFrameBuffer(void)
 {
        DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__);
        Application application = Application::New( &gArgc, &gArgv );
-       CHECK_OPEN_GL(SUITE_NAME,__LINE__)
        TestApp testApp(application, RENDER_TASK_SETGETTARGETFRAMEBUFFER);
        application.MainLoop(); 
     return test_return_value;
@@ -682,7 +670,6 @@ int ITcRenderTaskSetGetRefreshRate(void)
 {
        DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__);
        Application application = Application::New( &gArgc, &gArgv );
-       CHECK_OPEN_GL(SUITE_NAME,__LINE__)
        TestApp testApp(application, RENDER_TASK_SETGETREFRESHRATE);
        application.MainLoop(); 
     return test_return_value;
@@ -712,7 +699,6 @@ int ITcRenderTaskSetGetInputEnable(void)
 {
        DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__);
        Application application = Application::New( &gArgc, &gArgv );
-       CHECK_OPEN_GL(SUITE_NAME,__LINE__)
        TestApp testApp(application, RENDER_TASK_SETGETINPUTENABLE);
        application.MainLoop(); 
     return test_return_value;
@@ -743,7 +729,6 @@ int ITcRenderTaskSetGetCameraActor(void)
 {
        DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__);
        Application application = Application::New( &gArgc, &gArgv );
-       CHECK_OPEN_GL(SUITE_NAME,__LINE__)
        TestApp testApp(application, RENDER_TASK_SETGETCAMERAACTOR);
        application.MainLoop(); 
     return test_return_value;
@@ -775,7 +760,6 @@ int ITcRenderTaskSetIsExclusive(void)
 {
        DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__);
        Application application = Application::New( &gArgc, &gArgv );
-       CHECK_OPEN_GL(SUITE_NAME,__LINE__)
        TestApp testApp(application, RENDER_TASK_SETISEXCLUSIVE);
        application.MainLoop(); 
     return test_return_value;
@@ -804,7 +788,6 @@ int ITcRenderTaskSetGetSetScreenToFrameBufferFunctionWithFullScreen(void)
 {
        DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__);
        Application application = Application::New( &gArgc, &gArgv );
-       CHECK_OPEN_GL(SUITE_NAME,__LINE__)
        TestApp testApp(application, RENDER_TASK_SETGETSETSCREENTOFRAMEBUFFERFUNCTIONWITHFULLSCREEN);
        application.MainLoop(); 
     return test_return_value;
@@ -834,7 +817,6 @@ int ITcRenderTaskSetGetSetScreenToFrameBufferFunctionWithDefaultScreen(void)
 {
        DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__);
        Application application = Application::New( &gArgc, &gArgv );
-       CHECK_OPEN_GL(SUITE_NAME,__LINE__)
        TestApp testApp(application, RENDER_TASK_SETGETSETSCREENTOFRAMEBUFFERFUNCTIONWITHDEFAULTSCREEN);
        application.MainLoop(); 
        return test_return_value;
@@ -867,7 +849,6 @@ int ITcRenderTaskWorldtoViewport(void)
 {
        DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__);
        Application application = Application::New( &gArgc, &gArgv );
-       CHECK_OPEN_GL(SUITE_NAME,__LINE__)
        TestApp testApp(application, RENDER_TASK_WORLDTOVIEWPORT);
        application.MainLoop();
        return test_return_value;
@@ -901,41 +882,39 @@ int ITcRenderTaskViewportToLocal(void)
 {
        DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__);
        Application application = Application::New( &gArgc, &gArgv );
-       CHECK_OPEN_GL(SUITE_NAME,__LINE__)
        TestApp testApp(application, RENDER_TASK_VIEWPORTTOLOCAL);
        application.MainLoop();
        return test_return_value;
 }
 
 
-//& purpose: Checks whether SetFrameBuffer and GetFrameBuffer api works properly
-//& type: auto
-
-/**
-* @testcase        ITcRenderTaskSetGetFrameBuffer
-* @since_tizen     3.0
-* @type                                Positive
-* @description         Checks whether SetFrameBuffer and GetFrameBuffer api works properly
-* @scenario                    Get renderTaskList from  current stage \n
-*                                  Create a RenderTask \n
-*                                  Create a framebuffer with COLOR\n
-*                                  Set framebuffer to render task \n
-*                                  Get framebuffer and check with setted one.
-* @apicovered          GetRenderTaskList(), SetFrameBuffer( FrameBuffer frameBuffer ), GetFrameBuffer()
-* @passcase                    If Checks whether SetFrameBuffer and GetFrameBuffer api works properly
-* @failcase                    If Checks whether SetFrameBuffer and GetFrameBuffer api not work properly
-* @precondition                NA
-* @postcondition       NA
-*/
-int ITcRenderTaskSetGetFrameBuffer(void)
-{
-       DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__);
-       Application application = Application::New( &gArgc, &gArgv );
-       CHECK_OPEN_GL(SUITE_NAME,__LINE__)
-       TestApp testApp(application, RENDER_TASK_SETGETFRAMEBUFFER);
-       application.MainLoop(); 
-    return test_return_value;
-}
+//~ //& purpose: Checks whether SetFrameBuffer and GetFrameBuffer api works properly
+//~ //& type: auto
+
+//~ /**
+//~ * @testcase            ITcRenderTaskSetGetFrameBuffer
+//~ * @since_tizen         3.0
+//~ * @type                            Positive
+//~ * @description             Checks whether SetFrameBuffer and GetFrameBuffer api works properly
+//~ * @scenario                        Get renderTaskList from  current stage \n
+//~ *                              Create a RenderTask \n
+//~ *                              Create a framebuffer with COLOR\n
+//~ *                              Set framebuffer to render task \n
+//~ *                              Get framebuffer and check with setted one.
+//~ * @apicovered              GetRenderTaskList(), SetFrameBuffer( FrameBuffer frameBuffer ), GetFrameBuffer()
+//~ * @passcase                        If Checks whether SetFrameBuffer and GetFrameBuffer api works properly
+//~ * @failcase                        If Checks whether SetFrameBuffer and GetFrameBuffer api not work properly
+//~ * @precondition            NA
+//~ * @postcondition   NA
+//~ */
+//~ int ITcRenderTaskSetGetFrameBuffer(void)
+//~ {
+       //~ DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__);
+       //~ Application application = Application::New( &gArgc, &gArgv );
+       //~ TestApp testApp(application, RENDER_TASK_SETGETFRAMEBUFFER);
+       //~ application.MainLoop();     
+    //~ return test_return_value;
+//~ }
 
 
 /** @} */ // end of itc-render-task-testcases
index fee5018..121d4f2 100755 (executable)
@@ -796,7 +796,7 @@ extern int ITcRenderTaskSetGetSetScreenToFrameBufferFunctionWithFullScreen(void)
 extern int ITcRenderTaskSetGetSetScreenToFrameBufferFunctionWithDefaultScreen(void);
 extern int ITcRenderTaskWorldtoViewport(void);
 extern int ITcRenderTaskViewportToLocal(void);
-extern int ITcRenderTaskSetGetFrameBuffer(void);
+//~ extern int ITcRenderTaskSetGetFrameBuffer(void);
 extern int ITcResourceImageGetImageSize(void);
 extern int ITcResourceImageReload(void);
 extern int ITcResourceImageDownCast(void);
@@ -1616,7 +1616,7 @@ testcase tc_array[] = {
        {"ITcRenderTaskSetGetSetScreenToFrameBufferFunctionWithDefaultScreen", ITcRenderTaskSetGetSetScreenToFrameBufferFunctionWithDefaultScreen, ITs_rendertask_startup, ITs_rendertask_cleanup},
        {"ITcRenderTaskWorldtoViewport", ITcRenderTaskWorldtoViewport, ITs_rendertask_startup, ITs_rendertask_cleanup},
        {"ITcRenderTaskViewportToLocal", ITcRenderTaskViewportToLocal, ITs_rendertask_startup, ITs_rendertask_cleanup},
-       {"ITcRenderTaskSetGetFrameBuffer", ITcRenderTaskSetGetFrameBuffer, ITs_rendertask_startup, ITs_rendertask_cleanup},
+       //~ {"ITcRenderTaskSetGetFrameBuffer", ITcRenderTaskSetGetFrameBuffer, ITs_rendertask_startup, ITs_rendertask_cleanup},
        {"ITcResourceImageGetImageSize", ITcResourceImageGetImageSize, ITs_resource_image_startup, ITs_resource_image_cleanup},
        {"ITcResourceImageReload", ITcResourceImageReload, ITs_resource_image_startup, ITs_resource_image_cleanup},
        {"ITcResourceImageDownCast", ITcResourceImageDownCast, ITs_resource_image_startup, ITs_resource_image_cleanup},
index fee5018..121d4f2 100755 (executable)
@@ -796,7 +796,7 @@ extern int ITcRenderTaskSetGetSetScreenToFrameBufferFunctionWithFullScreen(void)
 extern int ITcRenderTaskSetGetSetScreenToFrameBufferFunctionWithDefaultScreen(void);
 extern int ITcRenderTaskWorldtoViewport(void);
 extern int ITcRenderTaskViewportToLocal(void);
-extern int ITcRenderTaskSetGetFrameBuffer(void);
+//~ extern int ITcRenderTaskSetGetFrameBuffer(void);
 extern int ITcResourceImageGetImageSize(void);
 extern int ITcResourceImageReload(void);
 extern int ITcResourceImageDownCast(void);
@@ -1616,7 +1616,7 @@ testcase tc_array[] = {
        {"ITcRenderTaskSetGetSetScreenToFrameBufferFunctionWithDefaultScreen", ITcRenderTaskSetGetSetScreenToFrameBufferFunctionWithDefaultScreen, ITs_rendertask_startup, ITs_rendertask_cleanup},
        {"ITcRenderTaskWorldtoViewport", ITcRenderTaskWorldtoViewport, ITs_rendertask_startup, ITs_rendertask_cleanup},
        {"ITcRenderTaskViewportToLocal", ITcRenderTaskViewportToLocal, ITs_rendertask_startup, ITs_rendertask_cleanup},
-       {"ITcRenderTaskSetGetFrameBuffer", ITcRenderTaskSetGetFrameBuffer, ITs_rendertask_startup, ITs_rendertask_cleanup},
+       //~ {"ITcRenderTaskSetGetFrameBuffer", ITcRenderTaskSetGetFrameBuffer, ITs_rendertask_startup, ITs_rendertask_cleanup},
        {"ITcResourceImageGetImageSize", ITcResourceImageGetImageSize, ITs_resource_image_startup, ITs_resource_image_cleanup},
        {"ITcResourceImageReload", ITcResourceImageReload, ITs_resource_image_startup, ITs_resource_image_cleanup},
        {"ITcResourceImageDownCast", ITcResourceImageDownCast, ITs_resource_image_startup, ITs_resource_image_cleanup},
index fee5018..121d4f2 100755 (executable)
@@ -796,7 +796,7 @@ extern int ITcRenderTaskSetGetSetScreenToFrameBufferFunctionWithFullScreen(void)
 extern int ITcRenderTaskSetGetSetScreenToFrameBufferFunctionWithDefaultScreen(void);
 extern int ITcRenderTaskWorldtoViewport(void);
 extern int ITcRenderTaskViewportToLocal(void);
-extern int ITcRenderTaskSetGetFrameBuffer(void);
+//~ extern int ITcRenderTaskSetGetFrameBuffer(void);
 extern int ITcResourceImageGetImageSize(void);
 extern int ITcResourceImageReload(void);
 extern int ITcResourceImageDownCast(void);
@@ -1616,7 +1616,7 @@ testcase tc_array[] = {
        {"ITcRenderTaskSetGetSetScreenToFrameBufferFunctionWithDefaultScreen", ITcRenderTaskSetGetSetScreenToFrameBufferFunctionWithDefaultScreen, ITs_rendertask_startup, ITs_rendertask_cleanup},
        {"ITcRenderTaskWorldtoViewport", ITcRenderTaskWorldtoViewport, ITs_rendertask_startup, ITs_rendertask_cleanup},
        {"ITcRenderTaskViewportToLocal", ITcRenderTaskViewportToLocal, ITs_rendertask_startup, ITs_rendertask_cleanup},
-       {"ITcRenderTaskSetGetFrameBuffer", ITcRenderTaskSetGetFrameBuffer, ITs_rendertask_startup, ITs_rendertask_cleanup},
+       //~ {"ITcRenderTaskSetGetFrameBuffer", ITcRenderTaskSetGetFrameBuffer, ITs_rendertask_startup, ITs_rendertask_cleanup},
        {"ITcResourceImageGetImageSize", ITcResourceImageGetImageSize, ITs_resource_image_startup, ITs_resource_image_cleanup},
        {"ITcResourceImageReload", ITcResourceImageReload, ITs_resource_image_startup, ITs_resource_image_cleanup},
        {"ITcResourceImageDownCast", ITcResourceImageDownCast, ITs_resource_image_startup, ITs_resource_image_cleanup},
index fee5018..121d4f2 100755 (executable)
@@ -796,7 +796,7 @@ extern int ITcRenderTaskSetGetSetScreenToFrameBufferFunctionWithFullScreen(void)
 extern int ITcRenderTaskSetGetSetScreenToFrameBufferFunctionWithDefaultScreen(void);
 extern int ITcRenderTaskWorldtoViewport(void);
 extern int ITcRenderTaskViewportToLocal(void);
-extern int ITcRenderTaskSetGetFrameBuffer(void);
+//~ extern int ITcRenderTaskSetGetFrameBuffer(void);
 extern int ITcResourceImageGetImageSize(void);
 extern int ITcResourceImageReload(void);
 extern int ITcResourceImageDownCast(void);
@@ -1616,7 +1616,7 @@ testcase tc_array[] = {
        {"ITcRenderTaskSetGetSetScreenToFrameBufferFunctionWithDefaultScreen", ITcRenderTaskSetGetSetScreenToFrameBufferFunctionWithDefaultScreen, ITs_rendertask_startup, ITs_rendertask_cleanup},
        {"ITcRenderTaskWorldtoViewport", ITcRenderTaskWorldtoViewport, ITs_rendertask_startup, ITs_rendertask_cleanup},
        {"ITcRenderTaskViewportToLocal", ITcRenderTaskViewportToLocal, ITs_rendertask_startup, ITs_rendertask_cleanup},
-       {"ITcRenderTaskSetGetFrameBuffer", ITcRenderTaskSetGetFrameBuffer, ITs_rendertask_startup, ITs_rendertask_cleanup},
+       //~ {"ITcRenderTaskSetGetFrameBuffer", ITcRenderTaskSetGetFrameBuffer, ITs_rendertask_startup, ITs_rendertask_cleanup},
        {"ITcResourceImageGetImageSize", ITcResourceImageGetImageSize, ITs_resource_image_startup, ITs_resource_image_cleanup},
        {"ITcResourceImageReload", ITcResourceImageReload, ITs_resource_image_startup, ITs_resource_image_cleanup},
        {"ITcResourceImageDownCast", ITcResourceImageDownCast, ITs_resource_image_startup, ITs_resource_image_cleanup},
index d04aee6..625b662 100755 (executable)
@@ -5,12 +5,12 @@
 #include <iostream>
 #include <stdlib.h>
 #include <limits>
-#include <dali/integration-api/events/long-press-gesture-event.h>
-#include <dali/integration-api/events/pan-gesture-event.h>
-#include <dali/integration-api/events/pinch-gesture-event.h>
-#include <dali/integration-api/events/tap-gesture-event.h>
-#include <dali/integration-api/events/touch-event-integ.h>
-#include <dali/integration-api/events/hover-event-integ.h>
+//~ #include <dali/integration-api/events/long-press-gesture-event.h>
+//~ #include <dali/integration-api/events/pan-gesture-event.h>
+//~ #include <dali/integration-api/events/pinch-gesture-event.h>
+//~ #include <dali/integration-api/events/tap-gesture-event.h>
+//~ #include <dali/integration-api/events/touch-event-integ.h>
+//~ #include <dali/integration-api/events/hover-event-integ.h>
 
 using namespace std;
 using namespace Dali;
index 563d25c..d2d2238 100755 (executable)
@@ -87,70 +87,70 @@ struct GestureReceivedFunctor
 
   SignalData& signalData;
 };
-
-// Generate a LongPressGestureEvent to send to Core
-Integration::LongPressGestureEvent GenerateLongPress(
-    Gesture::State state,
-    unsigned int numberOfTouches,
-    Vector2 point)
-{
-  Integration::LongPressGestureEvent longPress( state );
-
-  longPress.numberOfTouches = numberOfTouches;
-  longPress.point = point;
-
-  return longPress;
-}
-
-// Generate a PanGestureEvent to send to Core
-Integration::PanGestureEvent GeneratePan(
-    Gesture::State state,
-    Vector2 previousPosition,
-    Vector2 currentPosition,
-    unsigned long timeDelta,
-    unsigned int numberOfTouches = 1,
-    unsigned int time = 1u)
-{
-  Integration::PanGestureEvent pan(state);
-
-  pan.previousPosition = previousPosition;
-  pan.currentPosition = currentPosition;
-  pan.timeDelta = timeDelta;
-  pan.numberOfTouches = numberOfTouches;
-  pan.time = time;
-
-  return pan;
-}
-// Generate a PinchGestureEvent to send to Core
-Integration::PinchGestureEvent GeneratePinch(
-    Gesture::State state,
-    float scale,
-    float speed,
-    Vector2 centerpoint)
-{
-  Integration::PinchGestureEvent pinch(state);
-
-  pinch.scale = scale;
-  pinch.speed = speed;
-  pinch.centerPoint = centerpoint;
-
-  return pinch;
-}
-// Generate a TapGestureEvent to send to Core
-Integration::TapGestureEvent GenerateTap(
-    Gesture::State state,
-    unsigned int numberOfTaps,
-    unsigned int numberOfTouches,
-    Vector2 point)
-{
-  Integration::TapGestureEvent tap( state );
-
-  tap.numberOfTaps = numberOfTaps;
-  tap.numberOfTouches = numberOfTouches;
-  tap.point = point;
-
-  return tap;
-}
+//~ 
+//~ // Generate a LongPressGestureEvent to send to Core
+//~ Integration::LongPressGestureEvent GenerateLongPress(
+    //~ Gesture::State state,
+    //~ unsigned int numberOfTouches,
+    //~ Vector2 point)
+//~ {
+  //~ Integration::LongPressGestureEvent longPress( state );
+//~ 
+  //~ longPress.numberOfTouches = numberOfTouches;
+  //~ longPress.point = point;
+//~ 
+  //~ return longPress;
+//~ }
+//~ 
+//~ // Generate a PanGestureEvent to send to Core
+//~ Integration::PanGestureEvent GeneratePan(
+    //~ Gesture::State state,
+    //~ Vector2 previousPosition,
+    //~ Vector2 currentPosition,
+    //~ unsigned long timeDelta,
+    //~ unsigned int numberOfTouches = 1,
+    //~ unsigned int time = 1u)
+//~ {
+  //~ Integration::PanGestureEvent pan(state);
+//~ 
+  //~ pan.previousPosition = previousPosition;
+  //~ pan.currentPosition = currentPosition;
+  //~ pan.timeDelta = timeDelta;
+  //~ pan.numberOfTouches = numberOfTouches;
+  //~ pan.time = time;
+//~ 
+  //~ return pan;
+//~ }
+//~ // Generate a PinchGestureEvent to send to Core
+//~ Integration::PinchGestureEvent GeneratePinch(
+    //~ Gesture::State state,
+    //~ float scale,
+    //~ float speed,
+    //~ Vector2 centerpoint)
+//~ {
+//~ Integration::PinchGestureEvent pinch(state);
+//~ 
+  //~ pinch.scale = scale;
+  //~ pinch.speed = speed;
+  //~ pinch.centerPoint = centerpoint;
+//~ 
+  //~ return pinch;
+//~ }
+//~ // Generate a TapGestureEvent to send to Core
+//~ Integration::TapGestureEvent GenerateTap(
+    //~ Gesture::State state,
+    //~ unsigned int numberOfTaps,
+    //~ unsigned int numberOfTouches,
+    //~ Vector2 point)
+//~ {
+  //~ Integration::TapGestureEvent tap( state );
+//~ 
+  //~ tap.numberOfTaps = numberOfTaps;
+  //~ tap.numberOfTouches = numberOfTouches;
+  //~ tap.point = point;
+//~ 
+  //~ return tap;
+//~ }
 
 //
 // Create function as Init function called
@@ -593,6 +593,7 @@ namespace
 
 void TypeRegistryGetTypeNames()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        TypeInfo typeInfo;
        
        TypeRegistry typeRegistry = TypeRegistry::Get(); 
@@ -609,6 +610,7 @@ void TypeRegistryGetTypeNames()
 
 void TypeRegistryCopyAssign()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        TypeRegistry typeRegistry;
        const string STR_TYPE_NAME = "Actor";
 
@@ -630,6 +632,7 @@ void TypeRegistryCopyAssign()
 
 void TypeRegistryChildPropertyRegistration()
 {
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
        TypeRegistry typeRegistry = TypeRegistry::Get();
 
        TypeInfo typeInfo = typeRegistry.GetTypeInfo( typeid(TestCustomActorForTypeRegistry) );
@@ -790,7 +793,6 @@ int ITcTypeRegistryGetTypeNames(void)
 {      
        DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__);
        Application application = Application::New( &gArgc, &gArgv );
-       CHECK_OPEN_GL(SUITE_NAME,__LINE__)
        Type_Registry_TestApp testApp( application, TYPE_REGISTRY_GET_TYPE_NAMES);
        application.MainLoop(); 
     return test_return_value;
@@ -819,7 +821,6 @@ int ITcTypeRegistryCopyAssign(void)
 {
        DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__);
        Application application = Application::New( &gArgc, &gArgv );
-       CHECK_OPEN_GL(SUITE_NAME,__LINE__)
        Type_Registry_TestApp testApp( application, TYPE_REGISTRY_COPY_ASSIGN);
        application.MainLoop(); 
     return test_return_value;
@@ -844,7 +845,6 @@ int ITcTypeRegistryChildPropertyRegistration(void)
 {
        DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__);
        Application application = Application::New( &gArgc, &gArgv );
-       CHECK_OPEN_GL(SUITE_NAME,__LINE__)
        Type_Registry_TestApp testApp( application, TYPE_REGISTRY_CHIELD_PROPERTY_REGISTRATION);
        application.MainLoop(); 
     return test_return_value;
index 919efdc..b7418ac 100755 (executable)
@@ -4,7 +4,7 @@
 
 #include <exception>
 #include "dali-common.h"
-#include <dali/integration-api/events/touch-event-integ.h>
+//~ #include <dali/integration-api/events/touch-event-integ.h>
 #include <dali/dali.h>
 #include <dali-toolkit/dali-toolkit.h>