Commit Graph
11 Commits
Author SHA1 Message Date
Hugh Bellamy 2540ee56b3 Address PR feedback
Commit migrated from https://github.com/dotnet/corefx/commit/609e9ab66c7ff6332665fe75dd7cfd1649daaed3
2016-03-31 18:13:04 +01:00
Hugh Bellamy 5afc5d0c67 Actually test GetBytes and GetChars in System.Text.Encoding
- Previous tests for GetBytes and GetChars did not test anything apart
from the return value: the method could've created any byte[] or char[]
result and we wouldn't have verified it.
- Also adds more coverage by testing more overloads of GetBytes and
GetChars


Commit migrated from https://github.com/dotnet/corefx/commit/2bd77a8c5f104624f403cb48c0bfabcdb9beaaf8
2016-03-31 11:34:56 +01:00
Hugh Bellamy c48fd59e48 Cleanup ASCIIEncoding tests
Use common helper that contains more tests than before


Commit migrated from https://github.com/dotnet/corefx/commit/a2a7bb46b9580677b0ab45d0ff965233b9af2b1a
2016-03-25 22:14:44 +00:00
Jon Hanna e0d1ada9bb Fix Multiple Typos [7]
Commit migrated from https://github.com/dotnet/corefx/commit/1ad3dfd20e56dab48384063f07e13f72d1dbcf96
2016-03-20 19:10:51 +00:00
Jon Hanna 109feb6662 Fix multiple typos.
Commit migrated from https://github.com/dotnet/corefx/commit/3e57029abfd9b205857460b89b9907ccaac4a249
2016-03-20 14:55:31 +00:00
Hugh Bellamy e5969d18a5 PR feedback
Commit migrated from https://github.com/dotnet/corefx/commit/36c02ae3445b2910398d68dd2e474fe92a9c6c9a
2016-02-28 23:54:49 +00:00
Hugh Bellamy 8540b84cc3 Cleanup ASCIIEncoding tests
- Rename tests to follow guidelines, instead of "PosTest1" and
"NegTest2"
- Take advantage of xunit
- Shorten tests by using quicker and newer code


Commit migrated from https://github.com/dotnet/corefx/commit/3fdec68d88d2d5ce9eafc988c3a42158e5b50f70
2016-02-27 15:42:51 +00:00
dotnet-bot 39d1eab950 Update licensing headers
Commit migrated from https://github.com/dotnet/corefx/commit/7cad8486cbabbce0236bdf530e30db7036335524
2016-01-27 08:02:28 -08:00
Stephen A. Imhoff bc392f1c9f Update test namespace in System.Text.Encoding, per dotnet/corefx#2898 .
- Add namespace in lone file.
 - Clean up `using`s.


Commit migrated from https://github.com/dotnet/corefx/commit/72f17d002e22670de2d1b9a6528f451715969aaf
2015-10-02 16:35:35 +09:00
stephentoub ae493cc005 Fix System.Text.Encoding tests to use non-static RNG
Commit migrated from https://github.com/dotnet/corefx/commit/1b5d9fb7503cc01a6fba08b5d9bf0eb9cfb031b6
2015-07-14 22:15:30 -04:00
Venkatraman Mahalingam e157c69bbc 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
2015-05-21 15:22:44 -07:00