public void GetQueryObjectGroup_Ok() { LiteSerializer serializer = new LiteSerializer(); LiteSqlConfig config = serializer.FromXml <LiteSqlConfig>("./litesql.xml"); QueryObjectGroup queryObjectGroup = config.GetQueryObjectGroup("group1"); Assert.NotNull(queryObjectGroup); }
public void GetQueryObject_For_Chinese_Ok() { LiteSerializer serializer = new LiteSerializer(); LiteSqlConfig config = serializer.FromXml <LiteSqlConfig>("./litesql.xml"); QueryObject queryObject = config.GetQueryObjectGroup("分组3") .GetQueryObject("查询4"); Assert.NotNull(queryObject); }