32 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
Ludovic Henry 6e9c5ab5b3 [Linq] Replace implementation by Microsoft reference sources 2015-02-22 23:00:42 -05: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
Miguel de Icaza 071f495d6a 2010-04-12 Miguel de Icaza <[email protected]>
* Enumerable.cs: Jumbo patch that inlines code, mainly for the AOT
	scenario where we our compiler cant infer the extra layer of
	indirection of a lambda function.

	But additionally, since we lack support for our JIT to inline
	intermediate delegate calls, it should save memory and run
	faster. 

svn path=/trunk/mcs/; revision=155280
2010-04-13 02:49:19 +00:00
Jb Evain d7ea5c5e04 2010-03-24 Jb Evain <[email protected]>
* EnumerableTest.cs: add test for #582502.


svn path=/trunk/mcs/; revision=154155
2010-03-24 17:39:49 +00:00
Jb Evain 10c17dbb64 add tests
svn path=/trunk/mcs/; revision=134335
2009-05-18 17:09:29 +00:00
Jb Evain 757dbaa5f4 2009-04-03 Jb Evain <[email protected]>
* EnumerableTest.cs: test for bug 491841.


svn path=/trunk/mcs/; revision=130963
2009-04-03 10:58:05 +00:00
Jb Evain a2cf970c02 fixed
svn path=/trunk/mcs/; revision=130479
2009-03-28 21:57:41 +00:00
Jb Evain 31192936a0 2009-03-28 Jb Evain <[email protected]>
* EnumerableTest.cs: add test for bug #490016.


svn path=/trunk/mcs/; revision=130477
2009-03-28 21:48:57 +00:00
Jb Evain 4bbb23f446 we pass those
svn path=/trunk/mcs/; revision=127773
2009-02-23 18:13:22 +00:00
Jb Evain 5c1e8b92e8 more tests
svn path=/trunk/mcs/; revision=127758
2009-02-23 17:20:53 +00:00
Jb Evain 958164e595 new tests
svn path=/trunk/mcs/; revision=127757
2009-02-23 17:16:54 +00:00
Sebastien Pouliot 77232da4fa 2008-09-28 Sebastien Pouliot <[email protected]>
* EnumerableTest.cs: Add test case for Average with nullable long.


svn path=/trunk/mcs/; revision=114329
2008-09-28 14:55:12 +00:00
Jb Evain 8d8a72bb90 fix #415644
svn path=/trunk/mcs/; revision=109948
2008-08-08 08:41:14 +00:00
Jb Evain d7f1f90172 add test for Sum on empty
svn path=/trunk/mcs/; revision=104188
2008-05-27 19:26:57 +00:00
Jonathan Pryor 7b4f6d8c73 * System.Linq/Enumerable.cs: LongCount() can be optimized for arrays, and Reverse() can
be implemented in terms of IList w/o needing a temporary List<T> copy.
	* Test/System.Linq/EnumerableTest.cs: test Reverse() for non-IList types.
	* Test/System.Linq/EnumerableMoreTest.cs: test LongCount() for non-array types.

svn path=/trunk/mcs/; revision=102827
2008-05-08 19:57:18 +00:00
Jb Evain 4f84c15417 re-add range tests that were removed for some reason
svn path=/trunk/mcs/; revision=102325
2008-05-02 12:22:22 +00:00
Jb Evain c8e40b12bb new orderby test
svn path=/trunk/mcs/; revision=102324
2008-05-02 12:09:35 +00:00
Jb Evain 850cd5e3f0 we now pass this guy
svn path=/trunk/mcs/; revision=102298
2008-05-01 20:23:49 +00:00
Jb Evain d84840f18d oops
svn path=/trunk/mcs/; revision=102269
2008-05-01 10:17:31 +00:00
Jb Evain 6b3e73c275 more complex orderby test case
svn path=/trunk/mcs/; revision=102268
2008-05-01 10:16:00 +00:00
Jb Evain 3aaef36183 2008-04-30 Jb Evain <[email protected]>
* EnumerableTest.cs: tests for average on int and long.


svn path=/trunk/mcs/; revision=102178
2008-04-30 07:19:52 +00:00
Jb Evain 16b0de71fa reformat
svn path=/trunk/mcs/; revision=102176
2008-04-30 07:11:33 +00:00
Scott Thomas d4e5678dc1 Updated QuickSort algorithm and added a test for it.
svn path=/trunk/mcs/; revision=90372
2007-11-27 23:11:56 +00:00
Jb Evain 771c7636a9 2007-11-22 Jb Evain <[email protected]>
* EnumerableTest.cs: Add test for Range.


svn path=/trunk/mcs/; revision=90128
2007-11-22 08:58:11 +00:00
Jb Evain e13f7d7a5d enable
svn path=/trunk/mcs/; revision=89558
2007-11-13 14:24:29 +00:00
Jb Evain a49e17c9de 2007-11-13 Jb Evain <[email protected]>
* EnumerableTest.cs: unit tests are good.


svn path=/trunk/mcs/; revision=89514
2007-11-13 00:54:47 +00:00
Jb Evain b2ce24a10a 2007-11-08 Jb Evain <[email protected]>
* EnumerableTest.cs: add test for SequenceEqual.


svn path=/trunk/mcs/; revision=89276
2007-11-08 22:16:53 +00:00
Jb Evain 2ed1ea5062 2007-11-08 Jb Evain <[email protected]>
* EnumerableTest.cs: add simple test for Union.


svn path=/trunk/mcs/; revision=89236
2007-11-08 19:24:09 +00:00
Jb Evain b03540626a 2007-11-08 Jb Evain <[email protected]>
* EnumerableTest.cs: add simple test for intersect.


svn path=/trunk/mcs/; revision=89187
2007-11-08 14:17:39 +00:00
Jb Evain 911fbc229d 2007-11-06 Jb Evain <[email protected]>
* EnumerableTest.cs: add simple test for Except.

svn path=/trunk/mcs/; revision=88992
2007-11-06 16:10:46 +00:00