Files
dotnet-runtime/src/libraries/System.Text.Encoding/tests/UTF7Encoding/UTF7EncodingGetDecoder.cs
T
Hugh Bellamy d871a6ba6b Cleanup UTF7Encoding tests
- Fix a bunch of tests that didn't actually test anything. They just called the method without any assertions or checks after.
- Rename tests to follow guidelines, instead of "PosTest1" and
"NegTest2"
- Take advantage of xunit
- Shorten tests by using quicker and newer code
- Use EncodingTestHelpers


Commit migrated from https://github.com/dotnet/corefx/commit/241262ac0ec5bea8c7a10e7ff115a142e2636290
2016-04-05 22:37:25 +01:00

19 lines
470 B
C#

// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
namespace System.Text.Tests
{
public class UTF7EncodingGetDecoder
{
[Fact]
public void GetDecoder()
{
Decoder decoder = new UTF7Encoding().GetDecoder();
Assert.NotNull(decoder);
}
}
}