Commit Graph
61 Commits
Author SHA1 Message Date
Alexander Köplinger 48e112d652 [Cleanup] Removed TARGET_JVM
It was once part of a special Java target profile, but this is no longer used today.
2014-08-08 03:28:34 +02:00
Marek Safar 394eb0d670 [corlib] Defer TypeInfo instantiation logic in DefinedTypes. Fixes #19082 2014-04-17 20:00:34 +02:00
Rolf Bjarne Kvinge 2448e73caa Revert "Fix a test to work on mobile after the async release."
This reverts commit b22667cd23.

It was a build bug in monotouch, not a buggy test.
2013-08-13 13:21:22 +02:00
Rolf Bjarne Kvinge b22667cd23 Fix a test to work on mobile after the async release. 2013-08-07 14:59:12 +02:00
Marek Safar d6af35c68f Fix more mobile tests 2013-02-12 20:02:07 +01:00
Marek Safar afa79435aa Update for mobile profile 2013-02-07 16:34:21 +01:00
Miguel de Icaza ae0feab435 Removal of NET_1_1 defines and some NET_2_0; Both defines are true these days in Mono, no versions prior to 2.0 are supported 2012-06-01 18:04:24 -04:00
Marek Safar 70c56d1f56 Fix unit test 2011-10-07 11:37:55 +01:00
Jb Evain 6632706621 update version number
svn path=/trunk/mcs/; revision=158390
2010-06-03 10:02:01 +00:00
Rodrigo Kumpera 6b796ebc40 2010-04-01 Rodrigo Kumpera <[email protected]>
* AssemblyTest.cs: Fix one more tests under v4.

svn path=/trunk/mcs/; revision=154657
2010-04-01 17:37:01 +00:00
Rodrigo Kumpera dddf45217e 2010-03-25 Rodrigo Kumpera <[email protected]>
*AssemblyTest.cs: Fix one more tests under v4.

svn path=/trunk/mcs/; revision=154230
2010-03-25 23:41:56 +00:00
Rodrigo Kumpera 4321e0f72c 2010-03-24 Rodrigo Kumpera <[email protected]>
*AssemblyTest.cs: Fix some tests under v4.

svn path=/trunk/mcs/; revision=154178
2010-03-24 22:27:44 +00:00
Rodrigo Kumpera 756c02655b 2010-02-26 Rodrigo Kumpera <[email protected]>
* AssemblyTest.cs: Fix test under v4.

	* MonoGenericClassTest.cs: Ditto.

svn path=/trunk/mcs/; revision=152598
2010-02-26 23:08:15 +00:00
Rodrigo Kumpera 5665bc31c9 2009-07-27 Rodrigo Kumpera <[email protected]>
* Assembly.cs (GetType): Throw if name is empty.

2009-07-27 Rodrigo Kumpera  <[email protected]>

	* AssemblyTest.cs: Add test for empty string passed to
	Assembly::GetType.

svn path=/trunk/mcs/; revision=138780
2009-07-28 02:00:05 +00:00
Zoltan Varga bcb5152087 2009-06-20 Zoltan Varga <[email protected]>
* *.cs: Convert all tests to new-style nunit classes/methods.

svn path=/trunk/mcs/; revision=136551
2009-06-20 21:05:16 +00:00
Zoltan Varga b8d9e16060 2008-10-10 Zoltan Varga <[email protected]>
* AssemblyTest.cs (LoadWithPartialName): Fix this test after the
	'default' -> 'net_1_1' profile change.

svn path=/trunk/mcs/; revision=115476
2008-10-10 18:28:49 +00:00
Gert Driesen 392791e154 * AssemblyTest.cs: Improved tests for GetFile, GetObjectData and
GetCustomAttributes.
* Assembly.cs (GetFile): Fixed exception messages and param name.

svn path=/trunk/mcs/; revision=97894
2008-03-10 18:31:17 +00:00
Marek Safar 0840deaced New test.
svn path=/trunk/mcs/; revision=97594
2008-03-06 16:51:29 +00:00
Zoltan Varga 1efdb60732 2008-01-30 Zoltan Varga <[email protected]>
* AssemblyTest.cs (GetModules_MissingFile): Rename the generated assembly to
	avoid name clashes.

svn path=/trunk/mcs/; revision=94415
2008-01-30 20:24:02 +00:00
Zoltan Varga 8936d07311 Fix TempFile name.
svn path=/trunk/mcs/; revision=94405
2008-01-30 19:19:43 +00:00
Zoltan Varga 1d221c0820 2008-01-30 Zoltan Varga <[email protected]>
* AssemblyTest.cs: Add a test for GetModules () and a missing module.

svn path=/trunk/mcs/; revision=94404
2008-01-30 19:19:10 +00:00
Gert Driesen 929e52af04 * AssemblyTest.cs: Enabled test for bug #334204.
svn path=/trunk/mcs/; revision=87632
2007-10-17 07:26:49 +00:00
Gert Driesen 2030936e93 * AssemblyTest.cs: Added test for bug #334203. Use more meaningful name
for test for bug #49114.

svn path=/trunk/mcs/; revision=87575
2007-10-16 11:33:06 +00:00
Raja R Harinath 41a6b6b345 * AssemblyTest.cs (bug328812): New test.
svn path=/trunk/mcs/; revision=86873
2007-10-04 12:36:59 +00:00
Gert Driesen 19f6a68a50 * AssemblyTest.cs: Added test for ManifestModule.
* AssemblyBuilderTest.cs: Added test for ManifestModule. Added missing
Test attributes. Avoid using ExpectedException, thereby improving lots
of existing tests. Uncomment test that checks max length of dynamic
module name and removed LAMESPEC, since MS implements the described 
behavior (but we don't, so mark it NotWorking). Code formatting.
* TypeBuilderTest.cs: Removed unused variables.
* AssemblyBuilder.cs: Added missing paramname to ArgumentExceptions.
Use String.Length to check for zero-length string.

svn path=/trunk/mcs/; revision=86236
2007-09-23 09:39:35 +00:00
Gert Driesen 059ba0a94d * Assembly.cs: In GetManifestResourceStream, throw ANE with type as
paramname when both name and type are null. Use String.Length to check
for zero-length string.
* AssemblyTest.cs: Added tests for GetManifestResourceStream argument
checks.

svn path=/trunk/mcs/; revision=85935
2007-09-17 19:56:56 +00:00
Gert Driesen 165e7a7b5b * MonoCustomAttrs.cs: In IsDefined, throw ArgumentNullException if
attributeType is null to avoid a SIGSEGV (and match MS). Only partial
fix for bug #82431 on 1.0 profile; it fully fixes the problem for the
1.0 profile, but more changes (in the runtime) are required for the
2.0 profile. Added a FIXME explaining the problem.
* TypeTest.cs: Improved test for GetCustomAttributes, and avoid
dependency on order of attributes. Split IsDefined test and improved
part for bug #82431.
* AssemblyTest.cs: Added IsDefined test with null value for
attributeType argument.
* ModuleTest.cs: Same. Remove use of deprecated Assertion class, code
formatting and fixed line endings.
* ParameterInfoTest.cs: Same. Remove use of deprecated Assertion class
and code formatting.
* MethodInfoTest.cs: Same.
* EventInfoTest.cs: Same. Code formatting.
* FieldInfoTest.cs: Same. Code formatting.
* PropertyInfoTest.cs: Same. Improved coverage of GetAccessors. 
Improved tests for GetCustomAttributes. Code formatting.
* TypeBuilderTest.cs: Added IsDefined test with null value for
attributeType argument.

svn path=/trunk/mcs/; revision=84239
2007-08-16 20:11:53 +00:00
Mark Probst d96c19b902 2007-07-09 Mark Probst <[email protected]>
* AssemblyTest.cs: Enabled test for bug 78465.

svn path=/trunk/mcs/; revision=81671
2007-07-09 21:04:59 +00:00
Eyal Alalouf 30c28c41d7 Mark tests as not working under TARGET_JVM
svn path=/trunk/mcs/; revision=74246
2007-03-14 10:47:05 +00:00
Eyal Alalouf f65669f34f Port NUnit tests to TARGET_JVM configuration.
svn path=/trunk/mcs/; revision=73714
2007-03-05 14:57:05 +00:00
Raja R Harinath 0e272b0fe0 * AssemblyTest.cs (bug79872): New test for #79872.
svn path=/trunk/mcs/; revision=67837
2006-11-14 12:23:20 +00:00
Gert Driesen 1448924e95 * AssemblyTest.cs: Enabled test for bug #79715.
svn path=/trunk/mcs/; revision=66881
2006-10-22 14:03:02 +00:00
Gert Driesen c6730544ef * AssemblyTest.cs: Added tests for bug #79712 and #79715. All marked
NotWorking.

svn path=/trunk/mcs/; revision=66869
2006-10-22 08:59:26 +00:00
Gert Driesen ef6e652215 * AssemblyTest.cs: Modified test to pass on 2.0 profile and .NET 2.0.
* Assembly.cs: On 2.0 profile, throw FileNotFoundException for
linked resources in GetManifestResourceStream when assembly is
loaded from byte array.

svn path=/trunk/mcs/; revision=63460
2006-08-07 23:36:55 +00:00
Gert Driesen 93b761b427 * Assembly.cs: When assembly is loaded from byte array, return null for
linked resources in GetManifestResourceStream. Fixes bug #78468.
* AssemblyTest.cs: Enabled test for bug #78468.

svn path=/trunk/mcs/; revision=62381
2006-07-09 14:03:17 +00:00
Gert Driesen 0c3ed8f3cf * AssemblyTest.cs: Added tests for bug #78517.
svn path=/trunk/mcs/; revision=61210
2006-05-28 14:23:09 +00:00
Gert Driesen bc635c03df * AssemblyTest.cs: Added tests for bugs #78464, #78465, #78466. Spaces to
tabs.

svn path=/trunk/mcs/; revision=60892
2006-05-20 16:48:37 +00:00
Carlos Alberto Cortez 95bbf4e16d 2005-12-20 Carlos Alberto Cortez <[email protected]>
* AssemblyTest.cs: Remove 'NotWorking' category attribute
	to the Reflection Only tests, since they are working by now.

	* FieldInfoTest.cs: Likewise.

	* MethodInfoTest.cs: Likewise.


svn path=/trunk/mcs/; revision=54675
2005-12-21 06:00:46 +00:00
Zoltan Varga 3e376f1d62 2005-11-15 Zoltan Varga <[email protected]>
* AssemblyTest.cs: Fix build.

svn path=/trunk/mcs/; revision=53064
2005-11-15 15:21:08 +00:00
Kornél Pál e36848f82d Updated runtime version to v2.0.50727 (2.0 RTM). Use Consts.MonoVersion, Consts.FxFileVersion and Consts.VsFileVersion in assembly attributes. Use Consts.RuntimeVersion as Environment.Version that makes maintenance easier.
svn path=/trunk/mcs/; revision=52607
2005-11-05 10:50:01 +00:00
Kornél Pál 431f1b3485 Moved assembly version and assembly reference constants to a common Consts.cs file. Updated 2.0.3600.0 assembly versions to 2.0.0.0. Updated some old beta version numbers to recent ones. Fixed hard coded assembly references to use constants with the appropriate version number.
svn path=/trunk/mcs/; revision=48519
2005-08-18 19:36:17 +00:00
Ben Maurer 4fd33b57b4 2005-06-30 Ben Maurer <[email protected]>
* AssemblyTest.cs: Relied on the 1.1 test suite being built when
	running teh 2.0 test suite, which could cause failures


svn path=/trunk/mcs/; revision=46792
2005-06-30 21:15:54 +00:00
Gonzalo Paniagua Javier 6371a898da 2005-06-07 Gonzalo Paniagua Javier <[email protected]>
* AssemblyTest.cs: put back GetEntryAssembly, but this one is working.


svn path=/trunk/mcs/; revision=45561
2005-06-07 05:06:07 +00:00
Sebastien Pouliot 3850a5eafb 2005-06-06 Sebastien Pouliot <[email protected]>
* AssemblyTest.cs: Removed asserts using PortableExecutableKind - 
	because (1) it was renamed to PortableExecutableKinds *and* (2)
	it's documented as obsolete and will be removed for 2.0 RTM.


svn path=/trunk/mcs/; revision=45533
2005-06-06 20:05:35 +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
Gert Driesen ed75d9f0a7 * AssemblyTest.cs: Enabled test for bug #74958.
svn path=/trunk/mcs/; revision=45435
2005-06-05 10:31:50 +00:00
Gert Driesen b602a4462a * AssemblyTest.cs: Use SRE to emit assembly to ensure test for bug
#74958 passes on .NET 2.0 Beta 2.

svn path=/trunk/mcs/; revision=44840
2005-05-20 17:44:35 +00:00
Gert Driesen 625e0d1b7b * AssemblyTest.cs: Added test case for bug #74958.
svn path=/trunk/mcs/; revision=44537
2005-05-15 13:14:35 +00:00
Sebastien Pouliot ba27a22eb9 2005-05-02 Sebastien Pouliot <[email protected]>
* AssemblyTest.cs, FieldInfoTest.cs, MethodInfoTest.cs: Disabled 
	ReflectionOnly tests as they break every tests afterward. Calberto
	is looking for the problem...


svn path=/trunk/mcs/; revision=43897
2005-05-02 19:02:30 +00:00
Sebastien Pouliot b13429b427 2005-04-27 Sebastien Pouliot <[email protected]>
* AssemblyTest.cs: Updated NET_2_0 tests to check for v2.0.50215 
	(beta2).


svn path=/trunk/mcs/; revision=43651
2005-04-27 12:46:25 +00:00