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

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

private TestConstructTypeName_PointerToConstObj ( ) : void
Результат void
        public void TestConstructTypeName_PointerToConstObj() {
            string testSrcML = "<type><name>Foo</name> <name>const</name><type:modifier>*</type:modifier></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);
        }