Commit Graph
6 Commits
Author SHA1 Message Date
Marek Safar f0ad346fb6 Mobile tests update 2013-02-22 21:41:19 +01:00
Gert Driesen 617b15520f * ServiceContainerTest.cs: Added tests for Dispose.
svn path=/trunk/mcs/; revision=106337
2008-06-20 22:00:00 +00:00
Gert Driesen df3e5180fc * ServiceContainer.cs: In AddService, first check parent and end flow
after adding service to parent, throw ArgumentNullException when
serviceInstance or callback is null. In RemoveService, when promote is
false the service must be removed from current container. Fixes bug
#397824. On 1.0 profile, IServiceContainer is a default service offered
by containers. Minor code formatting.
* ServiceContainerTest.cs: Added test for argument checks in
AddService and RemoveService overloads. Added tests for AddService
and RemoveService.

svn path=/trunk/mcs/; revision=105232
2008-06-07 15:05:44 +00:00
Ivan Zlatev aefc708c0e 2008-01-06 Ivan N. Zlatev <[email protected]>
* ServiceContainer.cs: Check DefaultServices in GetService in 2.0.
        * MenuCommand.cs: Invoke (args) should call Invoke () and leave
        args handling for subclasses.
        * ServiceContainerTest.cs: Test that DefaultServices is checked in 
        GetService in 2.0.


svn path=/trunk/mcs/; revision=92354
2008-01-06 18:00:26 +00:00
Nick Drochak 6bca4e9a70 2004-01-01 Nick Drochak <[email protected]>
* ServiceContainerTest.cs: Eliminate unused variable that was giving us
	a warning.  Also did a little nunit version 2 house cleaning.

svn path=/trunk/mcs/; revision=21570
2003-12-31 16:10:11 +00:00
Alexandre Pigolkine a772ea423f new test added
svn path=/trunk/mcs/; revision=17778
2003-08-31 23:41:30 +00:00