PageRenderTime 40ms CodeModel.GetById 15ms RepoModel.GetById 0ms app.codeStats 0ms

/src/NUnit/interfaces/Extensibility/TestFramework.cs

#
C# | 42 lines | 19 code | 4 blank | 19 comment | 0 complexity | b3beccaf6831c8551cbeb92746accfab MD5 | raw file
Possible License(s): GPL-2.0
  1. // ****************************************************************
  2. // This is free software licensed under the NUnit license. You
  3. // may obtain a copy of the license as well as information regarding
  4. // copyright ownership at http://nunit.org.
  5. // ****************************************************************
  6. using System;
  7. namespace NUnit.Core.Extensibility
  8. {
  9. /// <summary>
  10. /// Summary description for TestFramework.
  11. /// </summary>
  12. [Serializable]
  13. public class TestFramework
  14. {
  15. #region Instance Fields
  16. /// <summary>
  17. /// The name of the framework
  18. /// </summary>
  19. public string Name;
  20. /// <summary>
  21. /// The file name of the assembly that defines the framwork
  22. /// </summary>
  23. public string AssemblyName;
  24. #endregion
  25. #region Constructor
  26. /// <summary>
  27. /// Constructs a TestFramwork object given its name and assembly name.
  28. /// </summary>
  29. /// <param name="frameworkName"></param>
  30. /// <param name="assemblyName"></param>
  31. public TestFramework( string frameworkName, string assemblyName )
  32. {
  33. this.Name = frameworkName;
  34. this.AssemblyName = assemblyName;
  35. }
  36. #endregion
  37. }
  38. }