From: huiyu.eun Date: Tue, 18 Sep 2018 01:23:57 +0000 (+0900) Subject: [NUI][Non-ACR][Fix TCT Fail issue] X-Git-Tag: tct5.0_m2~61 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=938e946286cf4e8940146b84df258d6de619f957;p=test%2Ftct%2Fcsharp%2Fapi.git [NUI][Non-ACR][Fix TCT Fail issue] HierarchyDepth bug is fixed in platform. The expected value should be 1. Change-Id: Idafe018fa6c2eda30bd6a722edb7162fe962372e Signed-off-by: huiyu.eun --- diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSView.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSView.cs index 911965f..d65b9cf 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSView.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSView.cs @@ -179,7 +179,7 @@ namespace Tizen.NUI.Tests 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); }