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