DALI_TEST_CHECK(actorObject);
// Check that an invalid command is not performed
- std::vector<Property::Value> attributes;
+ Property::Map attributes;
DALI_TEST_CHECK(actorObject.DoAction("invalidCommand", attributes) == false);
// Check that the actor is visible
// Set the new duration to be 2 seconds
float newDurationSeconds(2.0f);
Property::Value newDurationSecondsValue = Property::Value( newDurationSeconds );
- attributes.push_back(newDurationSecondsValue);
+ attributes["duration"] = newDurationSecondsValue;
// Check the animation performed an action to play itself with the specified duration of 2 seconds
animationObject.DoAction("play", attributes);
FakeObject object;
std::string typeName = object.GetTypeName();
- DALI_TEST_CHECK( typeName == Dali::String::EMPTY );
+ DALI_TEST_CHECK( typeName.empty() );
END_TEST;
}
DALI_TEST_CHECK( static_cast<BaseHandle::BooleanType>( handle ) );
END_TEST;
}
+
+int UtcDaliBaseHandleCompareOperatorN(void)
+{
+ TestApplication application;
+ BaseHandle handle1 = Actor::New();
+ BaseHandle handle2 = handle1;
+
+ DALI_TEST_CHECK( (handle1 < handle2) == false );
+
+ END_TEST;
+}