25 lines
547 B
C#
25 lines
547 B
C#
using System;
|
|
using Microsoft.AspNet.Testing.xunit;
|
|
|
|
namespace E2ETests
|
|
{
|
|
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
|
|
public class SkipOn32BitOSAttribute : Attribute, ITestCondition
|
|
{
|
|
public bool IsMet
|
|
{
|
|
get
|
|
{
|
|
return Environment.Is64BitOperatingSystem;
|
|
}
|
|
}
|
|
|
|
public string SkipReason
|
|
{
|
|
get
|
|
{
|
|
return "Skipping the AMD64 test since the OS is 32-bit";
|
|
}
|
|
}
|
|
}
|
|
} |