- DALI_TEST_EQUALS( positionIntervals.Count(), results.Count(), TEST_LOCATION );
- DALI_TEST_EQUALS( positionIntervals[0], results[0], TEST_LOCATION );
- DALI_TEST_EQUALS( positionIntervals[1], results[1], TEST_LOCATION );
- DALI_TEST_EQUALS( positionIntervals[2], results[2], TEST_LOCATION );
- DALI_TEST_EQUALS( positionIntervals[3], results[3], TEST_LOCATION );
- DALI_TEST_EQUALS( positionIntervals[4], results[4], TEST_LOCATION );
- DALI_TEST_EQUALS( positionIntervals[5], results[5], TEST_LOCATION );
- DALI_TEST_EQUALS( positionIntervals[6], results[6], TEST_LOCATION );
- DALI_TEST_EQUALS( positionIntervals[7], results[7], TEST_LOCATION );
- DALI_TEST_EQUALS( positionIntervals[8], results[8], TEST_LOCATION );
- DALI_TEST_EQUALS( positionIntervals[9], results[9], TEST_LOCATION );
+ DALI_TEST_EQUALS(positionIntervals.Count(), results.Count(), TEST_LOCATION);
+ DALI_TEST_EQUALS(positionIntervals[0], results[0], TEST_LOCATION);
+ DALI_TEST_EQUALS(positionIntervals[1], results[1], TEST_LOCATION);
+ DALI_TEST_EQUALS(positionIntervals[2], results[2], TEST_LOCATION);
+ DALI_TEST_EQUALS(positionIntervals[3], results[3], TEST_LOCATION);
+ DALI_TEST_EQUALS(positionIntervals[4], results[4], TEST_LOCATION);
+ DALI_TEST_EQUALS(positionIntervals[5], results[5], TEST_LOCATION);
+ DALI_TEST_EQUALS(positionIntervals[6], results[6], TEST_LOCATION);
+ DALI_TEST_EQUALS(positionIntervals[7], results[7], TEST_LOCATION);
+ DALI_TEST_EQUALS(positionIntervals[8], results[8], TEST_LOCATION);
+ DALI_TEST_EQUALS(positionIntervals[9], results[9], TEST_LOCATION);
+
+ Property::Array resultArray = scrollBar.GetProperty<Property::Array>(Toolkit::ScrollBar::Property::SCROLL_POSITION_INTERVALS);
+
+ DALI_TEST_EQUALS(positionIntervals.Count(), resultArray.Count(), TEST_LOCATION);
+ DALI_TEST_EQUALS(positionIntervals[0], resultArray[0].Get<float>(), TEST_LOCATION);
+ DALI_TEST_EQUALS(positionIntervals[1], resultArray[1].Get<float>(), TEST_LOCATION);
+ DALI_TEST_EQUALS(positionIntervals[2], resultArray[2].Get<float>(), TEST_LOCATION);
+ DALI_TEST_EQUALS(positionIntervals[3], resultArray[3].Get<float>(), TEST_LOCATION);
+ DALI_TEST_EQUALS(positionIntervals[4], resultArray[4].Get<float>(), TEST_LOCATION);
+ DALI_TEST_EQUALS(positionIntervals[5], resultArray[5].Get<float>(), TEST_LOCATION);
+ DALI_TEST_EQUALS(positionIntervals[6], resultArray[6].Get<float>(), TEST_LOCATION);
+ DALI_TEST_EQUALS(positionIntervals[7], resultArray[7].Get<float>(), TEST_LOCATION);
+ DALI_TEST_EQUALS(positionIntervals[8], resultArray[8].Get<float>(), TEST_LOCATION);
+ DALI_TEST_EQUALS(positionIntervals[9], resultArray[9].Get<float>(), TEST_LOCATION);