BrowserTestResultItem.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. // /* **********************************************************************************
  2. // *
  3. // * Copyright (c) Sky Sanders. All rights reserved.
  4. // *
  5. // * This source code is subject to terms and conditions of the Microsoft Public
  6. // * License (Ms-PL). A copy of the license can be found in the license.htm file
  7. // * included in this distribution.
  8. // *
  9. // * You must not remove this notice, or any other, from this software.
  10. // *
  11. // * **********************************************************************************/
  12. using System;
  13. using System.Collections.Generic;
  14. namespace CassiniDev
  15. {
  16. [Serializable]
  17. public class BrowserTestResultItem
  18. {
  19. public bool Success { get; set; }
  20. public string Name { get; set; }
  21. public int Failures { get; set; }
  22. public int Total { get; set; }
  23. public List<string> Log { get; set; }
  24. public virtual void Parse(string log)
  25. {
  26. throw new NotImplementedException();
  27. }
  28. public BrowserTestResultItem()
  29. {
  30. Items = new Dictionary<string, BrowserTestResultItem>();
  31. Log = new List<string>();
  32. }
  33. public Dictionary<string, BrowserTestResultItem> Items { get; set; }
  34. }
  35. }