}
catch (DaliException& exception)
{
- if ( exception.mCondition.find("detector") != string::npos )
+ if ( exception.mCondition.find("detector") != std::string::npos )
{
tet_result(TET_PASS);
}
detector.Attach(actor);
- vector<Actor> actors = detector.GetAttachedActors();
+ std::vector<Actor> actors = detector.GetAttachedActors();
if (find(actors.begin(), actors.end(), actor) != actors.end())
{
}
catch (DaliException& exception)
{
- if ( exception.mCondition.find("actor") != string::npos )
+ if ( exception.mCondition.find("actor") != std::string::npos )
{
tet_result(TET_PASS);
}
Actor actor = Actor::New();
detector.Attach(actor);
- vector<Actor> actors = detector.GetAttachedActors();
+ std::vector<Actor> actors = detector.GetAttachedActors();
if (find(actors.begin(), actors.end(), actor) != actors.end())
{
tet_result(TET_FAIL);
}
- // Detach and retrive attached actors again, the vector should be empty.
+ // Detach and retrieve attached actors again, the vector should be empty.
detector.Detach(actor);
actors = detector.GetAttachedActors();
}
catch (DaliException& exception)
{
- if ( exception.mCondition.find("actor") != string::npos )
+ if ( exception.mCondition.find("actor") != std::string::npos )
{
tet_result(TET_PASS);
}
GestureDetector detector = PanGestureDetector::New();
const unsigned int actorsToAdd = 5;
- vector<Actor> myActors;
+ std::vector<Actor> myActors;
for (unsigned int i = 0; i < actorsToAdd; ++i)
{
detector.Attach(actor);
}
- vector<Actor> attachedActors = detector.GetAttachedActors();
+ std::vector<Actor> attachedActors = detector.GetAttachedActors();
DALI_TEST_EQUALS(actorsToAdd, attachedActors.size(), TEST_LOCATION);
// Detach and retrieve attached actors again, the vector should be empty.
GestureDetector detector = PanGestureDetector::New();
const unsigned int actorsToAdd = 5;
- vector<Actor> myActors;
+ std::vector<Actor> myActors;
for (unsigned int i = 0; i < actorsToAdd; ++i)
{
detector.Attach(actor);
}
- vector<Actor> attachedActors = detector.GetAttachedActors();
+ std::vector<Actor> attachedActors = detector.GetAttachedActors();
DALI_TEST_EQUALS(actorsToAdd, attachedActors.size(), TEST_LOCATION);
// Detach and retrieve attached actors again, the vector should be empty.
DALI_TEST_EQUALS(2u, detector.GetAttachedActors().size(), TEST_LOCATION);
// Attach another five actors
- vector<Actor> myActors;
+ std::vector<Actor> myActors;
for (unsigned int i = 0; i < 5; ++i)
{
Actor actor = Actor::New();