LayoutTestResult.cs 646 B

123456789101112131415161718192021222324
  1. using QuestPDF.Infrastructure;
  2. namespace QuestPDF.LayoutTests.TestEngine;
  3. internal class LayoutTestResult
  4. {
  5. public Size PageSize { get; set; }
  6. public ICollection<PageLayoutSnapshot> ActualLayout { get; set; }
  7. public ICollection<PageLayoutSnapshot> ExpectedLayout { get; set; }
  8. public class PageLayoutSnapshot
  9. {
  10. public Size RequiredArea { get; set; }
  11. public ICollection<MockLayoutPosition> MockPositions { get; set; }
  12. }
  13. public class MockLayoutPosition
  14. {
  15. public string MockId { get; set; }
  16. public Position Position { get; set; }
  17. public Size Size { get; set; }
  18. }
  19. }