3 using NUnit.Framework.TUnit;
4 using Tizen.NUI.Components;
5 using Tizen.NUI.BaseComponents;
6 using System.Collections.Generic;
8 namespace Tizen.NUI.Devel.Tests
10 using tlog = Tizen.Log;
13 [Description("internal/FrameBroker/FrameBrokerBase")]
14 public class InternalFrameBrokerBaseTest
16 private const string tag = "NUITEST";
17 private const string MyAppId = "org.tizen.SampleServiceApp.Tizen";
18 private string path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "picture.png";
23 tlog.Info(tag, "Init() is called!");
29 tlog.Info(tag, "Destroy() is called!");
34 [Description("FrameBrokerBase SendLaunchRequest.")]
35 [Property("SPEC", "Tizen.NUI.FrameBrokerBase.SendLaunchRequest M")]
36 [Property("SPEC_URL", "-")]
37 [Property("CRITERIA", "MR")]
38 [Property("AUTHOR", "guowei.wang@samsung.com")]
39 public void FrameBrokerBaseSendLaunchRequestNullAppControl()
41 tlog.Debug(tag, $"FrameBrokerBaseSendLaunchRequestNullAppControl START");
43 using (Window window = new Window(new Rectangle(0, 0, 100, 200), false))
45 var testingTarget = new DefaultFrameBroker(window);
46 Assert.IsNotNull(testingTarget, "Can't create success object CustomView");
47 Assert.IsInstanceOf<DefaultFrameBroker>(testingTarget, "Should be an instance of DefaultFrameBroker type.");
51 testingTarget.SendLaunchRequest(null, true);
55 testingTarget.Dispose();
56 tlog.Debug(tag, e.Message.ToString());
57 tlog.Debug(tag, $"FrameBrokerBaseSendLaunchRequestNullAppControl END (OK)");
58 Assert.Pass("Caught ArgumentException : Passed!");