コード例 #1
0
        public void GlossaryDefaultValue_Definition()
        {
            Definition definition;

            definition = new Definition();
            Assert.IsNull(definition.Source, "Source is incorrect.");
            Assert.IsNull(definition.Text, "Text is incorrect.");
        }
コード例 #2
0
 public void TestInitialize()
 {
     this.element = new Definition();
     this.provider = this.element;
 }
コード例 #3
0
        /// <summary>
        /// Creates a glossary definition with every element and attribute.
        /// </summary>
        /// <returns>The created glossary definition.</returns>
        private Definition CreateGlossaryDefinition()
        {
            Definition result;

            result = new Definition();
            result.Source = "definitionSource";
            result.Text = "definition text";

            return result;
        }