Author: jgomes
Date: Tue Aug 17 20:45:25 2010
New Revision: 986479
URL: http://svn.apache.org/viewvc?rev=986479&view=rev
Log:
Remove Explicit flag from tests so that all functionality can be tested by
default.
Modified:
activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/nmsprovider-test.config
activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/OpenWire/MaxInactivityDurationTest.cs
activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/OpenWire/PrefetchSizeZeroTest.cs
Modified:
activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/nmsprovider-test.config
URL:
http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/nmsprovider-test.config?rev=986479&r1=986478&r2=986479&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/nmsprovider-test.config
(original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/nmsprovider-test.config
Tue Aug 17 20:45:25 2010
@@ -21,7 +21,7 @@
<passWord value="manager"/>
</defaultURI>
- <maxInactivityDurationURI
value="activemq:tcp://${activemqhost}:61616?wireFormat.MaxInactivityDuration=30000&connection.AsyncClose=false"/>
+ <maxInactivityDurationURI
value="activemq:tcp://${activemqhost}:61616?wireFormat.MaxInactivityDurationDelay=5000&wireFormat.MaxInactivityDuration=10000&connection.AsyncClose=false"/>
<openWireURI
value="activemq:tcp://${activemqhost}:61616?connection.AsyncClose=false">
<factoryParams>
Modified:
activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/OpenWire/MaxInactivityDurationTest.cs
URL:
http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/OpenWire/MaxInactivityDurationTest.cs?rev=986479&r1=986478&r2=986479&view=diff
==============================================================================
---
activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/OpenWire/MaxInactivityDurationTest.cs
(original)
+++
activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/OpenWire/MaxInactivityDurationTest.cs
Tue Aug 17 20:45:25 2010
@@ -31,11 +31,12 @@ namespace Apache.NMS.ActiveMQ.Test
/// <summary>
/// The name of the connection configuration that
CreateNMSFactory() will load.
+ /// Refer to the nmsprovider-test.config file for the value of
this variable.
/// </summary>
/// <returns></returns>
protected override string GetNameTestURI() { return
"maxInactivityDurationURI"; }
- [Test, Explicit]
+ [Test]
public void TestMaxInactivityDuration()
{
using(IConnection connection = CreateConnection())
@@ -53,7 +54,7 @@ namespace Apache.NMS.ActiveMQ.Test
Assert.AreEqual(CORRELATION_ID,
receivedMsg.NMSCorrelationID, "Invalid correlation ID.");
// Go inactive...
- Thread.Sleep(60 * 1000);
+
Thread.Sleep(TimeSpan.FromSeconds(30));
// Send another message.
SendMessage(producer);
Modified:
activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/OpenWire/PrefetchSizeZeroTest.cs
URL:
http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/OpenWire/PrefetchSizeZeroTest.cs?rev=986479&r1=986478&r2=986479&view=diff
==============================================================================
---
activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/OpenWire/PrefetchSizeZeroTest.cs
(original)
+++
activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/test/csharp/OpenWire/PrefetchSizeZeroTest.cs
Tue Aug 17 20:45:25 2010
@@ -27,7 +27,7 @@ namespace Apache.NMS.ActiveMQ.Test
{
protected static string DESTINATION_NAME = "TestPrefetchSizeZero";
- [Test, Explicit]
+ [Test]
public void TestZeroPrefetchSize()
{
using(IConnection connection = CreateConnection())