1 using NUnit.Framework;
5 namespace Tizen.NUI.Devel.Tests
7 using tlog = Tizen.Log;
10 [Description("internal/Xaml/DesignMode")]
11 public class InternalXamlDesignModeTest
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 bool b1 = DesignMode.IsDesignModeEnabled;
40 DesignMode.IsDesignModeEnabled = b1;
44 Tizen.Log.Error(tag, "Caught Exception" + e.ToString());
45 Assert.Fail("Caught Exception" + e.ToString());
48 tlog.Debug(tag, $"DesignModeIsDesignModeEnabled END (OK)");
49 Assert.Pass("DesignModeIsDesignModeEnabled");