You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

LuFilterTests.cs 523B

12345678910111213141516171819
  1. using Luticate2.Auth.Business.Pagination;
  2. using Luticate2.Auth.Dbo;
  3. using Luticate2.Auth.Dbo.Auth;
  4. using Luticate2.Auth.Dbo.Result;
  5. using Xunit;
  6. namespace Luticate2.Auth.Tests.Business.Pagination
  7. {
  8. public class LuFilterTests
  9. {
  10. [Fact]
  11. public void Test1()
  12. {
  13. var filterResult = LuFilterParser.Parse<LuGroupDbo>("x.Name.Contains(\"test\")");
  14. Assert.Equal(LuStatus.Success.ToInt(), filterResult.Status);
  15. Assert.NotNull(filterResult.Data);
  16. }
  17. }
  18. }