HierarchyDepth bug is fixed in platform. The expected value should be 1.
Change-Id: Idafe018fa6c2eda30bd6a722edb7162fe962372e
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
View actor = new View();
Assert.AreEqual(-1, actor.HierarchyDepth, "The actor is not in the hierarchy");
Window.Instance.GetDefaultLayer().Add(actor);
- Assert.AreEqual(2, actor.HierarchyDepth, "The actor is in the hierarchy");
+ Assert.AreEqual(1, actor.HierarchyDepth, "The actor is in the hierarchy");
Window.Instance.GetDefaultLayer().Remove(actor);
}