Porting System.Text.Encoding from ToF and unified 4.0 and 4.10 tests into same folder

[tfs-changeset: 1474146]


Commit migrated from https://github.com/dotnet/corefx/commit/1394fa1c2539f289916b9c0641f81436b73e8794
This commit is contained in:
Venkatraman Mahalingam authored and Venkatraman Mahalingam committed 2015-05-21 15:22:44 -07:00
1 parent 40a96f0d15
commit e157c69bbc
104 files changed
+12887

No files matched your search

@@ -0,0 +1,25 @@
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Text;
using Xunit;
namespace System.Text.EncodingTests
{
// ASCIIEncoding.GetEncoder()
public class ASCIIEncodingGetEncoder
{
// PosTest1: reference of ASCIIEncoding class is created via default constructor.
[Fact]
public void PosTest1()
{
ASCIIEncoding ascii;
Encoder actualEncoder;
ascii = new ASCIIEncoding();
actualEncoder = ascii.GetEncoder();
Assert.NotNull(actualEncoder);
}
}
}