示例#1
0
        public void testArrayAttribute()
        {
            String               statement = "define id as Integer[] attribute";
            ETestParser          parser    = new ETestParser(statement, false);
            AttributeDeclaration ad        = parser.parse_attribute_declaration();

            Assert.IsNotNull(ad);
            Assert.AreEqual("id", ad.GetName());
            Assert.AreEqual("Integer[]", ad.getIType().GetTypeName());
        }