Exemple #1
0
        public void testArgument()
        {
            String          statement = "Person p";
            ETestParser     parser    = new ETestParser(statement, false);
            ITypedParameter a         = parser.parse_typed_argument();

            Assert.IsNotNull(a);
            Assert.AreEqual("Person", a.getType().GetTypeName());
            Assert.AreEqual("p", a.GetName());
        }
Exemple #2
0
 /// <summary>
 /// Add a value to parameters
 /// </summary>
 /// <param name="key"></param>
 /// <param name="val"></param>
 public void AddValue(String key, ITypedParameter val)
 {
     encapsulated_.Add(key, val);
 }