1 // ****************************************************************
2 // Copyright 2007, Charlie Poole
3 // This is free software licensed under the NUnit license. You may
4 // obtain a copy of the license at http://nunit.org/?p=license&r=2.4
5 // ****************************************************************
7 using System
.Collections
;
8 using System
.Reflection
;
15 /// TestAssemblyInfo holds information about a loaded test assembly
18 public class TestAssemblyInfo
20 private string assemblyName
;
21 private Version runtimeVersion
;
22 private IList testFrameworks
;
25 /// Constructs a TestAssemblyInfo
27 /// <param name="assemblyName">The name of the assembly</param>
28 /// <param name="runtimeVersion">The version of the runtime for which the assembly was built</param>
29 /// <param name="testFrameworks">A list of test framework useds by the assembly</param>
30 public TestAssemblyInfo( string assemblyName
, Version runtimeVersion
, IList testFrameworks
)
32 this.assemblyName
= assemblyName
;
33 this.runtimeVersion
= runtimeVersion
;
34 this.testFrameworks
= testFrameworks
;
38 /// Gets the name of the assembly
42 get { return assemblyName; }
46 /// Gets the runtime version for which the assembly was built
48 public Version RuntimeVersion
50 get { return runtimeVersion; }
54 /// Gets a list of testframeworks referenced by the assembly
56 public IList TestFrameworks
58 get { return testFrameworks; }