124 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 dc9bc9e0e6 Enables SRE for wasm 2019-01-23 11:17:47 +01:00
Vlad Brezae 9c6d733449 [interp] Fix rethrow (#11844)
* [interp] Remove some useless code

* [interp] Remove useless variable

When unwinding, we get the last interp frame that was executing from the LMF marker.

* [interp] Rethrow from the actual ip

Before we would rethrow from ip - 1 which could be part of another clause, screwing up EH.

* [interp] Enable all bcl disabled tests
2018-11-30 11:22:11 +02:00
Bernhard Urban ffdb072fdf [interp] add System.Core tests to CI (#8371)
https://github.com/mono/mono/issues/7053
2018-04-23 12:52:07 -04:00
Bernhard Urban 746a3d0214 [corlib] rename NotWorkingInterpreter and InterpreterNotWorking categories (#6225) 2017-12-14 00:52:49 +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 b03e606287 Remove ChangeLog files from the repo
They weren't updated in the last 6 years and aren't helpful anymore (e.g. by causing unrelated matches during git grep searches).
2016-01-29 19:17:06 +01: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
Ludovic Henry 6e9c5ab5b3 [Linq] Replace implementation by Microsoft reference sources 2015-02-22 23:00:42 -05:00
Marek Safar bdd4bd1066 [system.core] Enable disabled test 2014-11-22 13:48:38 +01:00
Marek Safar 9425cb5055 [system.core] Replace PLINQ implementation with .net version 2014-11-22 13:36:41 +01:00
Zoltan Varga 34fa78a5d8 [bcl] Work around quadratic behavior in NunitLite's AreEquivalent () methods. 2014-03-08 16:11:36 -05:00
Marek Safar f2eab9919d [dlr] Handle more expressions in interpreter 2014-01-26 11:35:09 +01: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
Marek Safar 521a61ae5d [linq] Enumerable.Join and GroupJoin needs to ignore null keys. Fixes #16530 2013-12-02 19:03:37 +01:00
Marek Safar f33ed3fd4f Fixes parallel enumerable index counter. Fixes #14515 2013-09-09 09:12:41 +02:00
Zoltan Varga 013a38cfba Implement MethodMirror.MakeGenericMethod (). 2013-06-04 08:01:32 +02:00
Marek Safar 1ff548cb12 Update for mobile profile 2013-02-27 14:08:38 +01:00
Jérémie Laval 551ca84754 [System.Core] Fix compare bug in PLinq's Contains implementation 2012-09-06 13:23:07 +01:00
Jérémie Laval 4ceeaaae89 [System.Core] Fix issue in Join where some data might have been dismissed by accident 2012-09-05 15:37:49 +01:00
Jérémie Laval bc2a63cd96 [System.Core] Returns false in SequenceEqual when the two sequences size are different 2012-09-04 16:36:36 +01:00
Marek Safar 0950176a56 Disable TestGroupBy 2012-06-25 11:12:42 +01:00
Jeremie Laval e2429c7013 [System.Core] Restore ParallelEnumerable tests 2012-06-19 17:12:46 +01:00
Marek Safar b10a33f7ab Disable some deadlocking plinq tests 2012-06-14 17:11:47 +01:00
Rodrigo Kumpera 121776defb Fix error message. 2011-11-25 10:03:50 -02:00
Rodrigo Kumpera 355f3ff9dc Improve error reporting on test failure. 2011-11-24 21:03:13 -02:00
Jb Evain 8dd7cde335 add test case for #701187 2011-06-23 00:11:34 +02:00
Atsushi Eno c838b12b2e Remove obsolete nunit syntax from tests except for Assertion usage. 2011-04-06 20:01:27 +09:00
Jb Evain e508315f87 Add test for Reverse over arrays 2011-01-26 00:08:41 +01:00
Jb Evain 96ee0a8380 Add test for Enumeerable.Range high boundaries 2011-01-25 23:46:22 +01:00
Jérémie Laval 4dfafb9da5 Add bigger unit test for Intersect and Union 2011-01-07 11:18:23 +00:00
Jb Evain beb2696811 Add test for bug #661462 2010-12-30 16:20:44 +01:00
Jérémie Laval d0bc2ba835 Fixicate some unit test 2010-12-03 16:59:44 +00:00
Jérémie Laval 34f14e5178 [PLinq] Split long running test in two 2010-11-26 14:10:04 +00:00
Jérémie Laval 840fed03fc [Plinq] Force strict parallelism in all PLinq unit tests 2010-09-02 11:11:50 +01:00
Jérémie Laval 40b3724b7b [PLinq] Remove the scwl noise in ParallelEnumerable TestOrderByAgeAscendingTheByNameDescending test 2010-08-27 17:29:59 +01:00
Jérémie Laval ec820e9208 [PLinq] Add Cancellation checks even deeper. Introduce merge token.
Merge token are simply the combined cancellation source of user (i.e. token supplied with PLinq operator WithCancellation) and internal tokens (supplied with WithImplementerToken).
2010-08-26 22:28:06 +01:00
Jérémie Laval 77ef827491 [PLinq] Enable First and FirstOrDefault unit tests 2010-08-26 13:45:50 +01:00
Jérémie Laval 6c0fa71d33 [PLinq] Reactivate a bunch more of unit tests 2010-08-26 12:05:44 +01:00
Jérémie Laval 189a1d07a2 [PLinq] Add SelectMany unit tests 2010-08-26 11:26:42 +01:00
Jérémie Laval 427a08307e [PLinq] Add GroupBy unit tests 2010-08-25 10:54:16 +01:00
Jérémie Laval d1624718c8 [PLinq] Add test for Join operator 2010-08-24 14:09:09 +01:00
Jérémie Laval f00afa22f2 [PLinq] Add implementation of Take/TakeWhile operators (including corresponding query node and unit tests) 2010-08-20 14:48:21 +01:00
Jb Evain ad42775d82 Add test for #611821 2010-08-19 12:34:38 +02:00
Jérémie Laval ccea4ec859 [PLinq] Tune SkipWhile operator, re-enable its unit tests 2010-08-18 10:33:17 +01:00
Jérémie Laval f6d5a369e7 [PLinq] Re-enable tests that were previously [Ignore]'ed 2010-08-18 10:11:10 +01:00
Jérémie Laval c8fd34ce9c [PLinq] Add more twist to unit tests by forcing use of a standard IEnumerable. 2010-08-17 17:01:04 +01:00