Commit Graph
21 Commits
Author SHA1 Message Date
Maxim Lipnin b549fa7f32 [Reflection] Fix issue with finding types in module using an asterisk as filter criteria 2018-10-02 14:56:01 +02:00
Rodrigo Kumpera 35405bee31 [corlib] Cleanup tests that depend on SymbolWriter being available for no good reason. 2017-03-15 16:18:20 -07:00
Alexander Köplinger 9f5b8c4cf2 Rename the mobile_static profile to aot_only
We decided it's a better name since we're using the profile to
test FullAOT scenarios on desktop (as opposed to the mobile profiles).

While doing the rename I saw that a lot of the #ifdefs were using
MOBILE_STATIC even though the code should actually be included/excluded
in all FullAOT scenarios, e.g. System.Reflection.Emit. I replaced those
cases with FULL_AOT_RUNTIME instead.

For cases where code is specific to this profile, I added a new
AOT_ONLY_DESKTOP define.
2016-11-24 17:40:54 +01:00
Niklas Therning db075cce35 Prevent ModuleTest failures due to too long temp folder path on Windows
On Windows the TearDown() cannot delete the temp folder since it contains
loaded assemblies. The next time the test is run it will create a temp folder
inside the previous folder. After a number of runs the temp folder path will
approach the ~260 max path supported on Windows and some of the methods will
start failing.

This patch changes the way the temp folder is created and reduces the depth in
the same way as AssemblyTest was patched to fix a similar issue in
b90617e7b7.
2016-09-05 13:31:51 +02:00
Alexander Kyte 4cf9303189 [bcl] Exclude tests for mobile_static excluded on monotouch 2016-01-22 16:28:07 -05:00
Marek Habersack 7cec10193b [tests] Make failures more descriptive and fix XA
The test failures didn't really indicate which of the Fail statements
caused the test failure. Also, the 10k offset turned out to be not
enough for the XA test suite (it's much bigger than that)
2015-07-15 20:45:18 +02:00
Alexander Köplinger 746650d1b9 [bcl] Remove more NET_2_0 checks from class libs 2015-01-17 05:45:39 +01:00
Marek Safar afa79435aa Update for mobile profile 2013-02-07 16:34:21 +01:00
Rodrigo Kumpera c8cb92719e 2008-11-11 Rodrigo Kumpera <[email protected]>
* ModuleTest.cs : Add test for ResolveMethod with a methodspec
	token.

svn path=/trunk/mcs/; revision=118543
2008-11-11 20:14:55 +00:00
Zoltan Varga de693e8a2b 2008-01-30 Zoltan Varga <[email protected]>
* ModuleTest.cs: Add a test for GetTypes ().

svn path=/trunk/mcs/; revision=94403
2008-01-30 19:06:24 +00:00
Gert Driesen 1903e59271 * ModuleTest.cs: Enabled tests on 2.0 profile since bug #82459 is
fixed.

svn path=/trunk/mcs/; revision=84300
2007-08-17 16:05:45 +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
Atsushi Eno 40a76ef563 2006-01-19 Atsushi Enomoto <[email protected]>
* ModuleTest.cs : ResolveString() does not work under .NET 2.0 either.


svn path=/trunk/mcs/; revision=55793
2006-01-19 17:06:04 +00:00
Sebastien Pouliot 704a44570c 2005-04-04 Sebastien Pouliot <[email protected]>
* AssemblyNameTest.cs: Add test for ArgumentNullException on 
	GetObjectData. Made existing tests more nunit2.2 like.
	* ModuleCas.cs: Added new tests for FullyQualifiedName and Name 
	properties.
	* ModuleTest.cs: Add test for ArgumentNullException on GetObjectData.


svn path=/trunk/mcs/; revision=42513
2005-04-04 12:26:53 +00:00
Ben Maurer 10452fd9a9 more failing tests
svn path=/trunk/mcs/; revision=40839
2005-02-18 04:06:05 +00:00
Nick Drochak 565b9d8af1 2005-01-23 Nick Drochak <[email protected]>
* ModuleTest.cs: Long path names gives Windows fits.

svn path=/trunk/mcs/; revision=39371
2005-01-23 02:39:48 +00:00
Zoltan Varga b59ff7ce21 2004-09-22 Zoltan Varga <[email protected]>
* ModuleTest.cs: Add tests for NET 2.0 ResolveXXX methods.

svn path=/trunk/mcs/; revision=34218
2004-09-22 13:05:24 +00:00
Zoltan Varga cd0fb2445e 2004-07-03 Zoltan Varga <[email protected]>
* ModuleTest.cs: New tests for FindTypes.

svn path=/trunk/mcs/; revision=30663
2004-07-02 12:56:18 +00:00
Zoltan Varga 292f90b0cb 2003-11-24 Zoltan Varga <[email protected]>
* ModuleTest.cs: Make the assembly name unique to fix the GlobalData
	test.

svn path=/trunk/mcs/; revision=20400
2003-11-24 20:33:50 +00:00
Zoltan Varga 0ce40fc6e7 2003-11-17 Zoltan Varga <[email protected]>
* ModuleTest.cs: Fix temp folder path.

svn path=/trunk/mcs/; revision=20105
2003-11-17 08:14:38 +00:00
Zoltan Varga 170e3afb99 2003-05-21 Zoltan Varga <[email protected]>
* ModuleTest.cs: New file.

svn path=/trunk/mcs/; revision=14759
2003-05-21 13:29:23 +00:00