AtSpiTest.TextTest.Attributes C# (CSharp) Метод

Attributes() приватный Метод

private Attributes ( ) : void
Результат void
        public void Attributes()
        {
            int startOffset, endOffset;
            bool defined;
            Assert.AreEqual (String.Empty, text.GetAttributeValue (5, "none", out startOffset, out endOffset, out defined), "GetAttributeValue");
            Assert.IsFalse (defined, "defined");

            IDictionary<string, string> attributes;
            attributes = text.GetAttributeRun (1, out startOffset, out endOffset, true);
            Assert.AreEqual ("0", attributes ["left-margin"], "GetAttributeRun left-margin");
            attributes = text.GetDefaultAttributeSet ();
            Assert.AreEqual ("0", attributes ["left-margin"], "GetDefaultAttributeSet left-margin");
            // We should theoretically test
            // editableText.SetAttributes, but it is unimplemented
        }