1 using NUnit.Framework;
5 namespace Tizen.NUI.Devel.Tests
7 using tlog = Tizen.Log;
10 [Description("internal/Xaml/DesignMode")]
11 public class InternalDesignModeTest
13 private const string tag = "NUITEST";
18 tlog.Info(tag, "Init() is called!");
24 tlog.Info(tag, "Destroy() is called!");
29 [Description("DesignMode IsDesignModeEnabled")]
30 [Property("SPEC", "Tizen.NUI.DesignMode.IsDesignModeEnabled A")]
31 [Property("SPEC_URL", "-")]
32 [Property("CRITERIA", "PRW")]
33 public void DesignModeIsDesignModeEnabled()
35 tlog.Debug(tag, $"DesignModeIsDesignModeEnabled START");
39 var mode = DesignMode.IsDesignModeEnabled;
40 DesignMode.IsDesignModeEnabled = mode;
41 Assert.AreEqual(mode, DesignMode.IsDesignModeEnabled, "Should be equal");
45 tlog.Debug(tag, e.Message.ToString());
46 Assert.Fail("Caught Exception : Failed!");
49 tlog.Debug(tag, $"DesignModeIsDesignModeEnabled END");