Permalink
Browse files

Updated xUnit dll's and fixed one failing test from upgrade.

Updated Castle to 2.5.2. There is an access visibility change in Castle's facility for Kernel that may need to be addressed different than I currently handled it.
Updated psake build script to use appropriate console runner based on 3.5 or 4.0 build.
  • Loading branch information...
1 parent 0b41237 commit 83ed7969ccaec3718071a2a0259c25dee8f15f14 @CoreyKaylor CoreyKaylor committed Dec 4, 2010
@@ -257,9 +257,7 @@ public void When_peeking_and_there_is_no_message()
Assert.False(asyncResult.CompletedSynchronously);
- Assert.Throws<MessageQueueException>(
- "Timeout for the requested operation has expired.",
- () => queue.EndPeek(asyncResult));
+ Assert.Throws<MessageQueueException>(() => queue.EndPeek(asyncResult));
}
@@ -18,7 +18,7 @@ public void Configure(AbstractRhinoServiceBusFacility facility, IConfiguration c
if (facility.Endpoint.Scheme.Equals("rhino.queues", StringComparison.InvariantCultureIgnoreCase) == false)
return;
- IConfiguration busConfig = facility.FacilityConfig.Children["bus"];
+ IConfiguration busConfig = configuration.Children["bus"];
if (busConfig == null)
throw new ConfigurationErrorsException("Could not find 'bus' node in configuration");
var name = busConfig.Attributes["name"];
@@ -44,6 +44,12 @@ protected AbstractRhinoServiceBusFacility()
public TransactionalOptions Transactional { get; set; }
+ //yuck
+ public new IKernel Kernel
+ {
+ get { return base.Kernel; }
+ }
+
public IsolationLevel IsolationLevel
{
get { return queueIsolationLevel; }
View
Binary file not shown.
View
Binary file not shown.
View
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.

0 comments on commit 83ed796

Please sign in to comment.