Commit Graph
27 Commits
Author SHA1 Message Date
Eyal Alalouf f65669f34f Port NUnit tests to TARGET_JVM configuration.
svn path=/trunk/mcs/; revision=73714
2007-03-05 14:57:05 +00:00
Atsushi Eno d211f6102b 2006-01-18 Atsushi Enomoto <[email protected]>
* ThreadTest.cs : mark not-working tests as [Ignore] since it blocks
	  run-test-ondotnet under 2.0 profile.


svn path=/trunk/mcs/; revision=55724
2006-01-18 14:17:13 +00:00
Sebastien Pouliot 163d45221b 2005-10-06 Sebastien Pouliot <[email protected]>
* ThreadTest.cs: Added regression test for #76332 when an IPrincipal
	instance should be copied in any new thread created.


svn path=/trunk/mcs/; revision=51333
2005-10-06 13:20:21 +00:00
Raja R Harinath 2e0c1ee3ac revert accidental checkin. This doesn't re-enable those tests since the
TestSuites themselves are disabled.


svn path=/trunk/mcs/; revision=46089
2005-06-16 12:51:54 +00:00
Raja R Harinath 3bb11dfff8 In System.Collections.Generic:
* Dictionary.cs (GetKeys, GetValues): Remove.
	(SetThreshold): New function to calculate the resize threshold.
	(CopyTo): Don't use foreach syntax.
	(ContainsValue): Likewise.  Use default equality comparer of the
	value type.
	(GetObjectData): Use CopyTo to copy into temporary array.  Don't
	save redundant _usedSlots and _threshold.
	(OnDeserialization): Rewrite.
	(ICollection<>.CopyTo): Forward to CopyTo.
	(Enumerator._nextIndex): Rename to from _index.
	(Enumerator._next, Enumerator.FixNext): Remove.
	(Enumerator.Current): Rewrite to avoid need for _next.
	(Enumerator.IEnumerator.Reset): Update.
	(KeyCollection): Is also IEnumerable<TKey> and IEnumerable.
	Update methods to conform to standard.
	(KeyCollection.GetEnumerator): Restore.  Return the correct type.
	(KeyCollection.Enumerator): Rename from KeyEnumerator.  Simple
	wrapper that forwards to Dictionary<,>.Enumerator.
	(ValueCollection): Likewise.

In Test/System.Collections.Generic:
	* DictionaryTest.cs (SliceCollectionsEnumeratorTest): New test
	based on #75053.

svn path=/trunk/mcs/; revision=46087
2005-06-16 12:45:33 +00:00
Ben Maurer 9f7d33696e warnings
svn path=/trunk/mcs/; revision=45714
2005-06-09 17:35:29 +00:00
Ben Maurer c7eebdf95a re-disable stuff
svn path=/trunk/mcs/; revision=45713
2005-06-09 17:32:16 +00:00
Gonzalo Paniagua Javier 58df5bd3a6 2005-06-06 Gonzalo Paniagua Javier <[email protected]>
* ThreadTest.cs: sanitize waiting for a thread that might be already
	done. Added test for Thread.Start called after thread.Abort, which used
	to segfault.


svn path=/trunk/mcs/; revision=45464
2005-06-06 03:23:25 +00:00
Gonzalo Paniagua Javier 2f6782db8d Enabled a bunch of tests that work fine now
svn path=/trunk/mcs/; revision=45450
2005-06-06 00:02:10 +00:00
Ben Maurer 820f4ddc9b threading tests fuck 2.0, news at 11
svn path=/trunk/mcs/; revision=40784
2005-02-17 02:06:01 +00:00
Nick Drochak 381ae4cd18 2005-01-31 Nick Drochak <[email protected]>
* ThreadTest.cs: SuspendAbort is not working it seems.

svn path=/trunk/mcs/; revision=39845
2005-01-31 14:07:35 +00:00
Nick Drochak b0fdbf999a 2005-01-18
svn path=/trunk/mcs/; revision=39092
2005-01-18 14:14:31 +00:00
Nick Drochak 8067110646 2005/01/03 Nick Drochak <[email protected]>
* System.Globalization/TextInfoTest.cs
* System/BitConverterTest.cs.orig
* System/ConvertTest.cs
* System/TypeTest.cs
* System/AppDomainSetupTest.cs
* System/StringTest.cs
* System/BitConverterTest.cs
* System/AppDomainTest.cs
* System.Threading/ThreadTest.cs
* System.Security.Policy/ZoneTest.cs
* System.Runtime.Remoting/SynchronizationAttributeTest.cs
* System.Security.Permissions/FileIOPermissionTest.cs
* System.Security.Permissions/FileIOPermissionAttributeTest.cs
* System.Security.Permissions/SecurityPermissionTest.cs
* System.Reflection.Emit/TypeBuilderTest.cs
* System.Reflection/AssemblyTest.cs:

Make tests pass on MS DotNet

svn path=/trunk/mcs/; revision=38263
2005-01-03 04:29:52 +00:00
Lluis Sanchez 5bda6f1f2c * ThreadTest.cs, MutexTest.cs: Don't leave any thread alive, even if the
thread fails. Added a timeout to active waits.

svn path=/trunk/mcs/; revision=34247
2004-09-22 19:06:50 +00:00
Nick Drochak c9ce7eaa1f 2004-08-25 Nick Drochak <[email protected]>
* ThreadTest.cs: Some tests hang on MS.NET so ignore them.

svn path=/trunk/mcs/; revision=32789
2004-08-24 19:52:07 +00:00
Dick Porter 0b31cdd230 2004-06-22 Dick Porter <[email protected]>
* MutexTest.cs: No need to ignore these tests now

	* ThreadTest.cs: You can't Start() a thread that's been aborted.
	Improve state tests.

svn path=/trunk/mcs/; revision=30108
2004-06-22 11:55:25 +00:00
Lluis Sanchez e51bb93c12 * ThreadTest.cs: Improved test.
svn path=/trunk/mcs/; revision=29719
2004-06-16 23:12:10 +00:00
Lluis Sanchez 142390ed0a * TimerTest.cs: Added more tests.
* ThreadTest.cs: Added new tests for Thread.Suspend.

svn path=/trunk/mcs/; revision=29556
2004-06-14 21:49:38 +00:00
Lluis Sanchez 21eff991a5 * ThreadTest.cs: Removed Ignore attribute from several threading tests that
failed because of Thread.Abort.

svn path=/trunk/mcs/; revision=29196
2004-06-10 14:59:37 +00:00
Nick Drochak 57af64e73b 2004-05-01 Nick Drochak <[email protected]>
* ThreadTest.cs: Un-ignore some tests that seem to run pretty well
	now.  Getting one failure from these, but at least they run without
	crashing, or throwing some nasty _wapi exception thingy.

svn path=/trunk/mcs/; revision=26429
2004-04-30 16:25:21 +00:00
Sebastien Pouliot f61512b08f 2004-04-13 Sebastien Pouliot <[email protected]>
* ThreadTest.cs: Removed [Ignore] on WindowsPrincipal test. Adjusted
	CurrentPrincipal tests to work on both Windows and Linux.

svn path=/trunk/mcs/; revision=25400
2004-04-13 14:30:18 +00:00
David Sheldon c8a30a7adb 2004-03-19 David Sheldon <[email protected]>
* ThreadTest.cs: Removed Ignore attributes from
      CurrentPrincipal_PrincipalPolicy_NoPrincipal and
      CurrentPrincipal_PrincipalPolicy_UnauthenticatedPrincipal
    Now that bug 54041 is fixed, and they wont livelock.

svn path=/trunk/mcs/; revision=24321
2004-03-19 08:12:42 +00:00
Sebastien Pouliot 110e74891c 2004-02-05 Sebastien Pouliot <[email protected]>
* ThreadTest.cs: Added unit tests for CurrentPrincipal.

svn path=/trunk/mcs/; revision=22817
2004-02-05 23:52:49 +00:00
Nick Drochak b7c320ab07 2003-01-28 Nick Drochak <[email protected]>
* MutexTest.cs: Ignore tests that hang mono.
        * ThreadTest.cs: Ignore tests that hang mono.

svn path=/trunk/mcs/; revision=10971
2003-01-28 09:52:07 +00:00
Nick Drochak 78bfcc7744 2003/01/23 Nick Drochak <[email protected]>
* ThreadTest.cs: Test for alternate possibilities

svn path=/trunk/mcs/; revision=10826
2003-01-23 07:22:16 +00:00
Nick Drochak 99a25b98bd 2002-12-21 Nick Drochak <[email protected]>
* all: make tests build and run under nunit2

svn path=/trunk/mcs/; revision=9817
2002-12-21 14:15:43 +00:00
Eduardo Garcia Cebollero 7b999e7fbe Added MonoTests.System.Threading.ThreadTest , NUnit test for System.Threading.Thread
svn path=/trunk/mcs/; revision=9165
2002-11-24 15:37:46 +00:00