User: xtoff
Date: 2009/12/19 03:33 AM

Modified:
 /InversionOfControl/trunk/src/Castle.MicroKernel.Tests/Pools/
  MultithreadedPooledTestCase.cs
 /InversionOfControl/trunk/src/Castle.Windsor.Tests/
  InterceptorsTestCase.cs
 /InversionOfControl/trunk/src/Castle.Windsor.Tests/Configuration2/
  SynchronizationProblemTestCase.cs

Log:
 - applied patch from Simon Cropp fixing IOC-ISSUE-178 - Not method 
WaitHandle.WaitOne(int, bool) in silverlight

File Changes:

Directory: /InversionOfControl/trunk/src/Castle.Windsor.Tests/
==============================================================

File [modified]: InterceptorsTestCase.cs
Delta lines: +0 -0
===================================================================

Directory: /InversionOfControl/trunk/src/Castle.Windsor.Tests/Configuration2/
=============================================================================

File [modified]: SynchronizationProblemTestCase.cs
Delta lines: +4 -4
===================================================================

--- InversionOfControl/trunk/src/Castle.Windsor.Tests/InterceptorsTestCase.cs   
2009-12-18 23:32:02 UTC (rev 6464)
+++ InversionOfControl/trunk/src/Castle.Windsor.Tests/InterceptorsTestCase.cs   
2009-12-19 10:33:32 UTC (rev 6465)
@@ -12,10 +12,10 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-using Castle.MicroKernel.Registration;
 
 namespace Castle.Windsor.Tests
 {
+       using Castle.MicroKernel.Registration;
        using System;
        using System.Threading;
        using Castle.Core;
@@ -67,7 +67,7 @@
             _container.AddComponent("interceptor", 
typeof(InterceptorThatCauseStackOverflow));
             _container.Register(
                 Component.For<ICameraService>().ImplementedBy<CameraService>()
-                    .Interceptors(new InterceptorReference[]{new 
InterceptorReference(typeof(InterceptorThatCauseStackOverflow)), }).First,
+                    .Interceptors(new[]{new 
InterceptorReference(typeof(InterceptorThatCauseStackOverflow)), }).First,
                 //because it has no interceptors, it is okay to resolve it...
                 
Component.For<ICameraService>().ImplementedBy<CameraService>().Named("okay to 
resolve")
                     );
@@ -178,9 +178,9 @@
 
                public void ExecuteMethodUntilSignal()
                {
-                       _startEvent.WaitOne(int.MaxValue, false);
+                       _startEvent.WaitOne(int.MaxValue);
 
-                       while(!_stopEvent.WaitOne(1, false))
+                       while(!_stopEvent.WaitOne(1))
                        {
                                Assert.AreEqual(7, _service.Sum(2, 2));

Directory: /InversionOfControl/trunk/src/Castle.MicroKernel.Tests/Pools/
========================================================================

File [modified]: MultithreadedPooledTestCase.cs
Delta lines: +2 -2
===================================================================

--- 
InversionOfControl/trunk/src/Castle.Windsor.Tests/Configuration2/SynchronizationProblemTestCase.cs
  2009-12-18 23:32:02 UTC (rev 6464)
+++ 
InversionOfControl/trunk/src/Castle.Windsor.Tests/Configuration2/SynchronizationProblemTestCase.cs
  2009-12-19 10:33:32 UTC (rev 6465)
@@ -70,9 +70,9 @@
 
                private void ExecuteMethodUntilSignal()
                {
-                       startEvent.WaitOne(int.MaxValue, false);
+                       startEvent.WaitOne(int.MaxValue);
 
-                       while (!stopEvent.WaitOne(1, false))
+                       while (!stopEvent.WaitOne(1))
                        {
                                try

--

You received this message because you are subscribed to the Google Groups 
"Castle Project Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/castle-project-commits?hl=en.


Reply via email to