ABB.Swum.Tests.ContextBuilderTests.TestConstructTypeName_ConstObject C# (CSharp) Метод

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

private TestConstructTypeName_ConstObject ( ) : void
Результат void
        public void TestConstructTypeName_ConstObject() {
            string testSrcML = "<type><name>const</name> <name>Foo</name></type>";
            XElement xml = XElement.Parse(string.Format(srcMLFormat, testSrcML), LoadOptions.PreserveWhitespace);

            bool isPrimitive;
            Assert.AreEqual("Foo", ContextBuilder.ConstructTypeName(xml.Element(SRC.Type), out isPrimitive));
            Assert.AreEqual(false, isPrimitive);
        }