19 Commits
Author SHA1 Message Date
Martin Baulig ccb95fc05f [wasm]: Disable managed collation on wasm. (#13684)
* The `SimpleCollator` class now implements a new internal interface `ISimpleCollator`.
  In `CompareInfo`, we reference it by that interface everywhere except `GetCollator ()`,
  so we can `#if`-def it out.

  Later on, we will use the linker to do this dynamically with some sort of conditional,
  but even then the interface is required to limit references to the `SimpleCollator` type
  to one single method.

* Add `Mono.Globalization.Unicode/SimpleCollator.cs` to `wasm_corlib.dll.exclude.sources`.

* `corlib/Makefile`: remove collation resources on WASM.

* Added new `[Category ("ManagedCollator")]` to the relevant tests.
2019-03-29 21:31:17 +01:00
Marek Safar b674f24074 [System.Core] LINQ from corefx 2016-12-21 10:07:54 +01:00
Marcos Henrich 863dc73d19 [bcl] Add NUnitHelper.cs with API not in nunit-lite
NUnitHelper.cs adds CollectionAssert, FileAssert, StringAssert.

Also adds AssertHelper class with methods that are not part of nunitlite
Assert class.
2016-10-29 14:09:33 +02:00
Alexander Köplinger 98cf04084a [bcl] Remove NET_4_0 defines from class libs
NET_4_0 is always defined now, so the ifdefs are redundant.
I verified the libs are exactly the same after this change, so this is effectively a no-op.
2015-07-26 15:01:49 +02:00
Sebastien Pouliot 2ef208b1a6 [Test] Fix build of System.Core unit tests 2013-12-05 17:52:53 -05:00
Blewzman f17a1808cc Small coding style fixes. 2013-12-05 19:49:04 +01:00
Blewzman 3eae2c2407 Support IReadOnlyList in System.Linq.Enumerable.ElementAt and ElementAtOrDefault - with additional unit tests. 2013-12-05 19:35:35 +01:00
Atsushi Eno c838b12b2e Remove obsolete nunit syntax from tests except for Assertion usage. 2011-04-06 20:01:27 +09:00
Marek Safar 5688d1dee4 Zip tests.
svn path=/trunk/mcs/; revision=152261
2010-02-23 10:44:18 +00:00
Raja R Harinath 7eb0cf62a1 fix build break
svn path=/trunk/mcs/; revision=137408
2009-07-06 14:51:46 +00:00
Jb Evain 4ada7de54a update backlinq tests
svn path=/trunk/mcs/; revision=125173
2009-01-30 23:08:18 +00:00
Jb Evain bebe8e4ae3 we pass this test
svn path=/trunk/mcs/; revision=124231
2009-01-22 17:34:37 +00:00
Jb Evain d82eee830b passing those
svn path=/trunk/mcs/; revision=124221
2009-01-22 16:02:01 +00:00
Jb Evain 994549d704 we pass those
svn path=/trunk/mcs/; revision=124217
2009-01-22 15:41:02 +00:00
Jb Evain 7190a31e60 we pass those
svn path=/trunk/mcs/; revision=124214
2009-01-22 15:07:51 +00:00
Jb Evain f853e0e603 passing those
svn path=/trunk/mcs/; revision=124211
2009-01-22 14:57:54 +00:00
Jb Evain 1df086865b add a missing NotWorking
svn path=/trunk/mcs/; revision=124208
2009-01-22 14:50:00 +00:00
Jb Evain 76587acd4d reformat
svn path=/trunk/mcs/; revision=124206
2009-01-22 14:44:19 +00:00
Jb Evain e5e26df53a import the BackLinq tests
svn path=/trunk/mcs/; revision=124202
2009-01-22 14:31:43 +00:00