ABB.Swum.Tests.ContextBuilderTests.TestConstructTypeName_MultipleNames C# (CSharp) Méthode

TestConstructTypeName_MultipleNames() private méthode

private TestConstructTypeName_MultipleNames ( ) : void
Résultat void
        public void TestConstructTypeName_MultipleNames() {
            string testSrcML = "<type><name>static</name> <name>int</name></type>";
            XElement xml = XElement.Parse(string.Format(srcMLFormat, testSrcML), LoadOptions.PreserveWhitespace);

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