public void TextUtilsEmbeddedItemInfoConstructor() { tlog.Debug(tag, $"TextUtilsEmbeddedItemInfoConstructor START"); var testingTarget = new EmbeddedItemInfo(); Assert.IsNotNull(testingTarget, "Can't create success object EmbeddedItemInfo"); Assert.IsInstanceOf <EmbeddedItemInfo>(testingTarget, "Should be an instance of EmbeddedItemInfo type."); testingTarget.Dispose(); tlog.Debug(tag, $"TextUtilsEmbeddedItemInfoConstructor END (OK)"); }
public void TextUtilsEmbeddedItemInfoAngle() { tlog.Debug(tag, $"TextUtilsEmbeddedItemInfoAngle START"); var testingTarget = new EmbeddedItemInfo(); Assert.IsNotNull(testingTarget, "Can't create success object EmbeddedItemInfo"); Assert.IsInstanceOf <EmbeddedItemInfo>(testingTarget, "Should be an instance of EmbeddedItemInfo type."); testingTarget.Angle = new Degree(30.0f); Assert.AreEqual(30.0f, testingTarget.Angle.Value, "Should be equal!"); testingTarget.Dispose(); tlog.Debug(tag, $"TextUtilsEmbeddedItemInfoAngle END (OK)"); }
public void TextUtilsEmbeddedItemInfoGlyphIndex() { tlog.Debug(tag, $"TextUtilsEmbeddedItemInfoGlyphIndex START"); var testingTarget = new EmbeddedItemInfo(); Assert.IsNotNull(testingTarget, "Can't create success object EmbeddedItemInfo"); Assert.IsInstanceOf <EmbeddedItemInfo>(testingTarget, "Should be an instance of EmbeddedItemInfo type."); testingTarget.GlyphIndex = 911; Assert.AreEqual(911, testingTarget.GlyphIndex, "Should be equal!"); testingTarget.Dispose(); tlog.Debug(tag, $"TextUtilsEmbeddedItemInfoGlyphIndex END (OK)"); }
public void TextUtilsEmbeddedItemInfoRotatedSize() { tlog.Debug(tag, $"TextUtilsEmbeddedItemInfoRotatedSize START"); var testingTarget = new EmbeddedItemInfo(); Assert.IsNotNull(testingTarget, "Can't create success object EmbeddedItemInfo"); Assert.IsInstanceOf <EmbeddedItemInfo>(testingTarget, "Should be an instance of EmbeddedItemInfo type."); testingTarget.RotatedSize = new Size(100.0f, 200.0f); Assert.AreEqual(100.0f, testingTarget.RotatedSize.Width, "Should be equal!"); Assert.AreEqual(200.0f, testingTarget.RotatedSize.Height, "Should be equal!"); testingTarget.Dispose(); tlog.Debug(tag, $"TextUtilsEmbeddedItemInfoRotatedSize END (OK)"); }
public void TextUtilsEmbeddedItemInfoPosition() { tlog.Debug(tag, $"TextUtilsEmbeddedItemInfoPosition START"); var testingTarget = new EmbeddedItemInfo(); Assert.IsNotNull(testingTarget, "Can't create success object EmbeddedItemInfo"); Assert.IsInstanceOf <EmbeddedItemInfo>(testingTarget, "Should be an instance of EmbeddedItemInfo type."); testingTarget.Position = new Vector2(100.0f, 200.0f); Assert.AreEqual(100.0f, testingTarget.Position.X, "Should be equal!"); Assert.AreEqual(200.0f, testingTarget.Position.Y, "Should be equal!"); testingTarget.Dispose(); tlog.Debug(tag, $"TextUtilsEmbeddedItemInfoPosition END (OK)"); }
public void TextUtilsEmbeddedItemInfoColorBlendingModee() { tlog.Debug(tag, $"TextUtilsEmbeddedItemInfoColorBlendingModee START"); var testingTarget = new EmbeddedItemInfo(); Assert.IsNotNull(testingTarget, "Can't create success object EmbeddedItemInfo"); Assert.IsInstanceOf <EmbeddedItemInfo>(testingTarget, "Should be an instance of EmbeddedItemInfo type."); testingTarget.ColorBlendingMode = Tizen.NUI.ColorBlendingMode.Multiply; Assert.AreEqual(Tizen.NUI.ColorBlendingMode.Multiply, testingTarget.ColorBlendingMode, "Should be equal!"); testingTarget.ColorBlendingMode = Tizen.NUI.ColorBlendingMode.None; Assert.AreEqual(Tizen.NUI.ColorBlendingMode.None, testingTarget.ColorBlendingMode, "Should be equal!"); testingTarget.Dispose(); tlog.Debug(tag, $"TextUtilsEmbeddedItemInfoColorBlendingModee END (OK)"); }