// **************************************************************** // 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; namespace NUnit.Core { /// /// The ResultState enum indicates the result of running a test /// public enum ResultState { /// /// The test succeeded /// Success, /// /// The test failed /// Failure, /// /// The test encountered an unexpected exception /// Error } /// /// The FailureSite enum indicates the stage of a test /// in which an error or failure occured. /// public enum FailureSite { /// /// The location of the failure is not known /// Unknown, /// /// Failure in the test itself /// Test, /// /// Failure in the SetUp method /// SetUp, /// /// Failure in the TearDown method /// TearDown, /// /// Failure of a parent test /// Parent, /// /// Failure of a child test /// Child } }