[ITC][dali-core][ACR-687][Added TC according to ACR]
authorJahangir <ja.alam@samsung.com>
Thu, 30 Jun 2016 17:19:46 +0000 (13:19 -0400)
committerJihun Park <jihun87.park@samsung.com>
Thu, 30 Jun 2016 08:04:18 +0000 (01:04 -0700)
Change-Id: I47a988f522d05499376bf333ae6a6560958d3390

src/itc/dali-core/property-map/ITs-property-map.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

index 0b385c5..a40b942 100755 (executable)
@@ -36,6 +36,16 @@ void PropertyMapConstAssignment();
 void PropertyMapGetKeyValuePair();
 void PropertyMapMerge();
 void PropertyMapOutstramOperator();
+void PropertyMapFind();
+
+void PropertyMapInsert();
+void PropertyMapInsert_1();
+void PropertyMapInsert_2();
+void PropertyMapInsert_3();
+
+void PropertyMapSquareOperator();
+void PropertyMapSquareOperator_1();
+void PropertyMapSquareOperator_2();
 
 namespace
 {
@@ -44,7 +54,10 @@ namespace
                PROPERTY_MAP_CONST_ASSIGNMENT,
                PROPERTY_MAP_GET_KEY_VALUE_PAIR,
                PROPERTY_MAP_MERGE,
-               PROPERTY_MAP_OUTSTREAM_OPERATOR
+               PROPERTY_MAP_OUTSTREAM_OPERATOR,
+               PROPERTY_MAP_FIND,
+               PROPERTY_MAP_INSERT,
+               PROPERTY_MAP_SQUARE_OPERATOR
        };
 
        struct Property_Map_TestApp : public ConnectionTracker
@@ -90,6 +103,18 @@ namespace
                          case PROPERTY_MAP_OUTSTREAM_OPERATOR:
                          PropertyMapOutstramOperator();
                          break;
+                         
+                         case PROPERTY_MAP_FIND:
+                         PropertyMapFind();
+                         break;
+                         
+                         case PROPERTY_MAP_INSERT:
+                         PropertyMapInsert();
+                         break;
+                         
+                         case PROPERTY_MAP_SQUARE_OPERATOR:
+                         PropertyMapSquareOperator();
+                         break;
                  }
          }
                // Data
@@ -233,6 +258,216 @@ void PropertyMapOutstramOperator()
        DaliLog::PrintPass();
 }
 
+bool getValueWithType(Property::Map propMap, Property::Index index, Vector< Property::Type > types)
+{
+       Dali::Property::Value *valueFindWithType;
+       Dali::Vector< Property::Type >::Iterator it;
+       for (it = types.Begin () ; it != types.End(); ++it)
+       {
+               valueFindWithType = propMap.Find(index,*it);
+               if(valueFindWithType != NULL)
+               {
+                       return true;
+               }
+       }
+       return false;
+}
+
+void PropertyMapFind()
+{
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
+       string propstring = "DALi";
+       Property::Index index = 1;
+       Property::Map propMap;
+       propMap.Insert(index,propstring);
+       Dali::Property::Value *valueFindWithoutType, *valueFindWithType;
+       valueFindWithoutType = propMap.Find(index);
+       DALI_CHECK_FAIL( valueFindWithoutType->Get<string>() != propstring, "Property map find is failed");     
+       DALI_CHECK_FAIL( propMap[index].Get<string>() != propstring, "Property map Operator[] is failed");
+       Vector< Property::Type > types;
+       
+       types.PushBack(Property::NONE);
+       types.PushBack(Property::BOOLEAN);
+       types.PushBack(Property::FLOAT);
+       types.PushBack(Property::INTEGER);
+       types.PushBack(Property::VECTOR2);
+       types.PushBack(Property::VECTOR3);
+       types.PushBack(Property::VECTOR4);
+       types.PushBack(Property::MATRIX3);
+       types.PushBack(Property::MATRIX);
+       types.PushBack(Property::RECTANGLE);
+       types.PushBack(Property::ROTATION);
+       types.PushBack(Property::ARRAY);
+       types.PushBack(Property::MAP);
+       
+       if(getValueWithType(propMap, index, types))
+       {
+               DALI_CHECK_FAIL( true, "Property map find with type is failed");
+       }
+       valueFindWithType = propMap.Find(1,Property::STRING );
+       DALI_CHECK_FAIL( !valueFindWithType, "Property map find with type is failed");
+       DaliLog::PrintPass();
+}
+
+void PropertyMapInsert()
+{
+       OPEN_GL_FREATURE_CHECK(SUITE_NAME,__LINE__)
+       const string strMapFirst = "hello";
+       const string strMapTwo = "world";
+       const string strMapThree = "Tizen";
+
+       const int nSetValueOne = 1 ,nSetValueTwo = 2  , nSetValueThree = 3 ;
+
+       Property::Map propMap;
+       DALI_CHECK_FAIL(!propMap.Empty(), "property is not empty which is not expected");
+
+       unsigned int uCountReal = propMap.Count();
+       DALI_CHECK_FAIL( uCountReal != 0 , "property count should be 0 but it is not match with expected"); //Should only have zero items !!
+
+       propMap.Insert(strMapFirst, nSetValueOne);
+       Property::Value* valueGet = propMap.Find( strMapFirst );
+       DALI_CHECK_FAIL( valueGet->Get<int>() != nSetValueOne ," Find is not working properly while returning reference of the key");
+
+       propMap.Insert(strMapTwo, nSetValueTwo);
+       valueGet = propMap.Find( strMapTwo );
+       DALI_CHECK_FAIL( valueGet->Get<int>() != nSetValueTwo ," Find is not working properly while returning reference of the key");
+
+       propMap.Insert(strMapThree, nSetValueThree);
+       valueGet = propMap.Find( strMapThree );
+       DALI_CHECK_FAIL( valueGet->Get<int>() != nSetValueThree ," Find is not working properly while returning reference of the key");
+
+       PropertyMapInsert_1();
+}
+void PropertyMapInsert_1()
+{
+       const string strMapFirst = "hello";
+       const string strMapTwo = "world";
+       const int nSetValueOne = 1 ,nSetValueTwo = 2;
+
+       Property::Map propMap;
+
+       propMap.Insert(strMapFirst, nSetValueOne);
+       DALI_CHECK_FAIL( 1 != propMap.Count() ," Only one item should be in Map");
+
+       propMap.Insert(std::string(strMapTwo), nSetValueTwo);
+       DALI_CHECK_FAIL( 2 != propMap.Count() ," Only two items should be in Map");
+
+       PropertyMapInsert_2();
+}
+void PropertyMapInsert_2()
+{
+       const Property::Index indexMapFirst = 10;
+       const Property::Index indexMapTwo = 20;
+       const Property::Index indexMapThree = 30;
+
+       const int nSetValueOne = 1 ,nSetValueTwo = 2  , nSetValueThree = 3 ;
+
+       Property::Map propMap;
+       DALI_CHECK_FAIL(!propMap.Empty(), "property is not empty which is not expected");
+
+       unsigned int uCountReal = propMap.Count();
+       DALI_CHECK_FAIL( uCountReal != 0 , "property count should be 0 but it is not match with expected"); //Should only have zero items !!
+
+       propMap.Insert(indexMapFirst, nSetValueOne);
+       Property::Value* valueGet = propMap.Find( indexMapFirst );
+       DALI_CHECK_FAIL( valueGet->Get<int>() != nSetValueOne ," Find is not working properly while returning reference of the key");
+
+       propMap.Insert(indexMapTwo, nSetValueTwo);
+       valueGet = propMap.Find( indexMapTwo );
+       DALI_CHECK_FAIL( valueGet->Get<int>() != nSetValueTwo ," Find is not working properly while returning reference of the key");
+
+       propMap.Insert(indexMapThree, nSetValueThree);
+       valueGet = propMap.Find( indexMapThree );
+       DALI_CHECK_FAIL( valueGet->Get<int>() != nSetValueThree ," Find is not working properly while returning reference of the key");
+
+       PropertyMapInsert_3();
+}
+void PropertyMapInsert_3()
+{
+       const Property::Index indexMapFirst = 10;
+       const Property::Index indexMapTwo = 11;
+       const int nSetValueOne = 1 ,nSetValueTwo = 2;
+
+       Property::Map propMap;
+
+       propMap.Insert(indexMapFirst, nSetValueOne);
+       DALI_CHECK_FAIL( 1 != propMap.Count() ," Only one item should be in Map");
+
+       propMap.Insert(indexMapTwo, nSetValueTwo);
+       DALI_CHECK_FAIL( 2 != propMap.Count() ," Only two items should be in Map");
+
+       DaliLog::PrintPass();
+}
+
+void PropertyMapSquareOperator()
+{
+       const Property::Index indexMapFirst = 10;
+       const Property::Index indexMapTwo = 20;
+       const Property::Index indexMapThree = 30;
+
+       const int nSetValueOne = 1 ,nSetValueTwo = 2  , nSetValueThree = 3 ;
+
+       Property::Map propMap;
+       DALI_CHECK_FAIL(!propMap.Empty(), "property is not empty which is not expected");
+
+       unsigned int uCountReal = propMap.Count();
+       DALI_CHECK_FAIL( uCountReal != 0 , "property count should be 0 but it is not match with expected"); //Should only have zero items !!
+
+       propMap[indexMapFirst] = nSetValueOne;
+       Property::Value* valueGet = propMap.Find( indexMapFirst );
+       DALI_CHECK_FAIL( valueGet->Get<int>() != nSetValueOne ," Square operator is setting the wrong value");
+
+       propMap[indexMapTwo] = nSetValueTwo;
+       valueGet = propMap.Find( indexMapTwo );
+       DALI_CHECK_FAIL( valueGet->Get<int>() != nSetValueTwo ," Square operator is setting the wrong value");
+
+       propMap[indexMapThree] = nSetValueThree;
+       valueGet = propMap.Find( indexMapThree );
+       DALI_CHECK_FAIL( valueGet->Get<int>() != nSetValueThree ," Square operator is setting the wrong value");
+
+       PropertyMapSquareOperator_1();
+}
+void PropertyMapSquareOperator_1()
+{
+       const Property::Index indexMapFirst = 10;
+       const int nSetValueOne = 1;
+
+       Property::Map propMap;
+       DALI_CHECK_FAIL(!propMap.Empty(), "property is not empty which is not expected");
+
+       unsigned int uCountReal = propMap.Count();
+       DALI_CHECK_FAIL( uCountReal != 0 , "property count should be 0 but it is not match with expected"); //Should only have zero items !!
+
+       propMap[indexMapFirst] = nSetValueOne;
+       Property::Value* valueGet = propMap.Find( indexMapFirst );
+
+       const Property::Map& constPropMap = propMap;
+       DALI_CHECK_FAIL( constPropMap[indexMapFirst].Get<int>() != nSetValueOne, "Square operator is retrieving the wrong value" );
+
+       PropertyMapSquareOperator_2();
+}
+void PropertyMapSquareOperator_2()
+{
+       Property::Map pMap;
+       DALI_CHECK_FAIL(!pMap.Empty(), "property is not empty which is not expected");
+
+       unsigned int uCountReal = pMap.Count();
+       DALI_CHECK_FAIL( uCountReal != 0 , "property count should be 0 but it is not match with expected");
+       
+       const Property::Map& constPropMap = pMap;
+       try
+       {
+               test_return_value=1;
+               Property::Value value = constPropMap[200];//throw out of rang exception
+       }
+       catch (Dali::DaliException& e)
+       {
+               test_return_value=0;
+       }
+
+       DaliLog::PrintPass();
+}
+
  /**
  * End of TC Logic Implementation Area.
  **/
@@ -357,6 +592,100 @@ int ITcPropertyMapOutputstreamOperator(void)
        return test_return_value;
 }
 
+
+//& purpose: Check if Insert and Find api working properly or not
+//& type: auto
+/**
+* @testcase                            ITcPropertyMaFind
+* @since_tizen                         3.0
+* @type                                        Positive
+* @description                         Check if Insert and Find api working properly or not
+* @scenario                                    Create an property map \n
+*                                                      Insert a value into the map \n
+*                                                      Check find vlaue with index \n
+*                                                      Check find vlaue with Operator[] with index \n
+*                                                      Check find vlaue with index and property type \n
+*                                                      Merge the second map into the first map\n
+*                                                      Check that Merge executed properly\n
+* @apicovered                      Insert(Property::Index, const Value&), Find(Property::Index), Find(Property::Index, 
+*                                                      Property::Type), Operator[]
+* @passcase                            If all conditions passes properly
+* @failcase                            if any condition fail to match its expected value
+* @precondition                        NA
+* @postcondition                       NA
+*/
+
+int ITcPropertyMapFind(void)
+{
+       DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__);
+       Application application = Application::New( &gArgc, &gArgv );
+       Property_Map_TestApp testApp( application, PROPERTY_MAP_FIND);
+       application.MainLoop(); 
+    return test_return_value;
+}
+
+//& purpose: To check if Insert and Find api working properly or not
+//& type: auto
+/**
+* @testcase                            ITcPropertyMaFind
+* @since_tizen                         3.0
+* @type                                        Positive
+* @description                         Check if Insert and Find api working properly or not
+* @scenario                                    Create an property map \n
+*                                                      Insert a value into the map \n
+*                                                      Check find vlaue with index \n
+*                                                      Check find vlaue with Operator[] with index \n
+*                                                      Check find vlaue with index and property type \n
+*                                                      Merge the second map into the first map\n
+*                                                      Check that Merge executed properly\n
+* @apicovered                      Insert(Property::Index, const Value&), Find(Property::Index), Find(Property::Index, 
+*                                                      Property::Type), Operator[]
+* @passcase                            If all conditions passes properly
+* @failcase                            if any condition fail to match its expected value
+* @precondition                        NA
+* @postcondition                       NA
+*/
+int ITcPropertyMapInsert(void)
+{
+       DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__);
+       Application application = Application::New( &gArgc, &gArgv );
+       Property_Map_TestApp testApp( application, PROPERTY_MAP_INSERT);
+       application.MainLoop();
+       return test_return_value;
+}
+
+/**
+ * @testcase                           ITcPropertyMapSquareOperator
+ * @since_tizen                                3.0
+ * @description                                Check if the square operator works
+ */
+//& purpose: To check square operator work properly
+//& type: auto
+/**
+* @testcase                            ITcPropertyMapSquareOperator
+* @since_tizen                         3.0
+* @type                                        Positive
+* @description                         To check square operator work properly
+* @scenario                                    Create an property map \n
+*                                                      Insert a value into the map \n
+*                                                      Check find vlaue with index \n
+*                                                      Check find vlaue with Operator[] with index
+* @apicovered                      Insert(Property::Index, const Value&), Find(Property::Index), Find(Property::Index, 
+*                                                      Property::Type), Operator[]
+* @passcase                            If all conditions passes properly
+* @failcase                            if any condition fail to match its expected value
+* @precondition                        NA
+* @postcondition                       NA
+*/
+int ITcPropertyMapSquareOperator(void)
+{
+       DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__);
+       Application application = Application::New( &gArgc, &gArgv );
+       Property_Map_TestApp testApp( application, PROPERTY_MAP_SQUARE_OPERATOR);
+       application.MainLoop();
+       return test_return_value;
+}
+
 /** @} */ // end of itc-propertyMap-testcases
 /** @} */ // end of itc-propertyMap
 /** @} */ // end of itc-dali-core
index 221081b..df17ca4 100755 (executable)
@@ -1,4 +1,5 @@
 #include "ITs-render-task-common.h"
+       #include <dali/devel-api/rendering/frame-buffer.h>
 
 /** @addtogroup itc-dali-core
 *      @brief Integrated testsuites for module dali-core
@@ -752,7 +753,18 @@ void VTRenderTaskViewportToLocal001()
 
        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 268b672..c06e1df 100755 (executable)
@@ -58,7 +58,8 @@ namespace
                RENDER_TASK_SETGETSETSCREENTOFRAMEBUFFERFUNCTIONWITHFULLSCREEN,
                RENDER_TASK_SETGETSETSCREENTOFRAMEBUFFERFUNCTIONWITHDEFAULTSCREEN,
                RENDER_TASK_WORLDTOVIEWPORT,
-               RENDER_TASK_VIEWPORTTOLOCAL
+               RENDER_TASK_VIEWPORTTOLOCAL,
+               RENDER_TASK_SETGETFRAMEBUFFER
        };
 
        struct TestApp : public ConnectionTracker
@@ -178,6 +179,10 @@ namespace
                                case RENDER_TASK_VIEWPORTTOLOCAL:
                                RenderTaskViewportToLocal();
                                break;
+                               
+                               case RENDER_TASK_SETGETFRAMEBUFFER:
+                               RenderTaskSetGetFrameBuffer();
+                               break;
                        }
                }
                void VerdictTest()
@@ -882,6 +887,36 @@ int ITcRenderTaskViewportToLocal(void)
        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
 /** @} */ // end of itc-render-task
 /** @} */ // end of itc-dali-core
index bfccb18..7eb7fc2 100755 (executable)
@@ -644,6 +644,7 @@ extern int ITcPropertyArraySize(void);
 extern int ITcPropertyArrayReserve(void);
 extern int ITcPropertyArrayCopyConstructor(void);
 extern int ITcPropertyArrayAssignmentOperator(void);
+extern int ITcPropertyArrayOutstreamOperator(void);
 extern int ITcPropertyConditionGreaterThanCondition(void);
 extern int ITcPropertyConditionInsideCondition(void);
 extern int ITcPropertyConditionAssignmentOperator(void);
@@ -656,6 +657,10 @@ extern int ITcPropertyConditionOutsideCondition(void);
 extern int ITcPropertyMapConstAssignment(void);
 extern int ITcPropertyMapGetKeyValuePair(void);
 extern int ITcPropertyMapMerge(void);
+extern int ITcPropertyMapOutputstreamOperator(void);
+extern int ITcPropertyMapFind(void);
+extern int ITcPropertyMapInsert(void);
+extern int ITcPropertyMapSquareOperator(void);
 extern int ITcPropertyNotificationSetGetNotifyModeOnChanged(void);
 extern int ITcPropertyNotificationSetGetNotifyModeOnTrue(void);
 extern int ITcPropertyNotificationSetGetNotifyModeOnFalse(void);
@@ -789,6 +794,7 @@ extern int ITcRenderTaskSetGetSetScreenToFrameBufferFunctionWithFullScreen(void)
 extern int ITcRenderTaskSetGetSetScreenToFrameBufferFunctionWithDefaultScreen(void);
 extern int ITcRenderTaskWorldtoViewport(void);
 extern int ITcRenderTaskViewportToLocal(void);
+extern int ITcRenderTaskSetGetFrameBuffer(void);
 extern int ITcResourceImageGetImageSize(void);
 extern int ITcResourceImageReload(void);
 extern int ITcResourceImageDownCast(void);
@@ -988,8 +994,6 @@ extern int ITcVectorCopyAssign(void);
 extern int ITcWheelEventIsShiftModifier(void);
 extern int ITcWheelEventIsAltModifier(void);
 extern int ITcWheelEventIsCtrlModifier(void);
-extern int ITcPropertyArrayOutstreamOperator(void);
-extern int ITcPropertyMapOutputstreamOperator(void);
 
 testcase tc_array[] = {
        {"ITcActorDownCast", ITcActorDownCast, ITs_actor_startup, ITs_actor_cleanup},
@@ -1472,6 +1476,9 @@ testcase tc_array[] = {
        {"ITcPropertyMapGetKeyValuePair", ITcPropertyMapGetKeyValuePair, ITs_propertyMap_startup, ITs_propertyMap_cleanup},
        {"ITcPropertyMapMerge", ITcPropertyMapMerge, ITs_propertyMap_startup, ITs_propertyMap_cleanup},
        {"ITcPropertyMapOutputstreamOperator", ITcPropertyMapOutputstreamOperator, ITs_propertyMap_startup, ITs_propertyMap_cleanup},
+       {"ITcPropertyMapFind", ITcPropertyMapFind, ITs_propertyMap_startup, ITs_propertyMap_cleanup},
+       {"ITcPropertyMapInsert", ITcPropertyMapInsert, ITs_propertyMap_startup, ITs_propertyMap_cleanup},
+       {"ITcPropertyMapSquareOperator", ITcPropertyMapSquareOperator, ITs_propertyMap_startup, ITs_propertyMap_cleanup},
        {"ITcPropertyNotificationSetGetNotifyModeOnChanged", ITcPropertyNotificationSetGetNotifyModeOnChanged, ITs_propertynotification_startup, ITs_propertynotification_cleanup},
        {"ITcPropertyNotificationSetGetNotifyModeOnTrue", ITcPropertyNotificationSetGetNotifyModeOnTrue, ITs_propertynotification_startup, ITs_propertynotification_cleanup},
        {"ITcPropertyNotificationSetGetNotifyModeOnFalse", ITcPropertyNotificationSetGetNotifyModeOnFalse, ITs_propertynotification_startup, ITs_propertynotification_cleanup},
@@ -1605,6 +1612,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},
        {"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 2b89a73..01f1a71 100755 (executable)
@@ -644,6 +644,7 @@ extern int ITcPropertyArraySize(void);
 extern int ITcPropertyArrayReserve(void);
 extern int ITcPropertyArrayCopyConstructor(void);
 extern int ITcPropertyArrayAssignmentOperator(void);
+extern int ITcPropertyArrayOutstreamOperator(void);
 extern int ITcPropertyConditionGreaterThanCondition(void);
 extern int ITcPropertyConditionInsideCondition(void);
 extern int ITcPropertyConditionAssignmentOperator(void);
@@ -656,6 +657,10 @@ extern int ITcPropertyConditionOutsideCondition(void);
 extern int ITcPropertyMapConstAssignment(void);
 extern int ITcPropertyMapGetKeyValuePair(void);
 extern int ITcPropertyMapMerge(void);
+extern int ITcPropertyMapOutputstreamOperator(void);
+extern int ITcPropertyMapFind(void);
+extern int ITcPropertyMapInsert(void);
+extern int ITcPropertyMapSquareOperator(void);
 extern int ITcPropertyNotificationSetGetNotifyModeOnChanged(void);
 extern int ITcPropertyNotificationSetGetNotifyModeOnTrue(void);
 extern int ITcPropertyNotificationSetGetNotifyModeOnFalse(void);
@@ -789,6 +794,7 @@ extern int ITcRenderTaskSetGetSetScreenToFrameBufferFunctionWithFullScreen(void)
 extern int ITcRenderTaskSetGetSetScreenToFrameBufferFunctionWithDefaultScreen(void);
 extern int ITcRenderTaskWorldtoViewport(void);
 extern int ITcRenderTaskViewportToLocal(void);
+extern int ITcRenderTaskSetGetFrameBuffer(void);
 extern int ITcResourceImageGetImageSize(void);
 extern int ITcResourceImageReload(void);
 extern int ITcResourceImageDownCast(void);
@@ -988,8 +994,6 @@ extern int ITcVectorCopyAssign(void);
 extern int ITcWheelEventIsShiftModifier(void);
 extern int ITcWheelEventIsAltModifier(void);
 extern int ITcWheelEventIsCtrlModifier(void);
-extern int ITcPropertyArrayOutstreamOperator(void);
-extern int ITcPropertyMapOutputstreamOperator(void);
 
 testcase tc_array[] = {
        {"ITcActorDownCast", ITcActorDownCast, ITs_actor_startup, ITs_actor_cleanup},
@@ -1472,6 +1476,9 @@ testcase tc_array[] = {
        {"ITcPropertyMapGetKeyValuePair", ITcPropertyMapGetKeyValuePair, ITs_propertyMap_startup, ITs_propertyMap_cleanup},
        {"ITcPropertyMapMerge", ITcPropertyMapMerge, ITs_propertyMap_startup, ITs_propertyMap_cleanup},
        {"ITcPropertyMapOutputstreamOperator", ITcPropertyMapOutputstreamOperator, ITs_propertyMap_startup, ITs_propertyMap_cleanup},
+       {"ITcPropertyMapFind", ITcPropertyMapFind, ITs_propertyMap_startup, ITs_propertyMap_cleanup},
+       {"ITcPropertyMapInsert", ITcPropertyMapInsert, ITs_propertyMap_startup, ITs_propertyMap_cleanup},
+       {"ITcPropertyMapSquareOperator", ITcPropertyMapSquareOperator, ITs_propertyMap_startup, ITs_propertyMap_cleanup},
        {"ITcPropertyNotificationSetGetNotifyModeOnChanged", ITcPropertyNotificationSetGetNotifyModeOnChanged, ITs_propertynotification_startup, ITs_propertynotification_cleanup},
        {"ITcPropertyNotificationSetGetNotifyModeOnTrue", ITcPropertyNotificationSetGetNotifyModeOnTrue, ITs_propertynotification_startup, ITs_propertynotification_cleanup},
        {"ITcPropertyNotificationSetGetNotifyModeOnFalse", ITcPropertyNotificationSetGetNotifyModeOnFalse, ITs_propertynotification_startup, ITs_propertynotification_cleanup},
@@ -1605,6 +1612,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},
        {"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 bfccb18..7eb7fc2 100755 (executable)
@@ -644,6 +644,7 @@ extern int ITcPropertyArraySize(void);
 extern int ITcPropertyArrayReserve(void);
 extern int ITcPropertyArrayCopyConstructor(void);
 extern int ITcPropertyArrayAssignmentOperator(void);
+extern int ITcPropertyArrayOutstreamOperator(void);
 extern int ITcPropertyConditionGreaterThanCondition(void);
 extern int ITcPropertyConditionInsideCondition(void);
 extern int ITcPropertyConditionAssignmentOperator(void);
@@ -656,6 +657,10 @@ extern int ITcPropertyConditionOutsideCondition(void);
 extern int ITcPropertyMapConstAssignment(void);
 extern int ITcPropertyMapGetKeyValuePair(void);
 extern int ITcPropertyMapMerge(void);
+extern int ITcPropertyMapOutputstreamOperator(void);
+extern int ITcPropertyMapFind(void);
+extern int ITcPropertyMapInsert(void);
+extern int ITcPropertyMapSquareOperator(void);
 extern int ITcPropertyNotificationSetGetNotifyModeOnChanged(void);
 extern int ITcPropertyNotificationSetGetNotifyModeOnTrue(void);
 extern int ITcPropertyNotificationSetGetNotifyModeOnFalse(void);
@@ -789,6 +794,7 @@ extern int ITcRenderTaskSetGetSetScreenToFrameBufferFunctionWithFullScreen(void)
 extern int ITcRenderTaskSetGetSetScreenToFrameBufferFunctionWithDefaultScreen(void);
 extern int ITcRenderTaskWorldtoViewport(void);
 extern int ITcRenderTaskViewportToLocal(void);
+extern int ITcRenderTaskSetGetFrameBuffer(void);
 extern int ITcResourceImageGetImageSize(void);
 extern int ITcResourceImageReload(void);
 extern int ITcResourceImageDownCast(void);
@@ -988,8 +994,6 @@ extern int ITcVectorCopyAssign(void);
 extern int ITcWheelEventIsShiftModifier(void);
 extern int ITcWheelEventIsAltModifier(void);
 extern int ITcWheelEventIsCtrlModifier(void);
-extern int ITcPropertyArrayOutstreamOperator(void);
-extern int ITcPropertyMapOutputstreamOperator(void);
 
 testcase tc_array[] = {
        {"ITcActorDownCast", ITcActorDownCast, ITs_actor_startup, ITs_actor_cleanup},
@@ -1472,6 +1476,9 @@ testcase tc_array[] = {
        {"ITcPropertyMapGetKeyValuePair", ITcPropertyMapGetKeyValuePair, ITs_propertyMap_startup, ITs_propertyMap_cleanup},
        {"ITcPropertyMapMerge", ITcPropertyMapMerge, ITs_propertyMap_startup, ITs_propertyMap_cleanup},
        {"ITcPropertyMapOutputstreamOperator", ITcPropertyMapOutputstreamOperator, ITs_propertyMap_startup, ITs_propertyMap_cleanup},
+       {"ITcPropertyMapFind", ITcPropertyMapFind, ITs_propertyMap_startup, ITs_propertyMap_cleanup},
+       {"ITcPropertyMapInsert", ITcPropertyMapInsert, ITs_propertyMap_startup, ITs_propertyMap_cleanup},
+       {"ITcPropertyMapSquareOperator", ITcPropertyMapSquareOperator, ITs_propertyMap_startup, ITs_propertyMap_cleanup},
        {"ITcPropertyNotificationSetGetNotifyModeOnChanged", ITcPropertyNotificationSetGetNotifyModeOnChanged, ITs_propertynotification_startup, ITs_propertynotification_cleanup},
        {"ITcPropertyNotificationSetGetNotifyModeOnTrue", ITcPropertyNotificationSetGetNotifyModeOnTrue, ITs_propertynotification_startup, ITs_propertynotification_cleanup},
        {"ITcPropertyNotificationSetGetNotifyModeOnFalse", ITcPropertyNotificationSetGetNotifyModeOnFalse, ITs_propertynotification_startup, ITs_propertynotification_cleanup},
@@ -1605,6 +1612,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},
        {"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 2b89a73..01f1a71 100755 (executable)
@@ -644,6 +644,7 @@ extern int ITcPropertyArraySize(void);
 extern int ITcPropertyArrayReserve(void);
 extern int ITcPropertyArrayCopyConstructor(void);
 extern int ITcPropertyArrayAssignmentOperator(void);
+extern int ITcPropertyArrayOutstreamOperator(void);
 extern int ITcPropertyConditionGreaterThanCondition(void);
 extern int ITcPropertyConditionInsideCondition(void);
 extern int ITcPropertyConditionAssignmentOperator(void);
@@ -656,6 +657,10 @@ extern int ITcPropertyConditionOutsideCondition(void);
 extern int ITcPropertyMapConstAssignment(void);
 extern int ITcPropertyMapGetKeyValuePair(void);
 extern int ITcPropertyMapMerge(void);
+extern int ITcPropertyMapOutputstreamOperator(void);
+extern int ITcPropertyMapFind(void);
+extern int ITcPropertyMapInsert(void);
+extern int ITcPropertyMapSquareOperator(void);
 extern int ITcPropertyNotificationSetGetNotifyModeOnChanged(void);
 extern int ITcPropertyNotificationSetGetNotifyModeOnTrue(void);
 extern int ITcPropertyNotificationSetGetNotifyModeOnFalse(void);
@@ -789,6 +794,7 @@ extern int ITcRenderTaskSetGetSetScreenToFrameBufferFunctionWithFullScreen(void)
 extern int ITcRenderTaskSetGetSetScreenToFrameBufferFunctionWithDefaultScreen(void);
 extern int ITcRenderTaskWorldtoViewport(void);
 extern int ITcRenderTaskViewportToLocal(void);
+extern int ITcRenderTaskSetGetFrameBuffer(void);
 extern int ITcResourceImageGetImageSize(void);
 extern int ITcResourceImageReload(void);
 extern int ITcResourceImageDownCast(void);
@@ -988,8 +994,6 @@ extern int ITcVectorCopyAssign(void);
 extern int ITcWheelEventIsShiftModifier(void);
 extern int ITcWheelEventIsAltModifier(void);
 extern int ITcWheelEventIsCtrlModifier(void);
-extern int ITcPropertyArrayOutstreamOperator(void);
-extern int ITcPropertyMapOutputstreamOperator(void);
 
 testcase tc_array[] = {
        {"ITcActorDownCast", ITcActorDownCast, ITs_actor_startup, ITs_actor_cleanup},
@@ -1472,6 +1476,9 @@ testcase tc_array[] = {
        {"ITcPropertyMapGetKeyValuePair", ITcPropertyMapGetKeyValuePair, ITs_propertyMap_startup, ITs_propertyMap_cleanup},
        {"ITcPropertyMapMerge", ITcPropertyMapMerge, ITs_propertyMap_startup, ITs_propertyMap_cleanup},
        {"ITcPropertyMapOutputstreamOperator", ITcPropertyMapOutputstreamOperator, ITs_propertyMap_startup, ITs_propertyMap_cleanup},
+       {"ITcPropertyMapFind", ITcPropertyMapFind, ITs_propertyMap_startup, ITs_propertyMap_cleanup},
+       {"ITcPropertyMapInsert", ITcPropertyMapInsert, ITs_propertyMap_startup, ITs_propertyMap_cleanup},
+       {"ITcPropertyMapSquareOperator", ITcPropertyMapSquareOperator, ITs_propertyMap_startup, ITs_propertyMap_cleanup},
        {"ITcPropertyNotificationSetGetNotifyModeOnChanged", ITcPropertyNotificationSetGetNotifyModeOnChanged, ITs_propertynotification_startup, ITs_propertynotification_cleanup},
        {"ITcPropertyNotificationSetGetNotifyModeOnTrue", ITcPropertyNotificationSetGetNotifyModeOnTrue, ITs_propertynotification_startup, ITs_propertynotification_cleanup},
        {"ITcPropertyNotificationSetGetNotifyModeOnFalse", ITcPropertyNotificationSetGetNotifyModeOnFalse, ITs_propertynotification_startup, ITs_propertynotification_cleanup},
@@ -1605,6 +1612,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},
        {"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},