From: Priya Kohli Date: Wed, 12 Jun 2019 06:45:39 +0000 (+0530) Subject: [ITC][dali-core][ACR-1398][Property::Map, Property::Array, Property::Value initialize... X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1b223ba5bab0648b2f4e17289147ae69b0864d58;p=test%2Ftct%2Fnative%2Fapi.git [ITC][dali-core][ACR-1398][Property::Map, Property::Array, Property::Value initializer_list constructor] Change-Id: I6eb05f3d162c287d5bf662d5618e5d473ef2a907 Signed-off-by: Priya Kohli --- diff --git a/src/itc/dali-core/property-array/ITs-property-array.cpp b/src/itc/dali-core/property-array/ITs-property-array.cpp index 56c272d4e..8c35345eb 100755 --- a/src/itc/dali-core/property-array/ITs-property-array.cpp +++ b/src/itc/dali-core/property-array/ITs-property-array.cpp @@ -44,6 +44,7 @@ void PropertyArrayReservevoid(); void PropertyArrayCopyConstructorvoid(); void PropertyArrayAssignmentOperator(); void PropertyArrayOutstramOperator(); +void PropertyArrayConstructorInitializerList(); namespace { @@ -54,7 +55,8 @@ namespace PROPERTY_ARRAY_RESERVE_VOID, PROPERTY_ARRAY_COPY_CONSTRUCTOR_VOID, PROPERTY_ARRAY_ASSIGNMENT_OPERATOR, - PROPERTY_ARRAY_OUTSTREAM_OPERATOR + PROPERTY_ARRAY_OUTSTREAM_OPERATOR, + PROPERTY_ARRAY_CONSTRUCTOR_INITIALIZER_LIST }; struct Property_Array_TestApp : public ConnectionTracker @@ -108,6 +110,10 @@ namespace case PROPERTY_ARRAY_OUTSTREAM_OPERATOR: PropertyArrayOutstramOperator(); break; + + case PROPERTY_ARRAY_CONSTRUCTOR_INITIALIZER_LIST: + PropertyArrayConstructorInitializerList(); + break; } } // Data @@ -230,6 +236,17 @@ void PropertyArrayOutstramOperator() DaliLog::PrintPass(); } +void PropertyArrayConstructorInitializerList() +{ + int nPropertyArray = 3; + Property::Array propArray{ 1, 2, 3, "world", "beautiful" }; + + DALI_CHECK_FAIL(propArray[2].Get() != nPropertyArray, "property array failed to retrieved correct value "); + DALI_CHECK_FAIL(propArray[4].Get() != "beautiful", "property array failed to retrieve correct value "); + + DaliLog::PrintPass(); +} + /** * End of TC Logic Implementation Area. **/ @@ -404,6 +421,30 @@ int ITcPropertyArrayOutstreamOperator(void) return test_return_value; } +//& purpose: To Check propertyarray initializer_list Constructor is working properly or not. +//& type: auto +/** +* @testcase ITcPropertyArrayConstructorInitializerList +* @since_tizen 5.5 +* @type Positive +* @description To Check propertyarray initializer_list Constructor is working properly or not. +* @scenario ****** +* @apicovered ****** +* @passcase If propertyarray constructor is working Properly +* @failcase If Fail to work properly +* @precondition NA +* @postcondition NA +*/ +int ITcPropertyArrayConstructorInitializerList(void) +{ + DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__); + Application application = Application::New( &gArgc, &gArgv ); + CHECK_OPEN_GL(SUITE_NAME,__LINE__) + Property_Array_TestApp testApp( application, PROPERTY_ARRAY_CONSTRUCTOR_INITIALIZER_LIST); + application.MainLoop(); + return test_return_value; +} + /** @} */ /** @} */ /** @} */ diff --git a/src/itc/dali-core/property-map/ITs-property-map.cpp b/src/itc/dali-core/property-map/ITs-property-map.cpp index 3d3f1ec67..c0bc96c14 100755 --- a/src/itc/dali-core/property-map/ITs-property-map.cpp +++ b/src/itc/dali-core/property-map/ITs-property-map.cpp @@ -57,6 +57,8 @@ void PropertyMapSquareOperator(); void PropertyMapSquareOperator_1(); void PropertyMapSquareOperator_2(); +void PropertyMapConstructorInitializerList(); + namespace { enum TEST_CASES_LIST_PROPERTY_MAP @@ -77,7 +79,8 @@ namespace PROPERTY_MAP_FIND, PROPERTY_MAP_FIND_001, PROPERTY_MAP_INSERT, - PROPERTY_MAP_SQUARE_OPERATOR + PROPERTY_MAP_SQUARE_OPERATOR, + PROPERTY_MAP_CONSTRUCTOR_INITIALIZER_LIST }; struct Property_Map_TestApp : public ConnectionTracker @@ -175,6 +178,10 @@ namespace case PROPERTY_MAP_SQUARE_OPERATOR: PropertyMapSquareOperator(); break; + + case PROPERTY_MAP_CONSTRUCTOR_INITIALIZER_LIST: + PropertyMapConstructorInitializerList(); + break; } } // Data @@ -767,6 +774,17 @@ void PropertyMapSquareOperator_2() DaliLog::PrintPass(); } +void PropertyMapConstructorInitializerList() +{ + int nPropertyMapCount = 3; + Property::Map propMap{ { "one", 1 }, { "two", 2 }, { "three", 3 } }; + + DALI_CHECK_FAIL(propMap.Empty(), "property is empty which is not expected"); + DALI_CHECK_FAIL( propMap.Count() != nPropertyMapCount, "property count should be 3 but it does not match with expected"); //Should only have three items !! + + DaliLog::PrintPass(); +} + /** * End of TC Logic Implementation Area. **/ @@ -1241,6 +1259,30 @@ int ITcPropertyMapSquareOperator(void) return test_return_value; } +//& purpose: To check if property map initializer_list constructor works fine +//& type: auto +/** +* @testcase ITcPropertyMapConstructorInitializerList +* @since_tizen 5.5 +* @type Positive +* @description Check if property map initializer_list constructor works fine +* @scenario ****** +* @apicovered ****** +* @passcase If propertymap constructor is working Properly +* @failcase If Fail to work properly +* @precondition NA +* @postcondition NA +*/ +int ITcPropertyMapConstructorInitializerList(void) +{ + DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__); + Application application = Application::New( &gArgc, &gArgv ); + CHECK_OPEN_GL(SUITE_NAME,__LINE__) + Property_Map_TestApp testApp( application, PROPERTY_MAP_CONSTRUCTOR_INITIALIZER_LIST); + application.MainLoop(); + return test_return_value; +} + /** @} */ // end of itc-propertyMap-testcases /** @} */ // end of itc-propertyMap /** @} */ // end of itc-dali-core diff --git a/src/itc/dali-core/property-value/ITs-property-value.cpp b/src/itc/dali-core/property-value/ITs-property-value.cpp index 7be7946ca..e814f8d3b 100755 --- a/src/itc/dali-core/property-value/ITs-property-value.cpp +++ b/src/itc/dali-core/property-value/ITs-property-value.cpp @@ -49,7 +49,7 @@ void PropertyValueConstructorsExtentsType(void); void PropertyValueConstructorsExtentsType2(void); void PropertyValueAssignmentOperatorExtents(void); void PropertyValueGetExtents(void); - +void PropertyValueConstructorsInitializerList(void); namespace { @@ -58,7 +58,8 @@ namespace PROPERTY_VALUE_CONSTRUCTOR_EXTENTSTYPE, PROPERTY_VALUE_CONSTRUCTOR_EXTENTSTYPE2, PROPERTY_VALUE_OPERATORASSIGNMENT_EXTENTS, - PROPERTY_VALUE_GET_EXTENTS + PROPERTY_VALUE_GET_EXTENTS, + PROPERTY_VALUE_CONSTRUCTOR_INITIALIZER_LIST }; struct TestApp : public ConnectionTracker @@ -89,18 +90,25 @@ namespace { switch (mTestCase) { - case PROPERTY_VALUE_CONSTRUCTOR_EXTENTSTYPE : - PropertyValueConstructorsExtentsType(); - break; - case PROPERTY_VALUE_CONSTRUCTOR_EXTENTSTYPE2 : - PropertyValueConstructorsExtentsType2(); - break; - case PROPERTY_VALUE_OPERATORASSIGNMENT_EXTENTS : - PropertyValueAssignmentOperatorExtents(); - break; - case PROPERTY_VALUE_GET_EXTENTS : - PropertyValueGetExtents(); - break; + case PROPERTY_VALUE_CONSTRUCTOR_EXTENTSTYPE : + PropertyValueConstructorsExtentsType(); + break; + + case PROPERTY_VALUE_CONSTRUCTOR_EXTENTSTYPE2 : + PropertyValueConstructorsExtentsType2(); + break; + + case PROPERTY_VALUE_OPERATORASSIGNMENT_EXTENTS : + PropertyValueAssignmentOperatorExtents(); + break; + + case PROPERTY_VALUE_GET_EXTENTS : + PropertyValueGetExtents(); + break; + + case PROPERTY_VALUE_CONSTRUCTOR_INITIALIZER_LIST: + PropertyValueConstructorsInitializerList(); + break; } } // Data @@ -120,12 +128,12 @@ namespace void PropertyValueConstructorsExtentsType(void) { - Property::Value value(Property::EXTENTS); + Property::Value value(Property::EXTENTS); - DALI_CHECK_FAIL( value.GetType()!= Property::EXTENTS , "PropertyValue Constuctor for Extents type has Failed."); - DALI_CHECK_FAIL( value.Get() != Extents( 0u, 0u, 0u, 0u ) , "PropertyValue::Get for Extents type has Failed."); + DALI_CHECK_FAIL( value.GetType()!= Property::EXTENTS , "PropertyValue Constuctor for Extents type has Failed."); + DALI_CHECK_FAIL( value.Get() != Extents( 0u, 0u, 0u, 0u ) , "PropertyValue::Get for Extents type has Failed."); - DaliLog::PrintPass(); + DaliLog::PrintPass(); } //& purpose: Check if the Constructor works for Extents type or not. //& type: auto @@ -143,22 +151,22 @@ void PropertyValueConstructorsExtentsType(void) */ int ITcPropertyValueConstructorsExtentsType(void) { - DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__); - Application application = Application::New( &gArgc, &gArgv ); - CHECK_OPEN_GL(SUITE_NAME,__LINE__) - TestApp testApp( application, PROPERTY_VALUE_CONSTRUCTOR_EXTENTSTYPE); - application.MainLoop(); - return test_return_value; + DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__); + Application application = Application::New( &gArgc, &gArgv ); + CHECK_OPEN_GL(SUITE_NAME,__LINE__) + TestApp testApp( application, PROPERTY_VALUE_CONSTRUCTOR_EXTENTSTYPE); + application.MainLoop(); + return test_return_value; } void PropertyValueConstructorsExtentsType2(void) { - Property::Value value(Property::VECTOR4); + Property::Value value(Property::VECTOR4); - DALI_CHECK_FAIL( value.GetType()!= Property::VECTOR4 , "PropertyValue Constuctor for Vector4 type has Failed."); - DALI_CHECK_FAIL( value.Get() != Extents( 0u, 0u, 0u, 0u ) , "PropertyValue::Get for Extents type has Failed."); + DALI_CHECK_FAIL( value.GetType()!= Property::VECTOR4 , "PropertyValue Constuctor for Vector4 type has Failed."); + DALI_CHECK_FAIL( value.Get() != Extents( 0u, 0u, 0u, 0u ) , "PropertyValue::Get for Extents type has Failed."); - DaliLog::PrintPass(); + DaliLog::PrintPass(); } //& purpose: Check if the Constructor works for Extents type or not. //& type: auto @@ -176,25 +184,26 @@ void PropertyValueConstructorsExtentsType2(void) */ int ITcPropertyValueConstructorsExtentsType2(void) { - DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__); - Application application = Application::New( &gArgc, &gArgv ); - CHECK_OPEN_GL(SUITE_NAME,__LINE__) - TestApp testApp( application, PROPERTY_VALUE_CONSTRUCTOR_EXTENTSTYPE2); - application.MainLoop(); - return test_return_value; + DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__); + Application application = Application::New( &gArgc, &gArgv ); + CHECK_OPEN_GL(SUITE_NAME,__LINE__) + TestApp testApp( application, PROPERTY_VALUE_CONSTRUCTOR_EXTENTSTYPE2); + application.MainLoop(); + return test_return_value; } void PropertyValueAssignmentOperatorExtents(void) { - Property::Value value; - value = Property::Value( Extents( 4, 3, 2, 1 ) ); // mismatch - Property::Value copy( Property::EXTENTS ); - copy = value; // match - Extents copyExtents; - copy.Get(copyExtents); - DALI_CHECK_FAIL( Extents( 4, 3, 2, 1 ) != copyExtents, "PropertyValue::Get for Extents type has Failed. " ); - DaliLog::PrintPass(); + Property::Value value; + value = Property::Value( Extents( 4, 3, 2, 1 ) ); // mismatch + Property::Value copy( Property::EXTENTS ); + copy = value; // match + Extents copyExtents; + copy.Get(copyExtents); + DALI_CHECK_FAIL( Extents( 4, 3, 2, 1 ) != copyExtents, "PropertyValue::Get for Extents type has Failed. " ); + DaliLog::PrintPass(); } + //& purpose: Check if assignment operator works for Extents type or not. //& type: auto /** @@ -212,22 +221,22 @@ void PropertyValueAssignmentOperatorExtents(void) int ITcPropertyValueAssignmentOperatorExtents(void) { - DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__); - Application application = Application::New( &gArgc, &gArgv ); - CHECK_OPEN_GL(SUITE_NAME,__LINE__) - TestApp testApp( application, PROPERTY_VALUE_OPERATORASSIGNMENT_EXTENTS); - application.MainLoop(); - return test_return_value; + DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__); + Application application = Application::New( &gArgc, &gArgv ); + CHECK_OPEN_GL(SUITE_NAME,__LINE__) + TestApp testApp( application, PROPERTY_VALUE_OPERATORASSIGNMENT_EXTENTS); + application.MainLoop(); + return test_return_value; } void PropertyValueGetExtents(void) { - Property::Value value( Extents( 1u, 2u, 3u, 4u ) ); - Extents result( 4u, 3u, 2u, 1u ); - DALI_CHECK_FAIL( Extents( 1u, 2u, 3u, 4u ) != value.Get(), "PropertyValue::Get has Failed. " ); - DALI_CHECK_FAIL( true != value.Get( result ), "PropertyValue::Get has Failed. " ); - DALI_CHECK_FAIL( Extents( 1u, 2u, 3u, 4u )!= result, "PropertyValue::Get has Failed. " ); - DaliLog::PrintPass(); + Property::Value value( Extents( 1u, 2u, 3u, 4u ) ); + Extents result( 4u, 3u, 2u, 1u ); + DALI_CHECK_FAIL( Extents( 1u, 2u, 3u, 4u ) != value.Get(), "PropertyValue::Get has Failed. " ); + DALI_CHECK_FAIL( true != value.Get( result ), "PropertyValue::Get has Failed. " ); + DALI_CHECK_FAIL( Extents( 1u, 2u, 3u, 4u )!= result, "PropertyValue::Get has Failed. " ); + DaliLog::PrintPass(); } //& purpose: Check if Get api is working for Extents type or not. //& type: auto @@ -246,10 +255,49 @@ void PropertyValueGetExtents(void) int ITcPropertyValueGetExtents(void) { - DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__); - Application application = Application::New( &gArgc, &gArgv ); - CHECK_OPEN_GL(SUITE_NAME,__LINE__) - TestApp testApp( application, PROPERTY_VALUE_GET_EXTENTS); - application.MainLoop(); - return test_return_value; + DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__); + Application application = Application::New( &gArgc, &gArgv ); + CHECK_OPEN_GL(SUITE_NAME,__LINE__) + TestApp testApp( application, PROPERTY_VALUE_GET_EXTENTS); + application.MainLoop(); + return test_return_value; +} + +void PropertyValueConstructorsInitializerList(void) +{ + int nPropertyValueCount = 3; + Property::Value value{ { "one", 1 }, { "two", 2 }, { "three", 3 } }; + + DALI_CHECK_FAIL( value.GetType() != Property::MAP , "PropertyValue Constuctor for Map type has Failed."); + DALI_CHECK_FAIL( value.Get().Count() != nPropertyValueCount , "PropertyValue::Get for Map type has Failed."); + + DaliLog::PrintPass(); } + +//& purpose: To check if the Constructor works for initializer_list or not. +//& type: auto +/** +* @testcase ITcPropertyValueConstructorsInitializerList +* @since_tizen 5.5 +* @type Positive +* @description Check if the Constructor works for initializer_list or not. +* @scenario ****** +* @apicovered ****** +* @passcase If propertymap value initializer_list constructor is working Properly +* @failcase If Fail to work properly +* @precondition NA +* @postcondition NA +*/ +int ITcPropertyValueConstructorsInitializerList(void) +{ + DaliLog::PrintExecStarted(SUITE_NAME, __FUNCTION__); + Application application = Application::New( &gArgc, &gArgv ); + CHECK_OPEN_GL(SUITE_NAME,__LINE__) + TestApp testApp( application, PROPERTY_VALUE_CONSTRUCTOR_INITIALIZER_LIST); + application.MainLoop(); + return test_return_value; +} + +/** @} */ // end of itc-propertyValue-testcases +/** @} */ // end of itc-propertyValue +/** @} */ // end of itc-dali-core diff --git a/src/itc/dali-core/tct-dali-core-native_mobile.h b/src/itc/dali-core/tct-dali-core-native_mobile.h index f12b31955..6b9c7a1c9 100755 --- a/src/itc/dali-core/tct-dali-core-native_mobile.h +++ b/src/itc/dali-core/tct-dali-core-native_mobile.h @@ -700,6 +700,7 @@ extern int ITcPropertyArrayReserve(void); extern int ITcPropertyArrayCopyConstructor(void); extern int ITcPropertyArrayAssignmentOperator(void); extern int ITcPropertyArrayOutstreamOperator(void); +extern int ITcPropertyArrayConstructorInitializerList(void); extern int ITcPropertyBuffer_001(void); extern int ITcPropertyConditionGreaterThanCondition(void); extern int ITcPropertyConditionInsideCondition(void); @@ -727,6 +728,7 @@ extern int ITcPropertyMapFind(void); extern int ITcPropertyMapFind_001(void); extern int ITcPropertyMapInsert(void); extern int ITcPropertyMapSquareOperator(void); +extern int ITcPropertyMapConstructorInitializerList(void); extern int ITcPropertyNotificationSetGetNotifyModeOnChanged(void); extern int ITcPropertyNotificationSetGetNotifyModeOnTrue(void); extern int ITcPropertyNotificationSetGetNotifyModeOnFalse(void); @@ -771,6 +773,7 @@ extern int ITcPropertyValueConstructorsExtentsType(void); extern int ITcPropertyValueConstructorsExtentsType2(void); extern int ITcPropertyValueAssignmentOperatorExtents(void); extern int ITcPropertyValueGetExtents(void); +extern int ITcPropertyValueConstructorsInitializerList(void); extern int ITcQuaternionByFloat(void); extern int ITcQuaternionByVector(void); extern int ITcQuaternionByAngleVector4Axis(void); @@ -1580,6 +1583,7 @@ testcase tc_array[] = { {"ITcPropertyArrayCopyConstructor",ITcPropertyArrayCopyConstructor,ITs_propertyarray_startup,ITs_propertyarray_cleanup}, {"ITcPropertyArrayAssignmentOperator",ITcPropertyArrayAssignmentOperator,ITs_propertyarray_startup,ITs_propertyarray_cleanup}, {"ITcPropertyArrayOutstreamOperator",ITcPropertyArrayOutstreamOperator,ITs_propertyarray_startup,ITs_propertyarray_cleanup}, + {"ITcPropertyArrayConstructorInitializerList",ITcPropertyArrayConstructorInitializerList,ITs_propertyarray_startup,ITs_propertyarray_cleanup}, {"ITcPropertyBuffer_001",ITcPropertyBuffer_001,ITs_propertybuffer_startup,ITs_propertybuffer_cleanup}, {"ITcPropertyConditionGreaterThanCondition",ITcPropertyConditionGreaterThanCondition,ITs_propertycondition_startup,ITs_propertycondition_cleanup}, {"ITcPropertyConditionInsideCondition",ITcPropertyConditionInsideCondition,ITs_propertycondition_startup,ITs_propertycondition_cleanup}, @@ -1607,6 +1611,7 @@ testcase tc_array[] = { {"ITcPropertyMapFind_001",ITcPropertyMapFind_001,ITs_propertyMap_startup,ITs_propertyMap_cleanup}, {"ITcPropertyMapInsert",ITcPropertyMapInsert,ITs_propertyMap_startup,ITs_propertyMap_cleanup}, {"ITcPropertyMapSquareOperator",ITcPropertyMapSquareOperator,ITs_propertyMap_startup,ITs_propertyMap_cleanup}, + {"ITcPropertyMapConstructorInitializerList",ITcPropertyMapConstructorInitializerList,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}, @@ -1651,7 +1656,7 @@ testcase tc_array[] = { {"ITcPropertyValueConstructorsExtentsType2",ITcPropertyValueConstructorsExtentsType2,ITs_propertyValue_startup,ITs_propertyValue_cleanup}, {"ITcPropertyValueAssignmentOperatorExtents",ITcPropertyValueAssignmentOperatorExtents,ITs_propertyValue_startup,ITs_propertyValue_cleanup}, {"ITcPropertyValueGetExtents", ITcPropertyValueGetExtents,ITs_propertyValue_startup,ITs_propertyValue_cleanup}, - + {"ITcPropertyValueConstructorsInitializerList", ITcPropertyValueConstructorsInitializerList,ITs_propertyValue_startup,ITs_propertyValue_cleanup}, {"ITcQuaternionByFloat",ITcQuaternionByFloat,ITs_quaternion_startup,ITs_quaternion_cleanup}, {"ITcQuaternionByVector",ITcQuaternionByVector,ITs_quaternion_startup,ITs_quaternion_cleanup}, {"ITcQuaternionByAngleVector4Axis",ITcQuaternionByAngleVector4Axis,ITs_quaternion_startup,ITs_quaternion_cleanup}, diff --git a/src/itc/dali-core/tct-dali-core-native_tizeniot.h b/src/itc/dali-core/tct-dali-core-native_tizeniot.h index 5f1e55368..e8e0678f9 100755 --- a/src/itc/dali-core/tct-dali-core-native_tizeniot.h +++ b/src/itc/dali-core/tct-dali-core-native_tizeniot.h @@ -699,6 +699,7 @@ extern int ITcPropertyArrayReserve(void); extern int ITcPropertyArrayCopyConstructor(void); extern int ITcPropertyArrayAssignmentOperator(void); extern int ITcPropertyArrayOutstreamOperator(void); +extern int ITcPropertyArrayConstructorInitializerList(void); extern int ITcPropertyBuffer_001(void); extern int ITcPropertyConditionGreaterThanCondition(void); extern int ITcPropertyConditionInsideCondition(void); @@ -726,6 +727,7 @@ extern int ITcPropertyMapFind(void); extern int ITcPropertyMapFind_001(void); extern int ITcPropertyMapInsert(void); extern int ITcPropertyMapSquareOperator(void); +extern int ITcPropertyMapConstructorInitializerList(void); extern int ITcPropertyNotificationSetGetNotifyModeOnChanged(void); extern int ITcPropertyNotificationSetGetNotifyModeOnTrue(void); extern int ITcPropertyNotificationSetGetNotifyModeOnFalse(void); @@ -770,6 +772,7 @@ extern int ITcPropertyValueConstructorsExtentsType(void); extern int ITcPropertyValueConstructorsExtentsType2(void); extern int ITcPropertyValueAssignmentOperatorExtents(void); extern int ITcPropertyValueGetExtents(void); +extern int ITcPropertyValueConstructorsInitializerList(void); extern int ITcQuaternionByFloat(void); extern int ITcQuaternionByVector(void); extern int ITcQuaternionByAngleVector4Axis(void); @@ -1576,6 +1579,7 @@ testcase tc_array[] = { {"ITcPropertyArrayCopyConstructor",ITcPropertyArrayCopyConstructor,ITs_propertyarray_startup,ITs_propertyarray_cleanup}, {"ITcPropertyArrayAssignmentOperator",ITcPropertyArrayAssignmentOperator,ITs_propertyarray_startup,ITs_propertyarray_cleanup}, {"ITcPropertyArrayOutstreamOperator",ITcPropertyArrayOutstreamOperator,ITs_propertyarray_startup,ITs_propertyarray_cleanup}, + {"ITcPropertyArrayConstructorInitializerList",ITcPropertyArrayConstructorInitializerList,ITs_propertyarray_startup,ITs_propertyarray_cleanup}, {"ITcPropertyBuffer_001",ITcPropertyBuffer_001,ITs_propertybuffer_startup,ITs_propertybuffer_cleanup}, {"ITcPropertyConditionGreaterThanCondition",ITcPropertyConditionGreaterThanCondition,ITs_propertycondition_startup,ITs_propertycondition_cleanup}, {"ITcPropertyConditionInsideCondition",ITcPropertyConditionInsideCondition,ITs_propertycondition_startup,ITs_propertycondition_cleanup}, @@ -1603,6 +1607,7 @@ testcase tc_array[] = { {"ITcPropertyMapFind_001",ITcPropertyMapFind_001,ITs_propertyMap_startup,ITs_propertyMap_cleanup}, {"ITcPropertyMapInsert",ITcPropertyMapInsert,ITs_propertyMap_startup,ITs_propertyMap_cleanup}, {"ITcPropertyMapSquareOperator",ITcPropertyMapSquareOperator,ITs_propertyMap_startup,ITs_propertyMap_cleanup}, + {"ITcPropertyMapConstructorInitializerList",ITcPropertyMapConstructorInitializerList,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}, @@ -1647,7 +1652,7 @@ testcase tc_array[] = { {"ITcPropertyValueConstructorsExtentsType2",ITcPropertyValueConstructorsExtentsType2,ITs_propertyValue_startup,ITs_propertyValue_cleanup}, {"ITcPropertyValueAssignmentOperatorExtents",ITcPropertyValueAssignmentOperatorExtents,ITs_propertyValue_startup,ITs_propertyValue_cleanup}, {"ITcPropertyValueGetExtents", ITcPropertyValueGetExtents,ITs_propertyValue_startup,ITs_propertyValue_cleanup}, - + {"ITcPropertyValueConstructorsInitializerList", ITcPropertyValueConstructorsInitializerList,ITs_propertyValue_startup,ITs_propertyValue_cleanup}, {"ITcQuaternionByFloat",ITcQuaternionByFloat,ITs_quaternion_startup,ITs_quaternion_cleanup}, {"ITcQuaternionByVector",ITcQuaternionByVector,ITs_quaternion_startup,ITs_quaternion_cleanup}, {"ITcQuaternionByAngleVector4Axis",ITcQuaternionByAngleVector4Axis,ITs_quaternion_startup,ITs_quaternion_cleanup}, diff --git a/src/itc/dali-core/tct-dali-core-native_wearable.h b/src/itc/dali-core/tct-dali-core-native_wearable.h index 0d2f012e0..59532dda3 100755 --- a/src/itc/dali-core/tct-dali-core-native_wearable.h +++ b/src/itc/dali-core/tct-dali-core-native_wearable.h @@ -699,6 +699,7 @@ extern int ITcPropertyArrayReserve(void); extern int ITcPropertyArrayCopyConstructor(void); extern int ITcPropertyArrayAssignmentOperator(void); extern int ITcPropertyArrayOutstreamOperator(void); +extern int ITcPropertyArrayConstructorInitializerList(void); extern int ITcPropertyBuffer_001(void); extern int ITcPropertyConditionGreaterThanCondition(void); extern int ITcPropertyConditionInsideCondition(void); @@ -726,6 +727,7 @@ extern int ITcPropertyMapFind(void); extern int ITcPropertyMapFind_001(void); extern int ITcPropertyMapInsert(void); extern int ITcPropertyMapSquareOperator(void); +extern int ITcPropertyMapConstructorInitializerList(void); extern int ITcPropertyNotificationSetGetNotifyModeOnChanged(void); extern int ITcPropertyNotificationSetGetNotifyModeOnTrue(void); extern int ITcPropertyNotificationSetGetNotifyModeOnFalse(void); @@ -770,6 +772,7 @@ extern int ITcPropertyValueConstructorsExtentsType(void); extern int ITcPropertyValueConstructorsExtentsType2(void); extern int ITcPropertyValueAssignmentOperatorExtents(void); extern int ITcPropertyValueGetExtents(void); +extern int ITcPropertyValueConstructorsInitializerList(void); extern int ITcQuaternionByFloat(void); extern int ITcQuaternionByVector(void); extern int ITcQuaternionByAngleVector4Axis(void); @@ -1579,6 +1582,7 @@ testcase tc_array[] = { {"ITcPropertyArrayCopyConstructor",ITcPropertyArrayCopyConstructor,ITs_propertyarray_startup,ITs_propertyarray_cleanup}, {"ITcPropertyArrayAssignmentOperator",ITcPropertyArrayAssignmentOperator,ITs_propertyarray_startup,ITs_propertyarray_cleanup}, {"ITcPropertyArrayOutstreamOperator",ITcPropertyArrayOutstreamOperator,ITs_propertyarray_startup,ITs_propertyarray_cleanup}, + {"ITcPropertyArrayConstructorInitializerList",ITcPropertyArrayConstructorInitializerList,ITs_propertyarray_startup,ITs_propertyarray_cleanup}, {"ITcPropertyBuffer_001",ITcPropertyBuffer_001,ITs_propertybuffer_startup,ITs_propertybuffer_cleanup}, {"ITcPropertyConditionGreaterThanCondition",ITcPropertyConditionGreaterThanCondition,ITs_propertycondition_startup,ITs_propertycondition_cleanup}, {"ITcPropertyConditionInsideCondition",ITcPropertyConditionInsideCondition,ITs_propertycondition_startup,ITs_propertycondition_cleanup}, @@ -1606,6 +1610,7 @@ testcase tc_array[] = { {"ITcPropertyMapFind_001",ITcPropertyMapFind_001,ITs_propertyMap_startup,ITs_propertyMap_cleanup}, {"ITcPropertyMapInsert",ITcPropertyMapInsert,ITs_propertyMap_startup,ITs_propertyMap_cleanup}, {"ITcPropertyMapSquareOperator",ITcPropertyMapSquareOperator,ITs_propertyMap_startup,ITs_propertyMap_cleanup}, + {"ITcPropertyMapConstructorInitializerList",ITcPropertyMapConstructorInitializerList,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}, @@ -1650,6 +1655,7 @@ testcase tc_array[] = { {"ITcPropertyValueConstructorsExtentsType2",ITcPropertyValueConstructorsExtentsType2,ITs_propertyValue_startup,ITs_propertyValue_cleanup}, {"ITcPropertyValueAssignmentOperatorExtents",ITcPropertyValueAssignmentOperatorExtents,ITs_propertyValue_startup,ITs_propertyValue_cleanup}, {"ITcPropertyValueGetExtents", ITcPropertyValueGetExtents,ITs_propertyValue_startup,ITs_propertyValue_cleanup}, + {"ITcPropertyValueConstructorsInitializerList", ITcPropertyValueConstructorsInitializerList,ITs_propertyValue_startup,ITs_propertyValue_cleanup}, {"ITcQuaternionByFloat",ITcQuaternionByFloat,ITs_quaternion_startup,ITs_quaternion_cleanup}, {"ITcQuaternionByVector",ITcQuaternionByVector,ITs_quaternion_startup,ITs_quaternion_cleanup}, {"ITcQuaternionByAngleVector4Axis",ITcQuaternionByAngleVector4Axis,ITs_quaternion_startup,ITs_quaternion_cleanup},