Removed the last traces of Windows Phone 7 and Xbox 360 support
git-svn-id: file:///srv/devel/repo-conversion/nusu@314 d2e56fa2-650e-0410-a79f-9358c0239efd
This commit is contained in:
parent
9a4a051100
commit
b1b1f02e6f
5 changed files with 6 additions and 816 deletions
|
|
@ -51,20 +51,6 @@ namespace Nuclex.Support {
|
|||
|
||||
#endregion // enum EmptyEnumeration
|
||||
|
||||
/// <summary>
|
||||
/// Verifies that the enum helper can list the members of an enumeration
|
||||
/// manually (as it needs to be done on the XBox 360)
|
||||
/// </summary>
|
||||
[Test]
|
||||
public void TestGetValuesXbox360() {
|
||||
CollectionAssert.AreEquivalent(
|
||||
new TestEnumeration[] {
|
||||
TestEnumeration.One, TestEnumeration.Two, TestEnumeration.Three
|
||||
},
|
||||
EnumHelper.GetValuesXbox360<TestEnumeration>()
|
||||
);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Verifies that the enum helper can list the members of an enumeration
|
||||
/// </summary>
|
||||
|
|
@ -98,17 +84,6 @@ namespace Nuclex.Support {
|
|||
);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Tests whether an exception is thrown if the GetValuesXbox360() method is
|
||||
/// used on a non-enumeration type
|
||||
/// </summary>
|
||||
[Test]
|
||||
public void TestThrowOnNonEnumTypeXbox360() {
|
||||
Assert.Throws<ArgumentException>(
|
||||
delegate() { EnumHelper.GetValuesXbox360<int>(); }
|
||||
);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Tests whether an exception is thrown if the GetValues() method is used on
|
||||
/// a non-enumeration type
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue