Return-Path: Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: (qmail 63698 invoked from network); 9 Dec 2009 19:09:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Dec 2009 19:09:14 -0000 Received: (qmail 30075 invoked by uid 500); 9 Dec 2009 19:09:14 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 30016 invoked by uid 500); 9 Dec 2009 19:09:14 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 30007 invoked by uid 99); 9 Dec 2009 19:09:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Dec 2009 19:09:14 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Dec 2009 19:09:12 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 4FD3023889BF; Wed, 9 Dec 2009 19:08:52 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r888927 - in /activemq/activemq-dotnet/Apache.NMS.Stomp/trunk: Apache.NMS.Stomp.Test.nunit nmsprovider-test.config src/main/csharp/Protocol/StompHelper.cs vs2008-stomp-test.csproj Date: Wed, 09 Dec 2009 19:08:52 -0000 To: commits@activemq.apache.org From: tabish@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20091209190852.4FD3023889BF@eris.apache.org> Author: tabish Date: Wed Dec 9 19:08:51 2009 New Revision: 888927 URL: http://svn.apache.org/viewvc?rev=888927&view=rev Log: Update testing code to add first unit test and proper configuration of the NUnit tests. Modified: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/Apache.NMS.Stomp.Test.nunit activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/nmsprovider-test.config activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Protocol/StompHelper.cs activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/vs2008-stomp-test.csproj Modified: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/Apache.NMS.Stomp.Test.nunit URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/Apache.NMS.Stomp.Test.nunit?rev=888927&r1=888926&r2=888927&view=diff ============================================================================== --- activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/Apache.NMS.Stomp.Test.nunit (original) +++ activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/Apache.NMS.Stomp.Test.nunit Wed Dec 9 19:08:51 2009 @@ -2,6 +2,5 @@ - - \ No newline at end of file + Modified: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/nmsprovider-test.config URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/nmsprovider-test.config?rev=888927&r1=888926&r2=888927&view=diff ============================================================================== --- activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/nmsprovider-test.config (original) +++ activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/nmsprovider-test.config Wed Dec 9 19:08:51 2009 @@ -16,11 +16,11 @@ * limitations under the License. --> - + - + Modified: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Protocol/StompHelper.cs URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Protocol/StompHelper.cs?rev=888927&r1=888926&r2=888927&view=diff ============================================================================== --- activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Protocol/StompHelper.cs (original) +++ activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Protocol/StompHelper.cs Wed Dec 9 19:08:51 2009 @@ -125,17 +125,13 @@ public static string ToStomp(AcknowledgementMode ackMode) { - if(ackMode == AcknowledgementMode.ClientAcknowledge) - { - return "client"; - } - else if(ackMode == AcknowledgementMode.IndividualAcknowledge) + if(ackMode == AcknowledgementMode.IndividualAcknowledge) { return "client-individual"; } else { - return "auto"; + return "client"; } } Modified: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/vs2008-stomp-test.csproj URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/vs2008-stomp-test.csproj?rev=888927&r1=888926&r2=888927&view=diff ============================================================================== --- activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/vs2008-stomp-test.csproj (original) +++ activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/vs2008-stomp-test.csproj Wed Dec 9 19:08:51 2009 @@ -8,6 +8,7 @@ {E8C995C3-FF81-491B-A3B7-9D7C753BDDC3} Library vs2008-stomp-test + Apache.NMS.Stomp.Test true @@ -65,8 +66,12 @@ + + + + \ No newline at end of file