Commit Graph
9 Commits
Author SHA1 Message Date
Marek Safar 915b61a66d Mobile tests update 2013-02-15 16:35:41 +01:00
Marek Safar afa79435aa Update for mobile profile 2013-02-07 16:34:21 +01:00
Marek Safar 507973ab5a Fix corlib test 2011-02-09 14:27:06 +00:00
Carlos Alberto Cortez 61a51b524e 2010-07-07 Carlos Alberto Cortez <[email protected]>
* ResourceWriterTest.cs: In our new AddResource_Stream_Default test
	store the resource file under Test/resources/, instead of the base
	dir, so we avoid filling the dir with not needed files.


svn path=/trunk/mcs/; revision=159992
2010-07-07 11:12:34 +00:00
Carlos Alberto Cortez 7e8bee4848 2010-07-05 Carlos Alberto Cortez <[email protected]>
* ResourceWriterTest.cs: New tests for our new 4.0 AddResource
	overloads.


svn path=/trunk/mcs/; revision=159931
2010-07-06 01:12:10 +00:00
Gert Driesen a0400ec347 * ResourceWriter.cs: On 2.0 profile, do not mistakenly identify an
enum as a predefined type. Fixes bug #325223.
* ResourceWriterTest.cs: Enabled test for writing enum value on 2.0
profile.

svn path=/trunk/mcs/; revision=94016
2008-01-26 19:53:48 +00:00
Gert Driesen d5dc02f026 * ResourceWriterTest.cs: Added ctor tests. Added tests for AddResource
overloads. Added test for argument null checks. Added test for bug
#339074. Added test for invoking Generate () multiple times.
* ResourceWriter.cs: On 2.0 profile, use case-insensitive SortedList. 
Changed exception messages and params to match MS. Allow null values 
in AddResource overloads. In Dispose (bool), also generate resources
(header) if no resources were added. Fixes bug #339074. When Generate
is done, reset resources to null to prevent further editing.  This      
also avoids the need for a separate bool to indicate whether generate
was already invoked. Code formatting.

svn path=/trunk/mcs/; revision=89412
2007-11-10 19:10:06 +00:00
Gert Driesen 462b69a5e5 * ResourceManagerTest.cs: Improved existing tests. Ensure all resources
are released. Fixes test failures on Windows.
* ResourceWriterTest.cs: Added test for bug #82566.
* ResourceReaderTest.cs: Improved existing tests. Ensure all resources
are released. Fixed test failures on Windows.

svn path=/trunk/mcs/; revision=84800
2007-08-24 11:25:36 +00:00
Atsushi Eno 41aa2767b5 2007-05-28 Atsushi Enomoto <[email protected]>
* ResourceWriter.cs : fix for runtime serialization type index.
	  Fixed bug #81759.

	* ResourceWriterTest.cs : new test, contains one for bug #81759.

	* corlib_test.dll.sources : added ResourceWriterTest.cs.


svn path=/trunk/mcs/; revision=78069
2007-05-28 16:02:23 +00:00