Commit Graph
27 Commits
Author SHA1 Message Date
Sebastien Pouliot c2b792aa48 In System.Runtime.InteropServices:
2009-10-15  Sebastien Pouliot  <[email protected]>

	* GCHandle.cs: Add missing validations

In Test/System.Runtime.InteropServices:
2009-10-15  Sebastien Pouliot  <[email protected]>

	* GCHandleTest.cs: Add more test cases for validations


svn path=/trunk/mcs/; revision=144204
2009-10-15 14:20:03 +00:00
Zoltan Varga f29905064f 2009-08-13 Zoltan Varga <[email protected]>
* GCHandleTest.cs: Add a test for null GC handles with type
	WeakTrackResurrection.

svn path=/trunk/mcs/; revision=139813
2009-08-12 23:30:32 +00:00
Zoltan Varga 047cabb88a 2009-06-20 Zoltan Varga <[email protected]>
* *.cs: Convert all tests to new-style nunit classes/methods.

svn path=/trunk/mcs/; revision=136553
2009-06-20 21:19:47 +00:00
Sebastien Pouliot 6c9ff1c39f 2009-04-30 Sebastien Pouliot <[email protected]>
* MarshalTest.cs: Fix building unit tests for NET_1_1


svn path=/trunk/mcs/; revision=133171
2009-04-30 12:11:06 +00:00
Jonathan Chambers 11e576a69f Apply patch from Tom Hindle for bug 496138 plus test case.
2009-04-29 Tom Hindle <[email protected]>

	* Marshal.cs: Improved GetExceptionForHR to return real 
	C# exceptions in certain cases instead of always COMException.


svn path=/trunk/mcs/; revision=133150
2009-04-30 01:40:52 +00:00
Gert Driesen 432be70324 * MarshalTest.cs: Added tests for GetHINSTANCE. Improved existing
tests, and removed use of ExpectedException. Use more meaningful names
for test methods. Minor code formatting.
* Marshal.cs: Fixed order of arguments for ArgumentException in
GetComSlotForMethodInfo.

svn path=/trunk/mcs/; revision=106354
2008-06-21 15:16:06 +00:00
Gert Driesen be3f601e89 * ExternalExceptionTest.cs: Improved ctor test.
svn path=/trunk/mcs/; revision=92008
2007-12-29 08:54:31 +00:00
Gert Driesen f530096640 * corlib_test.dll.sources: added ExternalExceptionTest.cs.
* ExternalException.cs: Set HResult to match MS.
* ExternalExceptionTest.cs: Added ctor tests.

svn path=/trunk/mcs/; revision=90631
2007-12-04 10:38:09 +00:00
Sebastien Pouliot 3218e5a17a 2007-11-06 Sebastien Pouliot <[email protected]>
* MarshalTest.cs: Add test for various StringTo... to check for 
	bug #335488.


svn path=/trunk/mcs/; revision=89020
2007-11-06 18:48:28 +00:00
Sebastien Pouliot 28329628c2 2007-11-06 Sebastien Pouliot <[email protected]>
* MarshalTest.cs: Add a rountrip test case for BSTR (bug #339530).


svn path=/trunk/mcs/; revision=89013
2007-11-06 17:51:58 +00:00
Zoltan Varga 83160199c0 2007-09-14 Zoltan Varga <[email protected]>
* GCHandleTest.cs: Add some tests.

svn path=/trunk/mcs/; revision=85804
2007-09-14 14:41:02 +00:00
Robert Jordan dba4a090b0 2007-08-23 Robert Jordan <[email protected]>
* MarshalTest.cs: Added test for HGlobal allocations. See bug #82499.


svn path=/trunk/mcs/; revision=84677
2007-08-23 05:47:48 +00:00
Robert Jordan cc17d70e3b 2006-08-31 Robert Jordan <[email protected]>
* MarshalTest.cs: Added tests for PtrToStringAuto/StringToHGlobalAuto.


svn path=/trunk/mcs/; revision=64660
2006-08-31 19:57:17 +00:00
Sebastien Pouliot 06c948e88f 2005-08-28 Sebastien Pouliot <[email protected]>
Added endian check as Marshal must use CPU endianess.

svn path=/trunk/mcs/; revision=64489
2006-08-28 19:32:36 +00:00
Sebastien Pouliot 9c2b99a861 2005-08-28 Sebastien Pouliot <[email protected]>
* MarshalTest.cs: Added test for ReadInt32 (versus arch endianess).


svn path=/trunk/mcs/; revision=64477
2006-08-28 15:39:26 +00:00
Jonathan Chambers 8f7298e1ea Forgot to commit ChangeLog
svn path=/trunk/mcs/; revision=61567
2006-06-08 13:18:24 +00:00
Sebastien Pouliot 0920883a05 2005-10-28 Sebastien Pouliot <[email protected]>
* MarshalTest.cs: Added tests for 2.0 SecureTo* and ZeroFree* methods.


svn path=/trunk/mcs/; revision=52327
2005-10-28 14:56:47 +00:00
Gert Driesen 3fc83c1e68 * MarshalTest.cs: Added test for bug #76123.
svn path=/trunk/mcs/; revision=50326
2005-09-20 18:42:16 +00:00
Sebastien Pouliot 468fe09de5 2005-06-13 Sebastien Pouliot <[email protected]>
* RuntimeEnvironmentTest.cs: Commented an assert than wasn't true when
	doing a "make distcheck".


svn path=/trunk/mcs/; revision=45862
2005-06-13 13:02:26 +00:00
Sebastien Pouliot 1243ed9f48 2005-06-07 Sebastien Pouliot <[email protected]>
* RuntimeEnvironmentTest.cs: New. Unit tests for RuntimeEnvironment.
	* RuntimeEnvironmentCas.cs: New. CAS unit tests for RuntimeEnvironment


svn path=/trunk/mcs/; revision=45580
2005-06-07 15:09:35 +00:00
Zoltan Varga 77a73598b8 2005-04-23 Zoltan Varga <[email protected]>
* MarshalTest.cs: Add test for OffsetOf and static fields.

svn path=/trunk/mcs/; revision=43493
2005-04-23 17:06:27 +00:00
Zoltan Varga 4987f37a49 2005-04-04 Zoltan Varga <[email protected]>
* GCHandleTest.cs: Add test for calling Alloc with null.

svn path=/trunk/mcs/; revision=42520
2005-04-04 13:23:40 +00:00
Zoltan Varga 39ff8f59b2 2004-09-03 Zoltan Varga <[email protected]>
* MarshalTest.cs: Add test for AllocHGlobal and zero size.

svn path=/trunk/mcs/; revision=33272
2004-09-03 12:08:49 +00:00
Nick Drochak dfd1fb461e 2004-08-31 Nick Drochak <[email protected]>
* MarshalTest.cs: Make tests pass on .NET 1.1.

svn path=/trunk/mcs/; revision=33090
2004-08-31 12:15:18 +00:00
Zoltan Varga b92d0b7e63 2004-05-05 Zoltan Varga <[email protected]>
* MarshalTest.cs: Add test for UnsafeAddrOfPinnedArrayElement.

svn path=/trunk/mcs/; revision=26750
2004-05-05 11:04:42 +00:00
Zoltan Varga e543124a63 2004-04-27 Zoltan Varga <[email protected]>
* MarshalTest.cs: New tests for PtrTo* methods and null.

svn path=/trunk/mcs/; revision=26062
2004-04-27 17:31:24 +00:00
Gonzalo Paniagua Javier a29897a262 2004-03-15 Gonzalo Paniagua Javier <[email protected]>
* MarshalTest.cs: added a few tests for Marshal.SizeOf.

svn path=/trunk/mcs/; revision=24091
2004-03-16 01:36:55 +00:00