// NAnt - A .NET build tool // Copyright (C) 2001-2002 Gerry Shaw // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 2 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // // Clayton Harbour (claytonharbour@sporadicism.com) using System; using System.IO; using NUnit.Framework; using NAnt.Core; using NAnt.Core.Tasks; using Tests.NAnt.Core; namespace Tests.NAnt.VSNet.Tasks { /// /// Test that cpp projects are built successfully. /// [TestFixture] public class VbSolutionTests : SolutionTestBase { #region Private Static Fields // add fields here #endregion Private Static Fields #region Protected Static Fields /// /// LanguageType that is being tested. /// protected override LanguageType CurrentLanguage { get {return LanguageType.vb;} } #endregion #region Override implementation of SolutionTestBase /// /// Initialize example directory. /// public VbSolutionTests () { } /// /// Run the checkout command so we have something to update. /// [SetUp] protected override void SetUp () { base.SetUp (); } /// /// Remove the directory created by the checkout/ update. /// [TearDown] protected override void TearDown () { base.TearDown(); } #endregion Override implementation of SolutionTestBase #region Public Instance Methods /// /// Tests that the winforms solution builds using the nant solution task. Ensures that /// the outputs are generated correctly. /// [Test] public void TestWinForm () { this.GetCurrentSolutionFile("WinForms"); this.RunTestPlain(); } #endregion Public Instance Methods } }