Modified: 
qpid/trunk/qpid/dotnet/Qpid.Integration.Tests/framework/FrameworkBaseCase.cs
URL: 
http://svn.apache.org/viewvc/qpid/trunk/qpid/dotnet/Qpid.Integration.Tests/framework/FrameworkBaseCase.cs?rev=886998&r1=886997&r2=886998&view=diff
==============================================================================
--- 
qpid/trunk/qpid/dotnet/Qpid.Integration.Tests/framework/FrameworkBaseCase.cs 
(original)
+++ 
qpid/trunk/qpid/dotnet/Qpid.Integration.Tests/framework/FrameworkBaseCase.cs 
Thu Dec  3 23:55:48 2009
@@ -1,282 +1,282 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-using log4net;
-using NUnit.Framework;
-//using org.apache.log4j.NDC;
-
-using Apache.Qpid.Integration.Tests.framework.sequencers;//.CircuitFactory;
-
-//using uk.co.thebadgerset.junit.extensions.AsymptoticTestCase;
-//using uk.co.thebadgerset.junit.extensions.SetupTaskAware;
-//using uk.co.thebadgerset.junit.extensions.SetupTaskHandler;
-//using uk.co.thebadgerset.junit.extensions.util.ParsedProperties;
-//using uk.co.thebadgerset.junit.extensions.util.TestContextProperties;
-
-//using java.util.ArrayList;
-using System.Collections.Generic;//.IList;
-
-namespace Apache.Qpid.Integration.Tests.framework
-{
-    /// <summary>
-    /// FrameworkBaseCase provides a starting point for writing test cases 
against the test framework. Its main purpose is
-    /// to provide some convenience methods for testing.
-    ///
-    /// <p/><table id="crc"><caption>CRC Card</caption>
-    /// <tr><th> Responsibilities <th> Collaborations
-    /// <tr><td> Create and clean up in-vm brokers on every test case.
-    /// <tr><td> Produce lists of assertions from assertion creation calls.
-    /// <tr><td> Produce JUnit failures from assertion failures.
-    /// <tr><td> Convert failed assertions to error messages.
-    /// </table>
-    /// </summary>
-    public class FrameworkBaseCase //extends AsymptoticTestCase : 
FrameworkTestContext, SetupTaskAware, BrokerLifecycleAware
-    {
-        /// <summary> Used for debugging purposes. </summary>
-        private static ILog log = 
LogManager.GetLogger(typeof(FrameworkBaseCase));
-
-        /// <summary> Holds the test sequencer to create and run test circuits 
with. </summary>
-        protected CircuitFactory circuitFactory;// = new LocalCircuitFactory();
-
-        /// <summary> Used to read the tests configurable properties through. 
</summary>
-        protected TestModel testProps;
-
-        /// <summary> A default setup task processor to delegate setup tasks 
to. </summary>
-        //protected SetupTaskHandler taskHandler = new SetupTaskHandler();
-
-        /// <summary> Flag used to track whether the test is in-vm or not. 
</summary>
-        //protected bool isUsingInVM;
-
-        /// <summary> Holds the failure mechanism. </summary>
-        //protected CauseFailure failureMechanism = new 
CauseFailureUserPrompt();
-
-        /*
-        /// <summary>
-        /// Creates a new test case with the specified name.
-        /// </summary>
-        /// <param name="name"> The test case name. </param>
-        public FrameworkBaseCase(string name) : base(name)
-        {            
-        }
-        */
-
-        /// <summary>
-        /// Returns the test case sequencer that provides test circuit, and 
test sequence implementations. The sequencer
-        /// that this base case returns by default is suitable for running a 
test circuit with both circuit ends colocated
-        /// on the same JVM.
-        /// </summary>
-        /// <return> The test case sequencer. </return>
-        protected CircuitFactory GetCircuitFactory()
-        {
-            return circuitFactory;
-        }
-
-        /// <summary>
-        /// Overrides the default test circuit factory. Test decorators can 
use this to supply distributed test sequencers or
-        /// other test circuit factory specializations.
-        /// </summary>
-        /// <param name="circuitFactory"> The new test circuit factory. 
</param>
-        public void SetCircuitFactory(CircuitFactory circuitFactory)
-        {
-            this.circuitFactory = circuitFactory;
-        }
-
-        /*
-        /// <summary>
-        /// Reports the current test case name.
-        /// </summary>
-        /// <return> The current test case name. </return>
-        public TestCaseVector GetTestCaseVector()
-        {
-            return new TestCaseVector(this.getName(), 0);
-        }
-        */
-
-        /// <summary>
-        /// Reports the current test case parameters.
-        /// </summary>
-        /// <return> The current test case parameters. </return>
-        public TestModel getTestParameters()
-        {
-            return testProps;
-        }
-
-        /// <summary>
-        /// Creates a list of assertions.
-        /// </summary>
-        /// <param name="asserts"> The assertions to compile in a list. 
</param>
-        ///
-        /// <return> A list of assertions. </return>
-        protected IList<Assertion> AssertionList(params Assertion[] asserts)
-        {
-            IList<Assertion> result = new List<Assertion>();
-
-            foreach (Assertion assertion in asserts)
-            {
-                result.Add(assertion);
-            }
-
-            return result;
-        }
-
-        /// <summary>
-        /// Generates a JUnit assertion exception (failure) if any assertions 
are passed into this method, also concatenating
-        /// all of the error messages in the assertions together to form an 
error message to diagnose the test failure with.
-        /// </summary>
-        /// <param name="asserts"> The list of failed assertions. </param>
-        protected static void AssertNoFailures(List<Assertion> asserts)
-        {
-            log.Debug("protected void assertNoFailures(List<Assertion> asserts 
= " + asserts + "): called");
-
-            // Check if there are no assertion failures, and return without 
doing anything if so.
-            if ((asserts == null) || (asserts.Count == 0))
-            {
-                return;
-            }
-
-            // Compile all of the assertion failure messages together.
-            string errorMessage = AssertionsToString(asserts);
-
-            // Fail with the error message from all of the assertions.
-            Assert.Fail(errorMessage);
-        }
-
-        /// <summary>
-        /// Converts a list of failed assertions into an error message.
-        /// </summary>
-        /// <param name="asserts"> The failed assertions. </param>
-        ///
-        /// <return> The error message. </return>
-        protected static string AssertionsToString(List<Assertion> asserts)
-        {
-            string errorMessage = "";
-
-            foreach (Assertion assertion in asserts)
-            {
-                errorMessage += assertion.ToString() + "\n";
-            }
-
-            return errorMessage;
-        }
-
-        /// <summary>
-        /// Ensures that the in-vm broker is created and initialized.
-        /// </summary>
-        ///
-        /// <exception cref="Exception"> Any exceptions allowed to fall 
through and fail the test. </exception>
-        [SetUp]
-        protected void SetUp()
-        {
-            //NDC.Push(Name);
-
-            //testProps = 
TestContextProperties.getInstance(TestModel.defaults);
-
-            // Process all optional setup tasks. This may include in-vm broker 
creation, if a decorator has added it.
-            //taskHandler.runSetupTasks();
-        }
-
-        /// <summary> Ensures that the in-vm broker is cleaned up after each 
test run. </summary>
-        [TearDown]
-        protected void TearDown()
-        {
-            //NDC.Pop();
-
-            // Process all optional tear down tasks. This may include in-vm 
broker clean up, if a decorator has added it.
-            //taskHandler.runTearDownTasks();
-        }
-
-        /*
-        /// <summary>
-        /// Adds the specified task to the tests setup.
-        /// </summary>
-        /// <param name="task"> The task to add to the tests setup. </param>
-        public void chainSetupTask(Runnable task)
-        {
-            taskHandler.chainSetupTask(task);
-        }
-        */
-
-        /*
-        /// <summary>
-        /// Adds the specified task to the tests tear down.
-        /// </summary>
-        /// <param name="task"> The task to add to the tests tear down. 
</param>
-        public void chainTearDownTask(Runnable task)
-        {
-            taskHandler.chainTearDownTask(task);
-        }
-        */
-
-        /*
-        /// <summary>
-        /// Should provide a translation from the junit method name of a test 
to its test case name as known to the test
-        /// clients that will run the test. The purpose of this is to convert 
the JUnit method name into the correct test
-        /// case name to place into the test invite. For example the method 
"testP2P" might map onto the interop test case
-        /// name "TC2_BasicP2P".
-        /// </summary>
-        /// <param name="methodName"> The name of the JUnit test method. 
</param>
-        ///
-        /// <return> The name of the corresponding interop test case. </return>
-        public string getTestCaseNameForTestMethod(string methodName)
-        {
-            return methodName;
-        }
-
-        public void setInVmBrokers()
-        {
-            isUsingInVM = true;
-        }
-
-        /// <summary>
-        /// Indicates whether or not a test case is using in-vm brokers.
-        /// </summary>
-        /// <return> <tt>true</tt> if the test is using in-vm brokers, 
<tt>false</tt> otherwise. </return>
-        public bool usingInVmBroker()
-        {
-            return isUsingInVM;
-        }
-
-        /// <summary>
-        /// Sets the currently live in-vm broker.
-        /// </summary>
-        /// <param name="i"> The currently live in-vm broker. </param>
-        public void setLiveBroker(int i)
-        { }
-
-        /// <summary>
-        /// Reports the currently live in-vm broker.
-        /// </summary>
-        /// <return> The currently live in-vm broker. </return>
-        public int getLiveBroker()
-        {
-            return 0;
-        }
-
-        /// <summary>
-        /// Accepts a failure mechanism.
-        /// </summary>
-        /// <param name="failureMechanism"> The failure mechanism. </param>
-        public void setFailureMechanism(CauseFailure failureMechanism)
-        {
-            this.failureMechanism = failureMechanism;
-        }
-        */
-    }
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+using log4net;
+using NUnit.Framework;
+//using org.apache.log4j.NDC;
+
+using Apache.Qpid.Integration.Tests.framework.sequencers;//.CircuitFactory;
+
+//using uk.co.thebadgerset.junit.extensions.AsymptoticTestCase;
+//using uk.co.thebadgerset.junit.extensions.SetupTaskAware;
+//using uk.co.thebadgerset.junit.extensions.SetupTaskHandler;
+//using uk.co.thebadgerset.junit.extensions.util.ParsedProperties;
+//using uk.co.thebadgerset.junit.extensions.util.TestContextProperties;
+
+//using java.util.ArrayList;
+using System.Collections.Generic;//.IList;
+
+namespace Apache.Qpid.Integration.Tests.framework
+{
+    /// <summary>
+    /// FrameworkBaseCase provides a starting point for writing test cases 
against the test framework. Its main purpose is
+    /// to provide some convenience methods for testing.
+    ///
+    /// <p/><table id="crc"><caption>CRC Card</caption>
+    /// <tr><th> Responsibilities <th> Collaborations
+    /// <tr><td> Create and clean up in-vm brokers on every test case.
+    /// <tr><td> Produce lists of assertions from assertion creation calls.
+    /// <tr><td> Produce JUnit failures from assertion failures.
+    /// <tr><td> Convert failed assertions to error messages.
+    /// </table>
+    /// </summary>
+    public class FrameworkBaseCase //extends AsymptoticTestCase : 
FrameworkTestContext, SetupTaskAware, BrokerLifecycleAware
+    {
+        /// <summary> Used for debugging purposes. </summary>
+        private static ILog log = 
LogManager.GetLogger(typeof(FrameworkBaseCase));
+
+        /// <summary> Holds the test sequencer to create and run test circuits 
with. </summary>
+        protected CircuitFactory circuitFactory;// = new LocalCircuitFactory();
+
+        /// <summary> Used to read the tests configurable properties through. 
</summary>
+        protected TestModel testProps;
+
+        /// <summary> A default setup task processor to delegate setup tasks 
to. </summary>
+        //protected SetupTaskHandler taskHandler = new SetupTaskHandler();
+
+        /// <summary> Flag used to track whether the test is in-vm or not. 
</summary>
+        //protected bool isUsingInVM;
+
+        /// <summary> Holds the failure mechanism. </summary>
+        //protected CauseFailure failureMechanism = new 
CauseFailureUserPrompt();
+
+        /*
+        /// <summary>
+        /// Creates a new test case with the specified name.
+        /// </summary>
+        /// <param name="name"> The test case name. </param>
+        public FrameworkBaseCase(string name) : base(name)
+        {            
+        }
+        */
+
+        /// <summary>
+        /// Returns the test case sequencer that provides test circuit, and 
test sequence implementations. The sequencer
+        /// that this base case returns by default is suitable for running a 
test circuit with both circuit ends colocated
+        /// on the same JVM.
+        /// </summary>
+        /// <return> The test case sequencer. </return>
+        protected CircuitFactory GetCircuitFactory()
+        {
+            return circuitFactory;
+        }
+
+        /// <summary>
+        /// Overrides the default test circuit factory. Test decorators can 
use this to supply distributed test sequencers or
+        /// other test circuit factory specializations.
+        /// </summary>
+        /// <param name="circuitFactory"> The new test circuit factory. 
</param>
+        public void SetCircuitFactory(CircuitFactory circuitFactory)
+        {
+            this.circuitFactory = circuitFactory;
+        }
+
+        /*
+        /// <summary>
+        /// Reports the current test case name.
+        /// </summary>
+        /// <return> The current test case name. </return>
+        public TestCaseVector GetTestCaseVector()
+        {
+            return new TestCaseVector(this.getName(), 0);
+        }
+        */
+
+        /// <summary>
+        /// Reports the current test case parameters.
+        /// </summary>
+        /// <return> The current test case parameters. </return>
+        public TestModel getTestParameters()
+        {
+            return testProps;
+        }
+
+        /// <summary>
+        /// Creates a list of assertions.
+        /// </summary>
+        /// <param name="asserts"> The assertions to compile in a list. 
</param>
+        ///
+        /// <return> A list of assertions. </return>
+        protected IList<Assertion> AssertionList(params Assertion[] asserts)
+        {
+            IList<Assertion> result = new List<Assertion>();
+
+            foreach (Assertion assertion in asserts)
+            {
+                result.Add(assertion);
+            }
+
+            return result;
+        }
+
+        /// <summary>
+        /// Generates a JUnit assertion exception (failure) if any assertions 
are passed into this method, also concatenating
+        /// all of the error messages in the assertions together to form an 
error message to diagnose the test failure with.
+        /// </summary>
+        /// <param name="asserts"> The list of failed assertions. </param>
+        protected static void AssertNoFailures(List<Assertion> asserts)
+        {
+            log.Debug("protected void assertNoFailures(List<Assertion> asserts 
= " + asserts + "): called");
+
+            // Check if there are no assertion failures, and return without 
doing anything if so.
+            if ((asserts == null) || (asserts.Count == 0))
+            {
+                return;
+            }
+
+            // Compile all of the assertion failure messages together.
+            string errorMessage = AssertionsToString(asserts);
+
+            // Fail with the error message from all of the assertions.
+            Assert.Fail(errorMessage);
+        }
+
+        /// <summary>
+        /// Converts a list of failed assertions into an error message.
+        /// </summary>
+        /// <param name="asserts"> The failed assertions. </param>
+        ///
+        /// <return> The error message. </return>
+        protected static string AssertionsToString(List<Assertion> asserts)
+        {
+            string errorMessage = "";
+
+            foreach (Assertion assertion in asserts)
+            {
+                errorMessage += assertion.ToString() + "\n";
+            }
+
+            return errorMessage;
+        }
+
+        /// <summary>
+        /// Ensures that the in-vm broker is created and initialized.
+        /// </summary>
+        ///
+        /// <exception cref="Exception"> Any exceptions allowed to fall 
through and fail the test. </exception>
+        [SetUp]
+        protected void SetUp()
+        {
+            //NDC.Push(Name);
+
+            //testProps = 
TestContextProperties.getInstance(TestModel.defaults);
+
+            // Process all optional setup tasks. This may include in-vm broker 
creation, if a decorator has added it.
+            //taskHandler.runSetupTasks();
+        }
+
+        /// <summary> Ensures that the in-vm broker is cleaned up after each 
test run. </summary>
+        [TearDown]
+        protected void TearDown()
+        {
+            //NDC.Pop();
+
+            // Process all optional tear down tasks. This may include in-vm 
broker clean up, if a decorator has added it.
+            //taskHandler.runTearDownTasks();
+        }
+
+        /*
+        /// <summary>
+        /// Adds the specified task to the tests setup.
+        /// </summary>
+        /// <param name="task"> The task to add to the tests setup. </param>
+        public void chainSetupTask(Runnable task)
+        {
+            taskHandler.chainSetupTask(task);
+        }
+        */
+
+        /*
+        /// <summary>
+        /// Adds the specified task to the tests tear down.
+        /// </summary>
+        /// <param name="task"> The task to add to the tests tear down. 
</param>
+        public void chainTearDownTask(Runnable task)
+        {
+            taskHandler.chainTearDownTask(task);
+        }
+        */
+
+        /*
+        /// <summary>
+        /// Should provide a translation from the junit method name of a test 
to its test case name as known to the test
+        /// clients that will run the test. The purpose of this is to convert 
the JUnit method name into the correct test
+        /// case name to place into the test invite. For example the method 
"testP2P" might map onto the interop test case
+        /// name "TC2_BasicP2P".
+        /// </summary>
+        /// <param name="methodName"> The name of the JUnit test method. 
</param>
+        ///
+        /// <return> The name of the corresponding interop test case. </return>
+        public string getTestCaseNameForTestMethod(string methodName)
+        {
+            return methodName;
+        }
+
+        public void setInVmBrokers()
+        {
+            isUsingInVM = true;
+        }
+
+        /// <summary>
+        /// Indicates whether or not a test case is using in-vm brokers.
+        /// </summary>
+        /// <return> <tt>true</tt> if the test is using in-vm brokers, 
<tt>false</tt> otherwise. </return>
+        public bool usingInVmBroker()
+        {
+            return isUsingInVM;
+        }
+
+        /// <summary>
+        /// Sets the currently live in-vm broker.
+        /// </summary>
+        /// <param name="i"> The currently live in-vm broker. </param>
+        public void setLiveBroker(int i)
+        { }
+
+        /// <summary>
+        /// Reports the currently live in-vm broker.
+        /// </summary>
+        /// <return> The currently live in-vm broker. </return>
+        public int getLiveBroker()
+        {
+            return 0;
+        }
+
+        /// <summary>
+        /// Accepts a failure mechanism.
+        /// </summary>
+        /// <param name="failureMechanism"> The failure mechanism. </param>
+        public void setFailureMechanism(CauseFailure failureMechanism)
+        {
+            this.failureMechanism = failureMechanism;
+        }
+        */
+    }
 }
\ No newline at end of file

Propchange: 
qpid/trunk/qpid/dotnet/Qpid.Integration.Tests/framework/FrameworkBaseCase.cs
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: qpid/trunk/qpid/dotnet/Qpid.Integration.Tests/framework/Publisher.cs
URL: 
http://svn.apache.org/viewvc/qpid/trunk/qpid/dotnet/Qpid.Integration.Tests/framework/Publisher.cs?rev=886998&r1=886997&r2=886998&view=diff
==============================================================================
--- qpid/trunk/qpid/dotnet/Qpid.Integration.Tests/framework/Publisher.cs 
(original)
+++ qpid/trunk/qpid/dotnet/Qpid.Integration.Tests/framework/Publisher.cs Thu 
Dec  3 23:55:48 2009
@@ -1,65 +1,65 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-//using uk.co.thebadgerset.junit.extensions.util.ParsedProperties;
-using System;
-
-namespace Apache.Qpid.Integration.Tests.framework
-{
-    /// <summary>
-    /// A Publisher represents the status of the publishing side of a test 
circuit. Its main purpose is to provide assertions
-    /// that can be applied to test the behaviour of the publishers.
-    ///
-    /// <p/><table id="crc"><caption>CRC Card</caption>
-    /// <tr><th> Responsibilities
-    /// <tr><td> Provide assertion that the publishers received no exceptions.
-    /// </table>
-    /// </summary>
-    public interface Publisher
-    {
-        /// <summary>
-        /// Provides an assertion that the publisher encountered no exceptions.
-        /// </summary>
-        ///
-        /// <param name="testProps"> The test configuration properties. 
</param>
-        ///
-        /// <return> An assertion that the publisher encountered no 
exceptions. </return>
-        Assertion NoExceptionsAssertion(TestModel testProps);
-
-        /// <summary>
-        /// Provides an assertion that the AMQP channel was forcibly closed by 
an error condition.
-        /// </summary>
-        ///
-        /// <param name="testProps"> The test configuration properties. 
</param>
-        ///
-        /// <return> An assertion that the AMQP channel was forcibly closed by 
an error condition. </return>
-        Assertion ChannelClosedAssertion(TestModel testProps);
-
-        /// <summary>
-        /// Provides an assertion that the publisher got a given exception 
during the test.
-        /// </summary>
-        ///
-        /// <param name="testProps">      The test configuration properties. 
</param>
-        /// <param name="exceptionClass"> The exception class to check for. 
</param>
-        ///
-        /// <return> An assertion that the publisher got a given exception 
during the test. </return>
-        Assertion ExceptionAssertion(TestModel testProps, Type exceptionClass);
-    }
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+//using uk.co.thebadgerset.junit.extensions.util.ParsedProperties;
+using System;
+
+namespace Apache.Qpid.Integration.Tests.framework
+{
+    /// <summary>
+    /// A Publisher represents the status of the publishing side of a test 
circuit. Its main purpose is to provide assertions
+    /// that can be applied to test the behaviour of the publishers.
+    ///
+    /// <p/><table id="crc"><caption>CRC Card</caption>
+    /// <tr><th> Responsibilities
+    /// <tr><td> Provide assertion that the publishers received no exceptions.
+    /// </table>
+    /// </summary>
+    public interface Publisher
+    {
+        /// <summary>
+        /// Provides an assertion that the publisher encountered no exceptions.
+        /// </summary>
+        ///
+        /// <param name="testProps"> The test configuration properties. 
</param>
+        ///
+        /// <return> An assertion that the publisher encountered no 
exceptions. </return>
+        Assertion NoExceptionsAssertion(TestModel testProps);
+
+        /// <summary>
+        /// Provides an assertion that the AMQP channel was forcibly closed by 
an error condition.
+        /// </summary>
+        ///
+        /// <param name="testProps"> The test configuration properties. 
</param>
+        ///
+        /// <return> An assertion that the AMQP channel was forcibly closed by 
an error condition. </return>
+        Assertion ChannelClosedAssertion(TestModel testProps);
+
+        /// <summary>
+        /// Provides an assertion that the publisher got a given exception 
during the test.
+        /// </summary>
+        ///
+        /// <param name="testProps">      The test configuration properties. 
</param>
+        /// <param name="exceptionClass"> The exception class to check for. 
</param>
+        ///
+        /// <return> An assertion that the publisher got a given exception 
during the test. </return>
+        Assertion ExceptionAssertion(TestModel testProps, Type exceptionClass);
+    }
 }
\ No newline at end of file

Propchange: qpid/trunk/qpid/dotnet/Qpid.Integration.Tests/framework/Publisher.cs
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: qpid/trunk/qpid/dotnet/Qpid.Integration.Tests/framework/Receiver.cs
URL: 
http://svn.apache.org/viewvc/qpid/trunk/qpid/dotnet/Qpid.Integration.Tests/framework/Receiver.cs?rev=886998&r1=886997&r2=886998&view=diff
==============================================================================
--- qpid/trunk/qpid/dotnet/Qpid.Integration.Tests/framework/Receiver.cs 
(original)
+++ qpid/trunk/qpid/dotnet/Qpid.Integration.Tests/framework/Receiver.cs Thu Dec 
 3 23:55:48 2009
@@ -1,80 +1,80 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-//using uk.co.thebadgerset.junit.extensions.util.ParsedProperties;
-using System;
-
-namespace Apache.Qpid.Integration.Tests.framework
-{
-    /// <summary>
-    /// A Receiver is a <see cref="CircuitEnd"/> that represents the status of 
the receiving side of a test circuit. Its main
-    /// purpose is to provide assertions that can be applied to check the 
behaviour of the receivers.
-    ///
-    /// <p/><table id="crc"><caption>CRC Card</caption>
-    /// <tr><th> Responsibilities
-    /// <tr><td> Provide assertion that the receivers received no exceptions.
-    /// <tr><td> Provide assertion that the receivers received all test 
messages sent to it.
-    /// </table>
-    /// </summary>
-    public interface Receiver
-    {
-        /// <summary>
-        /// Provides an assertion that the receivers encountered no exceptions.
-        /// </summary>
-        ///
-        /// <param name="testProps"> The test configuration properties. 
</param>
-        ///
-        /// <return> An assertion that the receivers encountered no 
exceptions. </return>
-        Assertion NoExceptionsAssertion(TestModel testProps);
-
-        /// <summary>
-        /// Provides an assertion that the receivers got all messages that 
were sent to it.
-        /// </summary>
-        /// <param name="testProps"> The test configuration properties. 
</param>
-        ///
-        /// <return> An assertion that the receivers got all messages that 
were sent to it. </return>
-        Assertion AllMessagesReceivedAssertion(TestModel testProps);
-
-        /// <summary>
-        /// Provides an assertion that the receivers got none of the messages 
that were sent to it.
-        /// </summary>
-        /// <param name="testProps"> The test configuration properties. 
</param>
-        ///
-        /// <return> An assertion that the receivers got none of the messages 
that were sent to it. </return>
-        Assertion NoMessagesReceivedAssertion(TestModel testProps);
-
-        /// <summary>
-        /// Provides an assertion that the AMQP channel was forcibly closed by 
an error condition.
-        /// </summary>
-        /// <param name="testProps"> The test configuration properties. 
</param>
-        ///
-        /// <return> An assertion that the AMQP channel was forcibly closed by 
an error condition. </return>
-        Assertion ChannelClosedAssertion(TestModel testProps);
-
-        /// <summary>
-        /// Provides an assertion that the receiver got a given exception 
during the test.
-        /// </summary>
-        /// <param name="testProps"> The test configuration properties. 
</param>
-        /// <param name="exceptionClass"> The exception class to check for. 
</param>
-        ///
-        /// <return> An assertion that the receiver got a given exception 
during the test. </return>
-        Assertion ExceptionAssertion(TestModel testProps, Type exceptionClass);
-    }
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+//using uk.co.thebadgerset.junit.extensions.util.ParsedProperties;
+using System;
+
+namespace Apache.Qpid.Integration.Tests.framework
+{
+    /// <summary>
+    /// A Receiver is a <see cref="CircuitEnd"/> that represents the status of 
the receiving side of a test circuit. Its main
+    /// purpose is to provide assertions that can be applied to check the 
behaviour of the receivers.
+    ///
+    /// <p/><table id="crc"><caption>CRC Card</caption>
+    /// <tr><th> Responsibilities
+    /// <tr><td> Provide assertion that the receivers received no exceptions.
+    /// <tr><td> Provide assertion that the receivers received all test 
messages sent to it.
+    /// </table>
+    /// </summary>
+    public interface Receiver
+    {
+        /// <summary>
+        /// Provides an assertion that the receivers encountered no exceptions.
+        /// </summary>
+        ///
+        /// <param name="testProps"> The test configuration properties. 
</param>
+        ///
+        /// <return> An assertion that the receivers encountered no 
exceptions. </return>
+        Assertion NoExceptionsAssertion(TestModel testProps);
+
+        /// <summary>
+        /// Provides an assertion that the receivers got all messages that 
were sent to it.
+        /// </summary>
+        /// <param name="testProps"> The test configuration properties. 
</param>
+        ///
+        /// <return> An assertion that the receivers got all messages that 
were sent to it. </return>
+        Assertion AllMessagesReceivedAssertion(TestModel testProps);
+
+        /// <summary>
+        /// Provides an assertion that the receivers got none of the messages 
that were sent to it.
+        /// </summary>
+        /// <param name="testProps"> The test configuration properties. 
</param>
+        ///
+        /// <return> An assertion that the receivers got none of the messages 
that were sent to it. </return>
+        Assertion NoMessagesReceivedAssertion(TestModel testProps);
+
+        /// <summary>
+        /// Provides an assertion that the AMQP channel was forcibly closed by 
an error condition.
+        /// </summary>
+        /// <param name="testProps"> The test configuration properties. 
</param>
+        ///
+        /// <return> An assertion that the AMQP channel was forcibly closed by 
an error condition. </return>
+        Assertion ChannelClosedAssertion(TestModel testProps);
+
+        /// <summary>
+        /// Provides an assertion that the receiver got a given exception 
during the test.
+        /// </summary>
+        /// <param name="testProps"> The test configuration properties. 
</param>
+        /// <param name="exceptionClass"> The exception class to check for. 
</param>
+        ///
+        /// <return> An assertion that the receiver got a given exception 
during the test. </return>
+        Assertion ExceptionAssertion(TestModel testProps, Type exceptionClass);
+    }
 }
\ No newline at end of file

Propchange: qpid/trunk/qpid/dotnet/Qpid.Integration.Tests/framework/Receiver.cs
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: 
qpid/trunk/qpid/dotnet/Qpid.Integration.Tests/framework/TestClientDetails.cs
URL: 
http://svn.apache.org/viewvc/qpid/trunk/qpid/dotnet/Qpid.Integration.Tests/framework/TestClientDetails.cs?rev=886998&r1=886997&r2=886998&view=diff
==============================================================================
--- 
qpid/trunk/qpid/dotnet/Qpid.Integration.Tests/framework/TestClientDetails.cs 
(original)
+++ 
qpid/trunk/qpid/dotnet/Qpid.Integration.Tests/framework/TestClientDetails.cs 
Thu Dec  3 23:55:48 2009
@@ -1,84 +1,84 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
- */
-using System;
-
-namespace Apache.Qpid.Integration.Tests.framework
-{
-    /// <summary>
-    /// TestClientDetails is used to encapsulate information about an interop 
test client. It pairs together the unique
-    /// name of the client, and the route on which it listens to its control 
messages.
-    ///
-    /// <p><table id="crc"><caption>CRC Card</caption>
-    /// <tr><th> Responsibilities <th> Collaborations
-    /// <tr><td> Record test clients control addresses together with their 
names.
-    /// </table>
-    /// </summary>
-    public class TestClientDetails
-    {
-        /// <summary> The test clients name. </summary>
-        public string clientName;
-
-        /// <summary> The routing key of the test clients control topic. 
</summary>
-        public string privateControlKey;
-
-        /// <summary>
-        /// Two TestClientDetails are considered to be equal, iff they have 
the same client name.
-        /// </summary>
-        /// <param name="o"> The object to compare to. </param>
-        ///
-        /// <return> <tt>If the object to compare to is a TestClientDetails 
equal to this one, <tt>false</tt> otherwise. </return>
-        public override bool Equals(Object o)
-        {
-            if (this == o)
-            {
-                return true;
-            }
-
-            if (!(o is TestClientDetails))
-            {
-                return false;
-            }
-
-            TestClientDetails testClientDetails = (TestClientDetails) o;
-
-            return !((clientName != null) ? 
(!clientName.Equals(testClientDetails.clientName))
-                     : (testClientDetails.clientName != null));
-        }
-
-        /// <summary>
-        /// Computes a hash code compatible with the equals method; based on 
the client name alone.
-        /// </summary>
-        /// <return> A hash code for this. </return>
-        public override int GetHashCode()
-        {
-            return ((clientName != null) ? clientName.GetHashCode() : 0);
-        }
-
-        /// <summary>
-        /// Outputs the client name and address details. Mostly used for 
debugging purposes.
-        /// </summary>
-        /// <return> The client name and address. </return>
-        public override string ToString()
-        {
-            return "TestClientDetails: [ clientName = " + clientName + ", 
privateControlKey = " + privateControlKey + " ]";
-        }
-    }
-}
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+using System;
+
+namespace Apache.Qpid.Integration.Tests.framework
+{
+    /// <summary>
+    /// TestClientDetails is used to encapsulate information about an interop 
test client. It pairs together the unique
+    /// name of the client, and the route on which it listens to its control 
messages.
+    ///
+    /// <p><table id="crc"><caption>CRC Card</caption>
+    /// <tr><th> Responsibilities <th> Collaborations
+    /// <tr><td> Record test clients control addresses together with their 
names.
+    /// </table>
+    /// </summary>
+    public class TestClientDetails
+    {
+        /// <summary> The test clients name. </summary>
+        public string clientName;
+
+        /// <summary> The routing key of the test clients control topic. 
</summary>
+        public string privateControlKey;
+
+        /// <summary>
+        /// Two TestClientDetails are considered to be equal, iff they have 
the same client name.
+        /// </summary>
+        /// <param name="o"> The object to compare to. </param>
+        ///
+        /// <return> <tt>If the object to compare to is a TestClientDetails 
equal to this one, <tt>false</tt> otherwise. </return>
+        public override bool Equals(Object o)
+        {
+            if (this == o)
+            {
+                return true;
+            }
+
+            if (!(o is TestClientDetails))
+            {
+                return false;
+            }
+
+            TestClientDetails testClientDetails = (TestClientDetails) o;
+
+            return !((clientName != null) ? 
(!clientName.Equals(testClientDetails.clientName))
+                     : (testClientDetails.clientName != null));
+        }
+
+        /// <summary>
+        /// Computes a hash code compatible with the equals method; based on 
the client name alone.
+        /// </summary>
+        /// <return> A hash code for this. </return>
+        public override int GetHashCode()
+        {
+            return ((clientName != null) ? clientName.GetHashCode() : 0);
+        }
+
+        /// <summary>
+        /// Outputs the client name and address details. Mostly used for 
debugging purposes.
+        /// </summary>
+        /// <return> The client name and address. </return>
+        public override string ToString()
+        {
+            return "TestClientDetails: [ clientName = " + clientName + ", 
privateControlKey = " + privateControlKey + " ]";
+        }
+    }
+}

Propchange: 
qpid/trunk/qpid/dotnet/Qpid.Integration.Tests/framework/TestClientDetails.cs
------------------------------------------------------------------------------
    svn:eol-style = native



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to