a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
23 lines
734 B
C#
23 lines
734 B
C#
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
|
|
|
|
namespace Microsoft.TestCommon
|
|
{
|
|
/// <summary>
|
|
/// MSTest timeout constants for use with the <see cref="Microsoft.VisualStudio.TestTools.UnitTesting.TimeoutAttribute"/>.
|
|
/// </summary>
|
|
public class TimeoutConstant
|
|
{
|
|
private const int seconds = 1000;
|
|
|
|
/// <summary>
|
|
/// The default timeout for test methods.
|
|
/// </summary>
|
|
public const int DefaultTimeout = 30 * seconds;
|
|
|
|
/// <summary>
|
|
/// An extendedn timeout for longer running test methods.
|
|
/// </summary>
|
|
public const int ExtendedTimeout = 240 * seconds;
|
|
}
|
|
}
|