From: hyunho Date: Fri, 12 Apr 2019 08:36:39 +0000 (+0900) Subject: [Non-ACR][WatchfaceComplication]Fix test app freeze issue X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4fa3bda99b21eb198f8e858ca3d627ba2dcb31a8;p=test%2Ftct%2Fcsharp%2Fapi.git [Non-ACR][WatchfaceComplication]Fix test app freeze issue Change-Id: Idfa3b333a31ecdcf3ffcf516806aedaa0a3de724 Signed-off-by: hyunho --- diff --git a/tct-suite-vs/Resource/Tizen.WatchfaceComplication.Tests/CsharpWatch.tar b/tct-suite-vs/Resource/Tizen.WatchfaceComplication.Tests/CsharpWatch.tar index 11a5ba7ce..309fcdd83 100644 Binary files a/tct-suite-vs/Resource/Tizen.WatchfaceComplication.Tests/CsharpWatch.tar and b/tct-suite-vs/Resource/Tizen.WatchfaceComplication.Tests/CsharpWatch.tar differ diff --git a/tct-suite-vs/Resource/Tizen.WatchfaceComplication.Tests/complication-provider-csharp.tar b/tct-suite-vs/Resource/Tizen.WatchfaceComplication.Tests/complication-provider-csharp.tar index d3fd3c26e..7f4757b33 100644 Binary files a/tct-suite-vs/Resource/Tizen.WatchfaceComplication.Tests/complication-provider-csharp.tar and b/tct-suite-vs/Resource/Tizen.WatchfaceComplication.Tests/complication-provider-csharp.tar differ diff --git a/tct-suite-vs/Resource/Tizen.WatchfaceComplication.Tests/org.tizen.ComplicationProviderCsharp-1.0.0.tpk b/tct-suite-vs/Resource/Tizen.WatchfaceComplication.Tests/org.tizen.ComplicationProviderCsharp-1.0.0.tpk index b7f8919c3..2fc983895 100644 Binary files a/tct-suite-vs/Resource/Tizen.WatchfaceComplication.Tests/org.tizen.ComplicationProviderCsharp-1.0.0.tpk and b/tct-suite-vs/Resource/Tizen.WatchfaceComplication.Tests/org.tizen.ComplicationProviderCsharp-1.0.0.tpk differ diff --git a/tct-suite-vs/Resource/Tizen.WatchfaceComplication.Tests/org.tizen.CsharpWatch-1.0.0.tpk b/tct-suite-vs/Resource/Tizen.WatchfaceComplication.Tests/org.tizen.CsharpWatch-1.0.0.tpk index be6a80d6f..564ebf020 100644 Binary files a/tct-suite-vs/Resource/Tizen.WatchfaceComplication.Tests/org.tizen.CsharpWatch-1.0.0.tpk and b/tct-suite-vs/Resource/Tizen.WatchfaceComplication.Tests/org.tizen.CsharpWatch-1.0.0.tpk differ diff --git a/tct-suite-vs/Tizen.WatchfaceComplication.Tests/testcase/TSComplication.cs b/tct-suite-vs/Tizen.WatchfaceComplication.Tests/testcase/TSComplication.cs index 12a09650a..7f708d445 100644 --- a/tct-suite-vs/Tizen.WatchfaceComplication.Tests/testcase/TSComplication.cs +++ b/tct-suite-vs/Tizen.WatchfaceComplication.Tests/testcase/TSComplication.cs @@ -193,6 +193,7 @@ namespace Tizen.Applications.WatchfaceComplication.Tests { public void GetCurrentProviderId_Return_Value() { _mc = new MyComplication(_notEditedCompId, ComplicationTypes.ShortText, EventTypes.EventTap, _providerId, ComplicationTypes.ShortText); + _mc.SendUpdateRequest(); Assert.IsNotNull(_mc, "Object should not be null after initializing"); Assert.IsInstanceOf(_mc, "Object should be instance of Complication"); string providerId = _mc.GetCurrentProviderId(); @@ -232,7 +233,7 @@ namespace Tizen.Applications.WatchfaceComplication.Tests { Assert.IsInstanceOf(_mc, "Object should be instance of Complication"); _mc.SendUpdateRequest(); - await Task.Delay(5000); + await Task.Delay(15000); Assert.AreNotEqual(_mc._extraData, null); _mc.Dispose(); } diff --git a/tct-suite-vs/Tizen.WatchfaceComplication.Tests/tizen-manifest.xml b/tct-suite-vs/Tizen.WatchfaceComplication.Tests/tizen-manifest.xml index 46c55f520..351f153c2 100644 --- a/tct-suite-vs/Tizen.WatchfaceComplication.Tests/tizen-manifest.xml +++ b/tct-suite-vs/Tizen.WatchfaceComplication.Tests/tizen-manifest.xml @@ -44,7 +44,11 @@ - + + + + + http://tizen.org/privilege/appmanager.launch