From 1e272ac3c3350dc17b9bd09c51c43f8fa5c99f4a Mon Sep 17 00:00:00 2001 From: Jeonghyun Yun Date: Tue, 3 Apr 2018 15:33:46 +0900 Subject: [PATCH] [ElmSharp][Non-ACR][Changed to correct file path instead of file name] Change-Id: I44bbb1a98ef6db1322044217a0a11d4a94d95dc5 Signed-off-by: Jeonghyun Yun --- tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSBackground.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSBackground.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSBackground.cs index 91b7324..74eb8b9 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSBackground.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSBackground.cs @@ -17,6 +17,7 @@ using NUnit.Framework; using NUnit.Framework.TUnit; using System; +using System.IO; using System.Threading.Tasks; using ElmSharpForTizen.Tizen; @@ -80,9 +81,10 @@ namespace ElmSharp.Tests { [Property("AUTHOR", "Wenfeng Ge, wenfeng.ge@samsung.com")] public void File_PROPERTY_SET_GET() { - _Background.File = "Tizen.ElmSharp.Tests.png"; + string path = Path.Combine(Program.Current.DirectoryInfo.Resource, "Tizen.ElmSharp.Tests.png"); + _Background.File = path; Assert.IsInstanceOf(_Background.File, "Should be type of string."); - Assert.AreEqual("Tizen.ElmSharp.Tests.png", _Background.File, "File doesn't set and get successfully."); + Assert.AreEqual(path, _Background.File, "File doesn't set and get successfully."); } [Test] -- 2.7.4