// **************************************************************** // Copyright 2007, Charlie Poole // This is free software licensed under the NUnit license. You may // obtain a copy of the license at http://nunit.org/?p=license&r=2.4 // **************************************************************** using System; using System.Collections; using System.Reflection; using System.IO; using System.Text; namespace NUnit.Core { /// /// TestAssemblyInfo holds information about a loaded test assembly /// [Serializable] public class TestAssemblyInfo { private string assemblyName; private Version runtimeVersion; private IList testFrameworks; /// /// Constructs a TestAssemblyInfo /// /// The name of the assembly /// The version of the runtime for which the assembly was built /// A list of test framework useds by the assembly public TestAssemblyInfo( string assemblyName, Version runtimeVersion, IList testFrameworks ) { this.assemblyName = assemblyName; this.runtimeVersion = runtimeVersion; this.testFrameworks = testFrameworks; } /// /// Gets the name of the assembly /// public string Name { get { return assemblyName; } } /// /// Gets the runtime version for which the assembly was built /// public Version RuntimeVersion { get { return runtimeVersion; } } /// /// Gets a list of testframeworks referenced by the assembly /// public IList TestFrameworks { get { return testFrameworks; } } } }