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

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

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