source: BMXNET_RPMS_dotNET_UTILITIES-BMX/branch/IHS BMX Framework/lib/NUnit/NUnit-2.5.10.11092/samples/Extensibility/Core/SampleSuiteExtension/Addin.cs@ 1146

Last change on this file since 1146 was 1146, checked in by Sam Habiel, 13 years ago

Initial Import of BMX4

File size: 908 bytes
Line 
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// ****************************************************************
6
7using System;
8using NUnit.Core.Extensibility;
9
10namespace NUnit.Core.Extensions
11{
12 /// <summary>
13 /// Summary description for Addin.
14 /// </summary>
15 [NUnitAddin(Name="SampleSuiteExtension", Description = "Recognizes Tests starting with SampleTest...")]
16 public class Addin : IAddin
17 {
18 #region IAddin Members
19 public bool Install(IExtensionHost host)
20 {
21 IExtensionPoint builders = host.GetExtensionPoint( "SuiteBuilders" );
22 if ( builders == null )
23 return false;
24
25 builders.Install( new SampleSuiteExtensionBuilder() );
26 return true;
27 }
28 #endregion
29 }
30}
Note: See TracBrowser for help on using the repository browser.