示例#1
0
        public void Parse_Basic(string queryAsString, SyntaxQueryKeyword expectedTarget)
        {
            var query = new SyntaxQueryParser().Parse(queryAsString);

            Assert.Equal(expectedTarget, query.Keyword);
        }
示例#2
0
        public void Parse_Axis(string queryAsString, SyntaxQueryAxis expectedAxis)
        {
            var query = new SyntaxQueryParser().Parse(queryAsString);

            Assert.Equal(expectedAxis, query.Axis);
        }
示例#3
0
 public ConfigurationLoader(SyntaxQueryParser parser)
 {
     _parser = parser;
 }