From: huiyu.eun Date: Wed, 5 Jun 2019 04:57:21 +0000 (+0900) Subject: [NUI][Non-ACR] Fix GetResourcesProvider fail issue X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F62%2F207462%2F1;p=test%2Ftct%2Fcsharp%2Fapi.git [NUI][Non-ACR] Fix GetResourcesProvider fail issue NUI is separated to Tizen.NUI and Tizen.NUI.Xaml. GetResourcesProvder.Get() need to create XamlBiding.Application. Change-Id: Id714cea7bbdda87bcbd6f6f7ba922ad441902f99 Signed-off-by: huiyu.eun --- diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSGetResourcesProvider.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSGetResourcesProvider.cs index 85d9928..0649059 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSGetResourcesProvider.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSGetResourcesProvider.cs @@ -37,9 +37,9 @@ namespace Tizen.NUI.Tests public void GetResourcesProvider_INIT() { /* TEST CODE */ - var resourcesProvider = new GetResourcesProvider(); + var resourcesProvider = new Tizen.NUI.GetResourcesProvider(); Assert.IsNotNull(resourcesProvider, "Can't create success object GetResourcesProvider"); - Assert.IsInstanceOf(resourcesProvider, "Should be an instance of GetResourcesProvider type."); + Assert.IsInstanceOf(resourcesProvider, "Should be an instance of GetResourcesProvider type."); } [Test] @@ -52,6 +52,7 @@ namespace Tizen.NUI.Tests public void Get_GET_VALUE() { /* TEST CODE */ + Tizen.NUI.XamlBinding.Application app = new Tizen.NUI.XamlBinding.Application(); Tizen.NUI.XamlBinding.ResourceDictionary dict = Tizen.NUI.GetResourcesProvider.Get().XamlResources; Assert.IsEmpty(dict, "Shoud be empty"); }