qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ai...@apache.org
Subject svn commit: r886998 [1/14] - in /qpid/trunk: ./ qpid/dotnet/Qpid.Buffer.Tests/ qpid/dotnet/Qpid.Buffer.Tests/Properties/ qpid/dotnet/Qpid.Buffer/ qpid/dotnet/Qpid.Client.Tests/BrokerDetails/ qpid/dotnet/Qpid.Client.Tests/Channel/ qpid/dotnet/Qpid.Clien...
Date Thu, 03 Dec 2009 23:55:56 GMT
Author: aidan
Date: Thu Dec  3 23:55:48 2009
New Revision: 886998

URL: http://svn.apache.org/viewvc?rev=886998&view=rev
Log:
Fix eol style property

Modified:
    qpid/trunk/   (props changed)
    qpid/trunk/qpid/dotnet/Qpid.Buffer.Tests/Properties/AssemblyInfo.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Buffer.Tests/SimpleByteBufferTests.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Buffer.Tests/SlicedByteBufferTests.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Buffer/IByteBufferAllocator.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Buffer/SimpleByteBuffer.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Buffer/SlicedByteBuffer.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Client.Tests/BrokerDetails/BrokerDetailsTest.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Client.Tests/Channel/ChannelMessageCreationTests.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Client.Tests/Messages/MessageFactoryRegistryTests.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Client.Tests/Security/CallbackHandlerRegistryTests.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Client.Tests/interop/TopicListener.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Client.Tests/interop/TopicPublisher.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Client/Client/AMQAuthenticationException.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Client/Client/AMQNoConsumersException.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Client/Client/AMQNoRouteException.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Client/Client/Configuration/AuthenticationConfigurationSectionHandler.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Client/Client/Handler/QueueDeleteOkMethodHandler.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Client/Client/Handler/QueuePurgeOkMethodHandler.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Client/Client/Protocol/DefaultTimeouts.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Client/Client/Security/CallbackHandlerRegistry.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Client/Client/Security/IAMQCallbackHandler.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Client/Client/Security/UsernamePasswordCallbackHandler.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Client/Client/SslOptions.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Client/Client/Transport/IStreamFilter.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Client/Client/Transport/IoHandler.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Client/Client/Transport/ProtocolDecoderOutput.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Client/Client/Transport/Socket/Blocking/BlockingSocketTransport.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Client/Client/Transport/Socket/Blocking/ByteChannel.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Client/Client/Transport/Socket/Blocking/ISocketConnector.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Client/Client/Transport/Socket/Blocking/SocketConnector.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Client/Client/Transport/Socket/Blocking/SslSocketConnector.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Client/Client/Util/FlowControlQueue.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Common.Tests/Qpid/Collections/TestConsumerProducerQueue.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Common.Tests/Qpid/Framing/TestAMQType.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Common.Tests/Qpid/Framing/TestEncodingUtils.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Common/AMQInvalidArgumentException.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Common/AMQInvalidRoutingKeyException.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Common/Collections/ConsumerProducerQueue.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Common/Framing/AMQType.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Common/Framing/AMQTypeMap.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Common/Framing/AMQTypedValue.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Common/Protocol/AMQConstant.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Integration.Tests/Properties/AssemblyInfo.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Integration.Tests/framework/Assertion.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Integration.Tests/framework/Circuit.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Integration.Tests/framework/FrameworkBaseCase.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Integration.Tests/framework/Publisher.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Integration.Tests/framework/Receiver.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Integration.Tests/framework/TestClientDetails.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Integration.Tests/framework/TestModel.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Integration.Tests/framework/sequencers/CircuitFactory.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Integration.Tests/interactive/FailoverTest.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Integration.Tests/interactive/SendReceiveTest.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Integration.Tests/interop/InteropClientTestCase.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Integration.Tests/interop/TestCases/TestCase1DummyRun.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Integration.Tests/interop/TestCases/TestCase2BasicP2P.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Integration.Tests/interop/TestCases/TestCase3BasicPubSub.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Integration.Tests/interop/TestClient.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Integration.Tests/testcases/BaseMessagingTestFixture.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Integration.Tests/testcases/ChannelQueueTest.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Integration.Tests/testcases/CommitRollbackTest.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Integration.Tests/testcases/ConnectionTest.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Integration.Tests/testcases/DurableSubscriptionTest.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Integration.Tests/testcases/HeadersExchangeTest.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Integration.Tests/testcases/MandatoryMessageTest.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Integration.Tests/testcases/ProducerMultiConsumerTest.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Integration.Tests/testcases/SslConnectionTest.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Integration.Tests/testcases/SustainedTest.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Messaging/ICloseable.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Sasl.Tests/Mechanisms/AnonymousSaslClientTests.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Sasl.Tests/Mechanisms/CramMD5SaslClientTests.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Sasl.Tests/Mechanisms/DigestSaslClientTests.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Sasl.Tests/Mechanisms/ExternalSaslClientTests.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Sasl.Tests/Mechanisms/PlainSaslClientTests.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Sasl.Tests/Properties/AssemblyInfo.cs   (props changed)
    qpid/trunk/qpid/dotnet/Qpid.Sasl.Tests/SaslTests.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Sasl.Tests/TestClientFactory.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Sasl/Callbacks.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Sasl/Configuration/SaslConfiguration.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Sasl/Configuration/SaslConfigurationSectionHandler.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Sasl/DefaultClientFactory.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Sasl/ISaslCallbackHandler.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Sasl/ISaslClient.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Sasl/ISaslClientFactory.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Sasl/MD5HMAC.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Sasl/Mechanisms/AnonymousSaslClient.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Sasl/Mechanisms/CramMD5HexSaslClient.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Sasl/Mechanisms/CramMD5SaslClient.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Sasl/Mechanisms/DigestSaslClient.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Sasl/Mechanisms/ExternalSaslClient.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Sasl/Mechanisms/PlainSaslClient.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Sasl/Properties/AssemblyInfo.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Sasl/Sasl.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Sasl/SaslClient.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Sasl/SaslException.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/Qpid.Sasl/SaslProperties.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/TestClient/Program.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/TestClient/Properties/AssemblyInfo.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/TopicListener/Program.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/TopicListener/Properties/AssemblyInfo.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/TopicPublisher/Program.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/TopicPublisher/Properties/AssemblyInfo.cs   (contents, props changed)
    qpid/trunk/qpid/dotnet/client-010/addins/ExcelAddIn/ExcelAddIn.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/addins/ExcelAddIn/Properties/AssemblyInfo.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/addins/ExcelAddInMessageProcessor/Processor.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/addins/ExcelAddInMessageProcessor/Properties/AssemblyInfo.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/addins/ExcelAddInProducer/Program.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/addins/ExcelAddInProducer/Properties/AssemblyInfo.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/Properties/AssemblyInfo.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/client/Client.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/client/ClientConnectionDelegate.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/client/ClientInterface.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/client/ClientSession.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/client/ClientSessionDelegate.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/client/ClosedListenerInterface.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/client/ErrorCode.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/client/IClient.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/client/IClientSession.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/client/IClosedListener.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/client/IMessage.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/client/IMessageListener.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/client/Message.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/Binary.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/Binding.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/Channel.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/ChannelDelegate.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/ClientDelegate.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/Connection.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/ConnectionDelegate.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/Field.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/Future.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/Header.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/IBinding.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/IFuture.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/IProtocolDelegate.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/IProtocolEvent.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/IReceiver.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/ISender.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/ISession.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/Method.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/ProtocolDelegate.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/ProtocolError.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/ProtocolEvent.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/ProtocolHeader.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/Range.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/RangeSet.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/ReceivedPayload.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/Receiver.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/Sender.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/Session.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/SessionDelegate.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/Struct.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/codec/AbstractDecoder.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/codec/AbstractEncoder.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/codec/Decoder.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/codec/Encodable.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/codec/Encoder.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/codec/IDecoder.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/codec/IEncodable.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/codec/IEncoder.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/codec/MSDecoder.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/codec/MSEncoder.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/exception/ConnectionException.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/exception/ExceptionArgs.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/exception/ProtocolVersionException.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/exception/SessionClosedException.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/exception/SessionException.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/exception/TransportException.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/network/Assembler.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/network/Disassembler.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/network/Frame.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/network/IIoSender.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/network/INetworkDelegate.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/network/INetworkEvent.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/network/InputHandler.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/network/NetworkDelegate.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/network/NetworkEvent.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/network/io/IIoSender.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/network/io/IIoTransport.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/network/io/IoReceiver.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/network/io/IoSSLTransport.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/network/io/IoSender.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/network/io/IoTransport.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/util/ByteEncoder.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/util/CircularBuffer.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/util/Functions.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/util/Logger.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/util/ResultFuture.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/util/Serial.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/client/transport/util/UUID.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/demo/Program.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/demo/Properties/AssemblyInfo.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/demo/Properties/Resources.Designer.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/demo/Properties/Settings.Designer.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/examples/direct/example-direct-Listener/Listener.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/examples/direct/example-direct-Listener/Properties/AssemblyInfo.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/examples/direct/example-direct-producer/Producer.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/examples/direct/example-direct-producer/Properties/AssemblyInfo.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/examples/fanout/example-fanout-Listener/Listener.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/examples/fanout/example-fanout-Listener/Properties/AssemblyInfo.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/examples/fanout/example-fanout-Producer/Producer.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/examples/fanout/example-fanout-Producer/Properties/AssemblyInfo.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/examples/pub-sub/example-pub-sub-Listener/Listener.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/examples/pub-sub/example-pub-sub-Listener/Properties/AssemblyInfo.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/examples/pub-sub/example-pub-sub-Publisher/Properties/AssemblyInfo.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/examples/pub-sub/example-pub-sub-Publisher/Publisher.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/examples/request-response/example-request-response-Client/Properties/AssemblyInfo.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/examples/request-response/example-request-response-Client/RequestResponseClient.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/examples/request-response/example-request-response-Server/Properties/AssemblyInfo.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/examples/request-response/example-request-response-Server/Server.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/management/console/AbstractConsole.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/management/console/Agent.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/management/console/Broker.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/management/console/BrokerURL.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/management/console/ClassKey.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/management/console/Console.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/management/console/MethodResult.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/management/console/ObjectID.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/management/console/QMFEvent.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/management/console/QMFObject.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/management/console/SchemaArgument.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/management/console/SchemaClass.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/management/console/SchemaMethod.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/management/console/SchemaProperty.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/management/console/SchemaStatistic.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/management/console/SchemaVariable.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/management/console/SequenceManager.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/management/console/Session.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/management/console/Util.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/management/console/XMLUtil.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/perftest/PerfTest.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/perftest/Properties/AssemblyInfo.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/test/Properties/AssemblyInfo.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/test/interop/Admin.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/test/interop/ApplicationHeaders.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/test/interop/Message.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/test/interop/TestCase.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/test/transport/util/ByteEncoderTest.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/test/transport/util/CircularBufferTest.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/test/transport/util/ResultFutureTest.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/test/transport/util/SerialTest.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/test/transport/util/UUIDTest.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/wcf/Properties/AssemblyInfo.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfBookingClient/Form1.Designer.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfBookingClient/Form1.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfBookingClient/Program.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfBookingClient/Properties/AssemblyInfo.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfBookingClient/Properties/Resources.Designer.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfBookingClient/Properties/Settings.Designer.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfBookingServer/Booking.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfBookingServer/IBooking.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfBookingServer/Order.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfBookingServer/Program.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfBookingServer/Properties/AssemblyInfo.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfBookingServer/Receipt.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfHelloClient/HelloClient.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfHelloClient/IHelloService.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfHelloClient/Program.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfHelloClient/Properties/AssemblyInfo.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfHelloServer/HelloService.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfHelloServer/IHelloService.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfHelloServer/Program.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfHelloServer/Properties/AssemblyInfo.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfRPC/IUpperCase.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfRPC/Program.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfRPC/Properties/AssemblyInfo.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfRPC/QpidBindingConfigurationElement.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/wcf/demo/wcfRPC/UpperCase.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/wcf/model/CommunicationOperation.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/wcf/model/QpidBinding.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/wcf/model/QpidChannelBase.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/wcf/model/QpidChannelFactory.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/wcf/model/QpidChannelListener.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/wcf/model/QpidChannelListenerBase.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/wcf/model/QpidInputChannel.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/wcf/model/QpidInputChannelBase.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/wcf/model/QpidOutputChannel.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/wcf/model/QpidOutputChannelBase.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/wcf/model/QpidTransportBindingElement.cs   (props changed)
    qpid/trunk/qpid/dotnet/client-010/wcf/model/QpidTransportElement.cs   (props changed)

Propchange: qpid/trunk/
------------------------------------------------------------------------------
    svn:mergeinfo = /qpid/branches/java-network-refactor:805429-825319

Modified: qpid/trunk/qpid/dotnet/Qpid.Buffer.Tests/Properties/AssemblyInfo.cs
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/dotnet/Qpid.Buffer.Tests/Properties/AssemblyInfo.cs?rev=886998&r1=886997&r2=886998&view=diff
==============================================================================
--- qpid/trunk/qpid/dotnet/Qpid.Buffer.Tests/Properties/AssemblyInfo.cs (original)
+++ qpid/trunk/qpid/dotnet/Qpid.Buffer.Tests/Properties/AssemblyInfo.cs Thu Dec  3 23:55:48 2009
@@ -1,56 +1,56 @@
-/*
- *
- * 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.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following 
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("Apache.Qpid.Buffer.Tests")]
-[assembly: AssemblyDescription("Built from svn revision number: ")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("Apache Software Foundation")]
-[assembly: AssemblyProduct("Apache.Qpid.Buffer.Tests")]
-[assembly: AssemblyCopyright("Apache Software Foundation")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible 
-// to COM components.  If you need to access a type in this assembly from 
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("9d967d0b-9454-4f00-8f53-fa86fd62b696")]
-
-// Version information for an assembly consists of the following four values:
-//
-//      Major Version
-//      Minor Version 
-//      Build Number
-//      Revision
-//
-// You can specify all the values or you can default the Revision and Build Numbers 
-// by using the '*' as shown below:
-[assembly: AssemblyVersion("0.5.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
+/*
+ *
+ * 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.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following 
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("Apache.Qpid.Buffer.Tests")]
+[assembly: AssemblyDescription("Built from svn revision number: ")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("Apache Software Foundation")]
+[assembly: AssemblyProduct("Apache.Qpid.Buffer.Tests")]
+[assembly: AssemblyCopyright("Apache Software Foundation")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible 
+// to COM components.  If you need to access a type in this assembly from 
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("9d967d0b-9454-4f00-8f53-fa86fd62b696")]
+
+// Version information for an assembly consists of the following four values:
+//
+//      Major Version
+//      Minor Version 
+//      Build Number
+//      Revision
+//
+// You can specify all the values or you can default the Revision and Build Numbers 
+// by using the '*' as shown below:
+[assembly: AssemblyVersion("0.5.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]

Propchange: qpid/trunk/qpid/dotnet/Qpid.Buffer.Tests/Properties/AssemblyInfo.cs
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: qpid/trunk/qpid/dotnet/Qpid.Buffer.Tests/SimpleByteBufferTests.cs
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/dotnet/Qpid.Buffer.Tests/SimpleByteBufferTests.cs?rev=886998&r1=886997&r2=886998&view=diff
==============================================================================
--- qpid/trunk/qpid/dotnet/Qpid.Buffer.Tests/SimpleByteBufferTests.cs (original)
+++ qpid/trunk/qpid/dotnet/Qpid.Buffer.Tests/SimpleByteBufferTests.cs Thu Dec  3 23:55:48 2009
@@ -1,333 +1,333 @@
-/*
- *
- * 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 NUnit.Framework;
-using Apache.Qpid.Buffer;
-
-namespace Apache.Qpid.Buffer.Tests
-{
-   /// <summary>
-   /// Tests for the SimpleByteBuffer class
-   /// </summary>
-   [TestFixture]
-   public class SimpleByteBufferTests
-   {
-      [Test]
-      public void CanCreateNewBuffer()
-      {
-         const int size = 10;
-         ByteBuffer buffer = ByteBuffer.Allocate(size);
-         Assert.AreEqual(size, buffer.Capacity);
-         Assert.AreEqual(0, buffer.Position);
-         Assert.AreEqual(size, buffer.Remaining);
-         Assert.AreEqual(true, buffer.HasRemaining);
-      }
-
-      [Test]
-      public void CanWrapArray()
-      {
-         byte[] array = new byte[10];
-         for ( int i=0; i < array.Length; i++ )
-         {
-            array[i] = (byte) i;
-         }
-         ByteBuffer buffer = ByteBuffer.Wrap(array);
-         // the buffer should be the same size, 
-         // and positioned at the end
-         Assert.AreEqual(array.Length, buffer.Capacity);
-         Assert.AreEqual(array.Length, buffer.Position);
-         Assert.AreEqual(array.Length, buffer.Limit);
-      }
-
-      #region Base Read/Write tests
-      //
-      // Base Read/Write tests
-      //
-      [Test]
-      public void CanReadWriteBytes()
-      {
-         ByteBuffer buffer = ByteBuffer.Allocate(10);
-         buffer.Put((byte)0x01).Put((byte)0x02).Put((byte)0x03);
-         buffer.Rewind();
-         Assert.AreEqual(0x01, buffer.GetByte());
-         Assert.AreEqual(0x02, buffer.GetByte());
-         Assert.AreEqual(0x03, buffer.GetByte());
-      }
-
-      [Test]
-      [ExpectedException(typeof(BufferUnderflowException))]
-      public void ThrowOnReadByteWithNoSpace()
-      {
-         ByteBuffer buffer = ByteBuffer.Allocate(1);
-         buffer.Put((byte)0x01);
-         buffer.GetByte();
-      }
-
-      [Test]
-      [ExpectedException(typeof(BufferOverflowException))]
-      public void ThrowOnWriteByteWithNoSpace()
-      {
-         ByteBuffer buffer = ByteBuffer.Allocate(1);
-         buffer.Put((byte)0x01).Put((byte)0x02);
-      }
-
-      #endregion Base Read/Write tests
-
-      #region Other Buffer Operations
-      //
-      // Other Buffer Operations
-      //
-      
-      [Test]
-      public void CanFlipBuffer()
-      {
-         ByteBuffer buffer = ByteBuffer.Allocate(10);
-         buffer.Put((byte)0x01).Put((byte)0x02).Put((byte)0x03);
-         buffer.Flip();
-         Assert.AreEqual(10, buffer.Capacity);
-         Assert.AreEqual(3, buffer.Limit);
-         Assert.AreEqual(0, buffer.Position);
-         Assert.AreEqual(3, buffer.Remaining);
-      }
-
-      [Test]
-      public void CanCompactBuffer()
-      {
-         ByteBuffer buffer = ByteBuffer.Allocate(10);
-         buffer.Put((byte)0x01).Put((byte)0x02).Put((byte)0x03);
-         buffer.Flip();
-         buffer.Position = 1;
-         buffer.Compact();
-         Assert.AreEqual(10, buffer.Capacity);
-         Assert.AreEqual(10, buffer.Limit);
-         Assert.AreEqual(2, buffer.Position);
-         Assert.AreEqual(8, buffer.Remaining);
-         buffer.Rewind();
-         Assert.AreEqual((byte)0x02, buffer.GetByte());
-         Assert.AreEqual((byte)0x03, buffer.GetByte());
-      }
-
-      [Test]
-      public void CanClearBuffer()
-      {
-         ByteBuffer buffer = ByteBuffer.Allocate(10);
-         buffer.Put((byte)0x01).Put((byte)0x02).Put((byte)0x03);
-         buffer.Flip();
-         buffer.Position = 2;
-         buffer.Clear();
-         Assert.AreEqual(10, buffer.Capacity);
-         Assert.AreEqual(10, buffer.Limit);
-         Assert.AreEqual(0, buffer.Position);
-         Assert.AreEqual(10, buffer.Remaining);
-      }
-
-      [Test]
-      public void CanExpandBuffer()
-      {
-         ByteBuffer buffer = ByteBuffer.Allocate(10);
-         buffer.Put((byte)0x01).Put((byte)0x02).Put((byte)0x03);
-         buffer.Flip();
-         buffer.Position = 2;
-         int pos = buffer.Position;
-         buffer.Expand(20);
-
-         Assert.AreEqual(pos, buffer.Position);
-         Assert.IsTrue(buffer.Remaining >= 20);
-         buffer.Rewind();
-         Assert.AreEqual(0x01, buffer.GetByte());
-      }
-
-      [Test]
-      public void CanAutoExpand()
-      {
-         ByteBuffer buffer = ByteBuffer.Allocate(2);
-         buffer.IsAutoExpand = true;
-         // should cause autoexpand
-         buffer.Put((byte)0x01).Put((byte)0x02).Put((byte)0x03);
-         Assert.IsTrue(buffer.Capacity > 2);
-      }
-
-      [Test]
-      public void CanGetArray()
-      {
-         ByteBuffer buffer = ByteBuffer.Allocate(10);
-         buffer.Put((byte)0x01).Put((byte)0x02).Put((byte)0x03);
-         buffer.Flip();
-
-         byte[] array = buffer.Array;
-         for ( int i=0; i < buffer.Limit; i++ )
-         {
-            Assert.AreEqual(buffer.GetByte(), array[i]);
-         }
-      }
-
-      [Test]
-      public void CanSkip()
-      {
-         ByteBuffer buffer = ByteBuffer.Allocate(10);
-         buffer.Skip(4);
-         Assert.AreEqual(4, buffer.Position);
-      }
-
-      #endregion // Base Read/Write tests
-
-      #region Typed Accessors
-      //
-      // Typed Accessors
-      //
-      [Test]
-      public void CanReadWriteSByte()
-      {
-         ByteBuffer buffer = ByteBuffer.Allocate(10);
-         sbyte value = -12;
-         buffer.Put(value);
-         buffer.Flip();
-         Assert.AreEqual(value, buffer.GetSByte());
-      }
-      [Test]
-      public void CanReadWriteUInt16()
-      {
-         ByteBuffer buffer = ByteBuffer.Allocate(10);
-         ushort value = 41233;
-         buffer.Put(value);
-         buffer.Flip();
-         Assert.AreEqual(value, buffer.GetUInt16());
-      }
-      [Test]
-      public void CanReadWriteInt16()
-      {
-         ByteBuffer buffer = ByteBuffer.Allocate(10);
-         short value = -21233;
-         buffer.Put(value);
-         buffer.Flip();
-         Assert.AreEqual(value, buffer.GetInt16());
-      }
-      [Test]
-      public void CanReadWriteUInt32()
-      {
-         ByteBuffer buffer = ByteBuffer.Allocate(10);
-         uint value = 41233211;
-         buffer.Put(value);
-         buffer.Flip();
-         Assert.AreEqual(value, buffer.GetUInt32());
-      }
-      [Test]
-      public void CanReadWriteInt32()
-      {
-         ByteBuffer buffer = ByteBuffer.Allocate(10);
-         int value = -22221233;
-         buffer.Put(value);
-         buffer.Flip();
-         Assert.AreEqual(value, buffer.GetInt32());
-      }
-      [Test]
-      public void CanReadWriteUInt64()
-      {
-         ByteBuffer buffer = ByteBuffer.Allocate(10);
-         ulong value = 41233218871;
-         buffer.Put(value);
-         buffer.Flip();
-         Assert.AreEqual(value, buffer.GetUInt64());
-      }
-      [Test]
-      public void CanReadWriteInt64()
-      {
-         ByteBuffer buffer = ByteBuffer.Allocate(10);
-         long value = -9887335411;
-         buffer.Put(value);
-         buffer.Flip();
-         Assert.AreEqual(value, buffer.GetInt64());
-      }
-      [Test]
-      public void CanReadWriteFloat()
-      {
-         ByteBuffer buffer = ByteBuffer.Allocate(10);
-         float value = -1.2331f;
-         buffer.Put(value);
-         buffer.Flip();
-         Assert.AreEqual(value, buffer.GetFloat());
-      }
-
-      [Test]
-      public void CanReadWriteDouble()
-      {
-         ByteBuffer buffer = ByteBuffer.Allocate(10);
-         double value = -1.2331E12;
-         buffer.Put(value);
-         buffer.Flip();
-         Assert.AreEqual(value, buffer.GetDouble());
-      }
-
-      [Test]
-      public void CanReadWriteChar()
-      {
-         ByteBuffer buffer = ByteBuffer.Allocate(10);
-         char value = 'H';
-         buffer.Put(value);
-         buffer.Flip();
-         Assert.AreEqual(value, buffer.GetChar());
-      }
-
-      [Test]
-      public void CanReadWriteByteArray()
-      {
-         ByteBuffer buffer = ByteBuffer.Allocate(10);
-         buffer.Put(new byte[] { 0x01, 0x02, 0x03});
-         buffer.Flip();
-         byte[] data = new byte[3];
-         buffer.GetBytes(data);
-         Assert.AreEqual(0x01, data[0]);
-         Assert.AreEqual(0x02, data[1]);
-         Assert.AreEqual(0x03, data[2]);
-      }
-
-      [Test]
-      public void CanReadWriteByteArrayWithOffset()
-      {
-         ByteBuffer buffer = ByteBuffer.Allocate(10);
-         buffer.Put(new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05 }, 1, 4);
-         buffer.Flip();
-         byte[] data = new byte[3];
-         buffer.GetBytes(data, 2, 1);
-         Assert.AreEqual(0x00, data[0]);
-         Assert.AreEqual(0x00, data[1]);
-         Assert.AreEqual(0x02, data[2]);
-      }
-
-      [Test]
-      public void CanWriteByteBuffer()
-      {
-         ByteBuffer buffer1 = ByteBuffer.Allocate(10);
-         buffer1.Put((byte)0x01).Put((byte)0x02).Put((byte)0x03);
-         buffer1.Flip();
-
-         ByteBuffer buffer2 = ByteBuffer.Allocate(10);
-         buffer2.Put(buffer1);
-         buffer2.Flip();
-         Assert.AreEqual(buffer1.Limit, buffer2.Limit);
-         Assert.AreEqual(0x01, buffer2.GetByte());
-      }
-      #endregion // Typed Accessors
-
-   } // class SimpleByteBufferTests
-}
-
-
+/*
+ *
+ * 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 NUnit.Framework;
+using Apache.Qpid.Buffer;
+
+namespace Apache.Qpid.Buffer.Tests
+{
+   /// <summary>
+   /// Tests for the SimpleByteBuffer class
+   /// </summary>
+   [TestFixture]
+   public class SimpleByteBufferTests
+   {
+      [Test]
+      public void CanCreateNewBuffer()
+      {
+         const int size = 10;
+         ByteBuffer buffer = ByteBuffer.Allocate(size);
+         Assert.AreEqual(size, buffer.Capacity);
+         Assert.AreEqual(0, buffer.Position);
+         Assert.AreEqual(size, buffer.Remaining);
+         Assert.AreEqual(true, buffer.HasRemaining);
+      }
+
+      [Test]
+      public void CanWrapArray()
+      {
+         byte[] array = new byte[10];
+         for ( int i=0; i < array.Length; i++ )
+         {
+            array[i] = (byte) i;
+         }
+         ByteBuffer buffer = ByteBuffer.Wrap(array);
+         // the buffer should be the same size, 
+         // and positioned at the end
+         Assert.AreEqual(array.Length, buffer.Capacity);
+         Assert.AreEqual(array.Length, buffer.Position);
+         Assert.AreEqual(array.Length, buffer.Limit);
+      }
+
+      #region Base Read/Write tests
+      //
+      // Base Read/Write tests
+      //
+      [Test]
+      public void CanReadWriteBytes()
+      {
+         ByteBuffer buffer = ByteBuffer.Allocate(10);
+         buffer.Put((byte)0x01).Put((byte)0x02).Put((byte)0x03);
+         buffer.Rewind();
+         Assert.AreEqual(0x01, buffer.GetByte());
+         Assert.AreEqual(0x02, buffer.GetByte());
+         Assert.AreEqual(0x03, buffer.GetByte());
+      }
+
+      [Test]
+      [ExpectedException(typeof(BufferUnderflowException))]
+      public void ThrowOnReadByteWithNoSpace()
+      {
+         ByteBuffer buffer = ByteBuffer.Allocate(1);
+         buffer.Put((byte)0x01);
+         buffer.GetByte();
+      }
+
+      [Test]
+      [ExpectedException(typeof(BufferOverflowException))]
+      public void ThrowOnWriteByteWithNoSpace()
+      {
+         ByteBuffer buffer = ByteBuffer.Allocate(1);
+         buffer.Put((byte)0x01).Put((byte)0x02);
+      }
+
+      #endregion Base Read/Write tests
+
+      #region Other Buffer Operations
+      //
+      // Other Buffer Operations
+      //
+      
+      [Test]
+      public void CanFlipBuffer()
+      {
+         ByteBuffer buffer = ByteBuffer.Allocate(10);
+         buffer.Put((byte)0x01).Put((byte)0x02).Put((byte)0x03);
+         buffer.Flip();
+         Assert.AreEqual(10, buffer.Capacity);
+         Assert.AreEqual(3, buffer.Limit);
+         Assert.AreEqual(0, buffer.Position);
+         Assert.AreEqual(3, buffer.Remaining);
+      }
+
+      [Test]
+      public void CanCompactBuffer()
+      {
+         ByteBuffer buffer = ByteBuffer.Allocate(10);
+         buffer.Put((byte)0x01).Put((byte)0x02).Put((byte)0x03);
+         buffer.Flip();
+         buffer.Position = 1;
+         buffer.Compact();
+         Assert.AreEqual(10, buffer.Capacity);
+         Assert.AreEqual(10, buffer.Limit);
+         Assert.AreEqual(2, buffer.Position);
+         Assert.AreEqual(8, buffer.Remaining);
+         buffer.Rewind();
+         Assert.AreEqual((byte)0x02, buffer.GetByte());
+         Assert.AreEqual((byte)0x03, buffer.GetByte());
+      }
+
+      [Test]
+      public void CanClearBuffer()
+      {
+         ByteBuffer buffer = ByteBuffer.Allocate(10);
+         buffer.Put((byte)0x01).Put((byte)0x02).Put((byte)0x03);
+         buffer.Flip();
+         buffer.Position = 2;
+         buffer.Clear();
+         Assert.AreEqual(10, buffer.Capacity);
+         Assert.AreEqual(10, buffer.Limit);
+         Assert.AreEqual(0, buffer.Position);
+         Assert.AreEqual(10, buffer.Remaining);
+      }
+
+      [Test]
+      public void CanExpandBuffer()
+      {
+         ByteBuffer buffer = ByteBuffer.Allocate(10);
+         buffer.Put((byte)0x01).Put((byte)0x02).Put((byte)0x03);
+         buffer.Flip();
+         buffer.Position = 2;
+         int pos = buffer.Position;
+         buffer.Expand(20);
+
+         Assert.AreEqual(pos, buffer.Position);
+         Assert.IsTrue(buffer.Remaining >= 20);
+         buffer.Rewind();
+         Assert.AreEqual(0x01, buffer.GetByte());
+      }
+
+      [Test]
+      public void CanAutoExpand()
+      {
+         ByteBuffer buffer = ByteBuffer.Allocate(2);
+         buffer.IsAutoExpand = true;
+         // should cause autoexpand
+         buffer.Put((byte)0x01).Put((byte)0x02).Put((byte)0x03);
+         Assert.IsTrue(buffer.Capacity > 2);
+      }
+
+      [Test]
+      public void CanGetArray()
+      {
+         ByteBuffer buffer = ByteBuffer.Allocate(10);
+         buffer.Put((byte)0x01).Put((byte)0x02).Put((byte)0x03);
+         buffer.Flip();
+
+         byte[] array = buffer.Array;
+         for ( int i=0; i < buffer.Limit; i++ )
+         {
+            Assert.AreEqual(buffer.GetByte(), array[i]);
+         }
+      }
+
+      [Test]
+      public void CanSkip()
+      {
+         ByteBuffer buffer = ByteBuffer.Allocate(10);
+         buffer.Skip(4);
+         Assert.AreEqual(4, buffer.Position);
+      }
+
+      #endregion // Base Read/Write tests
+
+      #region Typed Accessors
+      //
+      // Typed Accessors
+      //
+      [Test]
+      public void CanReadWriteSByte()
+      {
+         ByteBuffer buffer = ByteBuffer.Allocate(10);
+         sbyte value = -12;
+         buffer.Put(value);
+         buffer.Flip();
+         Assert.AreEqual(value, buffer.GetSByte());
+      }
+      [Test]
+      public void CanReadWriteUInt16()
+      {
+         ByteBuffer buffer = ByteBuffer.Allocate(10);
+         ushort value = 41233;
+         buffer.Put(value);
+         buffer.Flip();
+         Assert.AreEqual(value, buffer.GetUInt16());
+      }
+      [Test]
+      public void CanReadWriteInt16()
+      {
+         ByteBuffer buffer = ByteBuffer.Allocate(10);
+         short value = -21233;
+         buffer.Put(value);
+         buffer.Flip();
+         Assert.AreEqual(value, buffer.GetInt16());
+      }
+      [Test]
+      public void CanReadWriteUInt32()
+      {
+         ByteBuffer buffer = ByteBuffer.Allocate(10);
+         uint value = 41233211;
+         buffer.Put(value);
+         buffer.Flip();
+         Assert.AreEqual(value, buffer.GetUInt32());
+      }
+      [Test]
+      public void CanReadWriteInt32()
+      {
+         ByteBuffer buffer = ByteBuffer.Allocate(10);
+         int value = -22221233;
+         buffer.Put(value);
+         buffer.Flip();
+         Assert.AreEqual(value, buffer.GetInt32());
+      }
+      [Test]
+      public void CanReadWriteUInt64()
+      {
+         ByteBuffer buffer = ByteBuffer.Allocate(10);
+         ulong value = 41233218871;
+         buffer.Put(value);
+         buffer.Flip();
+         Assert.AreEqual(value, buffer.GetUInt64());
+      }
+      [Test]
+      public void CanReadWriteInt64()
+      {
+         ByteBuffer buffer = ByteBuffer.Allocate(10);
+         long value = -9887335411;
+         buffer.Put(value);
+         buffer.Flip();
+         Assert.AreEqual(value, buffer.GetInt64());
+      }
+      [Test]
+      public void CanReadWriteFloat()
+      {
+         ByteBuffer buffer = ByteBuffer.Allocate(10);
+         float value = -1.2331f;
+         buffer.Put(value);
+         buffer.Flip();
+         Assert.AreEqual(value, buffer.GetFloat());
+      }
+
+      [Test]
+      public void CanReadWriteDouble()
+      {
+         ByteBuffer buffer = ByteBuffer.Allocate(10);
+         double value = -1.2331E12;
+         buffer.Put(value);
+         buffer.Flip();
+         Assert.AreEqual(value, buffer.GetDouble());
+      }
+
+      [Test]
+      public void CanReadWriteChar()
+      {
+         ByteBuffer buffer = ByteBuffer.Allocate(10);
+         char value = 'H';
+         buffer.Put(value);
+         buffer.Flip();
+         Assert.AreEqual(value, buffer.GetChar());
+      }
+
+      [Test]
+      public void CanReadWriteByteArray()
+      {
+         ByteBuffer buffer = ByteBuffer.Allocate(10);
+         buffer.Put(new byte[] { 0x01, 0x02, 0x03});
+         buffer.Flip();
+         byte[] data = new byte[3];
+         buffer.GetBytes(data);
+         Assert.AreEqual(0x01, data[0]);
+         Assert.AreEqual(0x02, data[1]);
+         Assert.AreEqual(0x03, data[2]);
+      }
+
+      [Test]
+      public void CanReadWriteByteArrayWithOffset()
+      {
+         ByteBuffer buffer = ByteBuffer.Allocate(10);
+         buffer.Put(new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05 }, 1, 4);
+         buffer.Flip();
+         byte[] data = new byte[3];
+         buffer.GetBytes(data, 2, 1);
+         Assert.AreEqual(0x00, data[0]);
+         Assert.AreEqual(0x00, data[1]);
+         Assert.AreEqual(0x02, data[2]);
+      }
+
+      [Test]
+      public void CanWriteByteBuffer()
+      {
+         ByteBuffer buffer1 = ByteBuffer.Allocate(10);
+         buffer1.Put((byte)0x01).Put((byte)0x02).Put((byte)0x03);
+         buffer1.Flip();
+
+         ByteBuffer buffer2 = ByteBuffer.Allocate(10);
+         buffer2.Put(buffer1);
+         buffer2.Flip();
+         Assert.AreEqual(buffer1.Limit, buffer2.Limit);
+         Assert.AreEqual(0x01, buffer2.GetByte());
+      }
+      #endregion // Typed Accessors
+
+   } // class SimpleByteBufferTests
+}
+
+

Propchange: qpid/trunk/qpid/dotnet/Qpid.Buffer.Tests/SimpleByteBufferTests.cs
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: qpid/trunk/qpid/dotnet/Qpid.Buffer.Tests/SlicedByteBufferTests.cs
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/dotnet/Qpid.Buffer.Tests/SlicedByteBufferTests.cs?rev=886998&r1=886997&r2=886998&view=diff
==============================================================================
--- qpid/trunk/qpid/dotnet/Qpid.Buffer.Tests/SlicedByteBufferTests.cs (original)
+++ qpid/trunk/qpid/dotnet/Qpid.Buffer.Tests/SlicedByteBufferTests.cs Thu Dec  3 23:55:48 2009
@@ -1,133 +1,133 @@
-/*
- *
- * 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;
-using NUnit.Framework;
-using Apache.Qpid.Buffer;
-
-namespace Apache.Qpid.Buffer.Tests
-{
-   /// <summary>
-   /// Tests for the SlicedByteBuffer class
-   /// </summary>
-   [TestFixture]
-   public class SlicedByteBufferTests
-   {
-      private ByteBuffer _baseBuffer;
-
-      [SetUp]
-      public void Setup()
-      {
-         const int size = 50;
-         _baseBuffer = ByteBuffer.Allocate(size);
-         for ( byte b = 0; b < 10; b++ )
-         {
-            _baseBuffer.Put(b);
-         }
-         _baseBuffer.Flip();
-      }
-
-      [Test]
-      public void CanSliceBuffer()
-      {
-         _baseBuffer.Position = 5;
-
-         ByteBuffer slice = _baseBuffer.Slice();
-         Assert.AreEqual(5, slice.Capacity);
-         Assert.AreEqual(0, slice.Position);
-         Assert.AreEqual(5, slice.Remaining);
-         Assert.AreEqual(5, slice.Limit);
-      }
-
-      [Test]
-      public void CanReadWriteSlice()
-      {
-         _baseBuffer.Position = 5;
-
-         ByteBuffer slice = _baseBuffer.Slice();
-         slice.Put((byte) 0xFF).Put((byte) 0xF0).Put((byte) 0xA0);
-         slice.Flip();
-
-         Assert.AreEqual(3, slice.Limit);
-         Assert.AreEqual(0xFF, slice.GetByte());
-         Assert.AreEqual(0xF0, slice.GetByte());
-         Assert.AreEqual(0xA0, slice.GetByte());
-      }
-
-      [Test]
-      public void WriteModifiesBaseBufferOnCorrectPosition()
-      {
-         _baseBuffer.Position = 5;
-
-         ByteBuffer slice = _baseBuffer.Slice();
-         slice.Put((byte) 0xFF);
-         slice.Flip();
-         // reading the _baseBuffer at position 5 should yield 0xFF
-         _baseBuffer.Position = 5;
-         Assert.AreEqual(0xFF, _baseBuffer.GetByte());
-         
-      }
-
-      [Test]
-      public void CanReadWriteByteArray()
-      {
-         _baseBuffer.Position = 5;
-
-         ByteBuffer slice = _baseBuffer.Slice();
-         byte[] data = {0xFF, 0xF0, 0xF2, 0xEE, 0x23};
-         slice.Put(data, 2, 2);
-         slice.Flip();
-
-         Assert.AreEqual(2, slice.Limit);
-         Assert.AreEqual(0xF2, slice.GetByte());
-         Assert.AreEqual(0xEE, slice.GetByte());
-      }
-
-      [Test]
-      [ExpectedException(typeof(BufferOverflowException))]
-      public void ThrowWhenWritePastLimit()
-      {
-         _baseBuffer.Position = 5;
-
-         ByteBuffer slice = _baseBuffer.Slice();
-         slice.Put(0x01).Put(0x02);
-      }
-
-
-      [Test]
-      [ExpectedException(typeof(NotSupportedException))]
-      public void ThrowOnCompact()
-      {
-         // we don't support compacting
-         ByteBuffer slice = _baseBuffer.Slice();
-         slice.Compact();
-      }
-
-      [Test]
-      [ExpectedException(typeof(NotSupportedException))]
-      public void ThrowOnResize()
-      {
-         // we don't support resizing
-         ByteBuffer slice = _baseBuffer.Slice();
-         slice.Expand(50);
-      }
-   } // class SlicedByteBufferTests
-}
+/*
+ *
+ * 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;
+using NUnit.Framework;
+using Apache.Qpid.Buffer;
+
+namespace Apache.Qpid.Buffer.Tests
+{
+   /// <summary>
+   /// Tests for the SlicedByteBuffer class
+   /// </summary>
+   [TestFixture]
+   public class SlicedByteBufferTests
+   {
+      private ByteBuffer _baseBuffer;
+
+      [SetUp]
+      public void Setup()
+      {
+         const int size = 50;
+         _baseBuffer = ByteBuffer.Allocate(size);
+         for ( byte b = 0; b < 10; b++ )
+         {
+            _baseBuffer.Put(b);
+         }
+         _baseBuffer.Flip();
+      }
+
+      [Test]
+      public void CanSliceBuffer()
+      {
+         _baseBuffer.Position = 5;
+
+         ByteBuffer slice = _baseBuffer.Slice();
+         Assert.AreEqual(5, slice.Capacity);
+         Assert.AreEqual(0, slice.Position);
+         Assert.AreEqual(5, slice.Remaining);
+         Assert.AreEqual(5, slice.Limit);
+      }
+
+      [Test]
+      public void CanReadWriteSlice()
+      {
+         _baseBuffer.Position = 5;
+
+         ByteBuffer slice = _baseBuffer.Slice();
+         slice.Put((byte) 0xFF).Put((byte) 0xF0).Put((byte) 0xA0);
+         slice.Flip();
+
+         Assert.AreEqual(3, slice.Limit);
+         Assert.AreEqual(0xFF, slice.GetByte());
+         Assert.AreEqual(0xF0, slice.GetByte());
+         Assert.AreEqual(0xA0, slice.GetByte());
+      }
+
+      [Test]
+      public void WriteModifiesBaseBufferOnCorrectPosition()
+      {
+         _baseBuffer.Position = 5;
+
+         ByteBuffer slice = _baseBuffer.Slice();
+         slice.Put((byte) 0xFF);
+         slice.Flip();
+         // reading the _baseBuffer at position 5 should yield 0xFF
+         _baseBuffer.Position = 5;
+         Assert.AreEqual(0xFF, _baseBuffer.GetByte());
+         
+      }
+
+      [Test]
+      public void CanReadWriteByteArray()
+      {
+         _baseBuffer.Position = 5;
+
+         ByteBuffer slice = _baseBuffer.Slice();
+         byte[] data = {0xFF, 0xF0, 0xF2, 0xEE, 0x23};
+         slice.Put(data, 2, 2);
+         slice.Flip();
+
+         Assert.AreEqual(2, slice.Limit);
+         Assert.AreEqual(0xF2, slice.GetByte());
+         Assert.AreEqual(0xEE, slice.GetByte());
+      }
+
+      [Test]
+      [ExpectedException(typeof(BufferOverflowException))]
+      public void ThrowWhenWritePastLimit()
+      {
+         _baseBuffer.Position = 5;
+
+         ByteBuffer slice = _baseBuffer.Slice();
+         slice.Put(0x01).Put(0x02);
+      }
+
+
+      [Test]
+      [ExpectedException(typeof(NotSupportedException))]
+      public void ThrowOnCompact()
+      {
+         // we don't support compacting
+         ByteBuffer slice = _baseBuffer.Slice();
+         slice.Compact();
+      }
+
+      [Test]
+      [ExpectedException(typeof(NotSupportedException))]
+      public void ThrowOnResize()
+      {
+         // we don't support resizing
+         ByteBuffer slice = _baseBuffer.Slice();
+         slice.Expand(50);
+      }
+   } // class SlicedByteBufferTests
+}

Propchange: qpid/trunk/qpid/dotnet/Qpid.Buffer.Tests/SlicedByteBufferTests.cs
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: qpid/trunk/qpid/dotnet/Qpid.Buffer/IByteBufferAllocator.cs
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/dotnet/Qpid.Buffer/IByteBufferAllocator.cs?rev=886998&r1=886997&r2=886998&view=diff
==============================================================================
--- qpid/trunk/qpid/dotnet/Qpid.Buffer/IByteBufferAllocator.cs (original)
+++ qpid/trunk/qpid/dotnet/Qpid.Buffer/IByteBufferAllocator.cs Thu Dec  3 23:55:48 2009
@@ -1,50 +1,50 @@
-/*
- *
- * 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.Buffer
-{
-   /// <summary>
-   /// Allocates <see cref="ByteBuffer"/>'s and manages them. Please 
-   /// implement this interface if you need more advanced memory management scheme
-   /// </summary>
-   public interface IByteBufferAllocator : IDisposable
-   {
-      /// <summary>
-      /// Returns the buffer which is capable of the specified size.
-      /// </summary>
-      /// <param name="capacity">The capacity of the buffer</param>
-      /// <returns>A new buffer</returns>
-      ByteBuffer Allocate(int capacity);
-
-      /// <summary>
-      /// Wrap the specified byte array in a new buffer
-      /// </summary>
-      /// <param name="src">Source array</param>
-      /// <returns>A new buffer</returns>
-      ByteBuffer Wrap(byte[] src);
-
-   } // interface IByteBufferAllocator
-}
-
-
-
+/*
+ *
+ * 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.Buffer
+{
+   /// <summary>
+   /// Allocates <see cref="ByteBuffer"/>'s and manages them. Please 
+   /// implement this interface if you need more advanced memory management scheme
+   /// </summary>
+   public interface IByteBufferAllocator : IDisposable
+   {
+      /// <summary>
+      /// Returns the buffer which is capable of the specified size.
+      /// </summary>
+      /// <param name="capacity">The capacity of the buffer</param>
+      /// <returns>A new buffer</returns>
+      ByteBuffer Allocate(int capacity);
+
+      /// <summary>
+      /// Wrap the specified byte array in a new buffer
+      /// </summary>
+      /// <param name="src">Source array</param>
+      /// <returns>A new buffer</returns>
+      ByteBuffer Wrap(byte[] src);
+
+   } // interface IByteBufferAllocator
+}
+
+
+

Propchange: qpid/trunk/qpid/dotnet/Qpid.Buffer/IByteBufferAllocator.cs
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: qpid/trunk/qpid/dotnet/Qpid.Buffer/SimpleByteBuffer.cs
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/dotnet/Qpid.Buffer/SimpleByteBuffer.cs?rev=886998&r1=886997&r2=886998&view=diff
==============================================================================
--- qpid/trunk/qpid/dotnet/Qpid.Buffer/SimpleByteBuffer.cs (original)
+++ qpid/trunk/qpid/dotnet/Qpid.Buffer/SimpleByteBuffer.cs Thu Dec  3 23:55:48 2009
@@ -1,120 +1,120 @@
-/*
- *
- * 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.Buffer
-{
-   internal sealed class SimpleByteBuffer : ByteBuffer
-   {
-      private byte[] _buffer;
-
-      public override int Capacity
-      {
-         get { return _buffer.Length; }
-      }
-
-      public override byte[] Array
-      {
-         get { return _buffer; }
-      }
-
-      /// <summary>
-      /// Initialize a new instance with the desired size
-      /// </summary>
-      /// <param name="desiredSize">Initial Length of the array</param>
-      internal SimpleByteBuffer(int desiredSize)
-      {
-         _buffer = new byte[desiredSize];
-         Position = 0;
-         Limit = Capacity;
-      }
-
-      /// <summary>
-      /// Initialize a new instance with the data from
-      /// an underlying array
-      /// </summary>
-      /// <param name="buffer">Initial data</param>
-      /// <remarks>The original array is copied during construction and is not modified</remarks>
-      internal SimpleByteBuffer(byte[] buffer)
-      {
-         _buffer = (byte[])buffer.Clone();
-         // position at end
-         Position = Limit = Capacity;
-      }
-
-      protected override void DoWrite(int position, byte value)
-      {
-         // available space is already handled by base class
-         _buffer[position] = value;
-      }
-
-      protected override void DoWrite(int position, byte[] src, int offset, int length)
-      {
-         // available space is already handled by base class
-         for ( int i = 0; i < length; i++ )
-         {
-            _buffer[position+i] = src[offset+i];
-         }
-      }
-
-      protected override byte DoReadByte(int position)
-      {
-         return _buffer[position];
-      }
-
-      protected override void DoReadBytes(int position, byte[] dest, int offset, int length)
-      {
-         System.Array.Copy(_buffer, position, dest, offset, length);
-      }
-
-      protected override void DoCompact()
-      {
-         if ( Remaining > 0 )
-         {
-            if ( Position > 0 )
-            {
-               System.Array.Copy(_buffer, Position, _buffer, 0, Remaining);
-            }
-            Position = Remaining;
-         } else
-         {
-            Position = 0;
-         }
-         Limit = Capacity;
-      }
-
-      protected override void DoResize(int newSize)
-      {
-         if ( newSize < Capacity )
-            throw new NotSupportedException("Cannot resize a buffer to make it smaller");
-
-         int newCapacity = 1;
-         while ( newCapacity < newSize )
-         {
-            newCapacity <<= 1;
-         }
-
-         byte[] newBuffer = new byte[newCapacity];
-         System.Array.Copy(_buffer, newBuffer, _buffer.Length);
-         _buffer = newBuffer;
-      }
-   } // class SimpleByteBuffer
-}
+/*
+ *
+ * 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.Buffer
+{
+   internal sealed class SimpleByteBuffer : ByteBuffer
+   {
+      private byte[] _buffer;
+
+      public override int Capacity
+      {
+         get { return _buffer.Length; }
+      }
+
+      public override byte[] Array
+      {
+         get { return _buffer; }
+      }
+
+      /// <summary>
+      /// Initialize a new instance with the desired size
+      /// </summary>
+      /// <param name="desiredSize">Initial Length of the array</param>
+      internal SimpleByteBuffer(int desiredSize)
+      {
+         _buffer = new byte[desiredSize];
+         Position = 0;
+         Limit = Capacity;
+      }
+
+      /// <summary>
+      /// Initialize a new instance with the data from
+      /// an underlying array
+      /// </summary>
+      /// <param name="buffer">Initial data</param>
+      /// <remarks>The original array is copied during construction and is not modified</remarks>
+      internal SimpleByteBuffer(byte[] buffer)
+      {
+         _buffer = (byte[])buffer.Clone();
+         // position at end
+         Position = Limit = Capacity;
+      }
+
+      protected override void DoWrite(int position, byte value)
+      {
+         // available space is already handled by base class
+         _buffer[position] = value;
+      }
+
+      protected override void DoWrite(int position, byte[] src, int offset, int length)
+      {
+         // available space is already handled by base class
+         for ( int i = 0; i < length; i++ )
+         {
+            _buffer[position+i] = src[offset+i];
+         }
+      }
+
+      protected override byte DoReadByte(int position)
+      {
+         return _buffer[position];
+      }
+
+      protected override void DoReadBytes(int position, byte[] dest, int offset, int length)
+      {
+         System.Array.Copy(_buffer, position, dest, offset, length);
+      }
+
+      protected override void DoCompact()
+      {
+         if ( Remaining > 0 )
+         {
+            if ( Position > 0 )
+            {
+               System.Array.Copy(_buffer, Position, _buffer, 0, Remaining);
+            }
+            Position = Remaining;
+         } else
+         {
+            Position = 0;
+         }
+         Limit = Capacity;
+      }
+
+      protected override void DoResize(int newSize)
+      {
+         if ( newSize < Capacity )
+            throw new NotSupportedException("Cannot resize a buffer to make it smaller");
+
+         int newCapacity = 1;
+         while ( newCapacity < newSize )
+         {
+            newCapacity <<= 1;
+         }
+
+         byte[] newBuffer = new byte[newCapacity];
+         System.Array.Copy(_buffer, newBuffer, _buffer.Length);
+         _buffer = newBuffer;
+      }
+   } // class SimpleByteBuffer
+}

Propchange: qpid/trunk/qpid/dotnet/Qpid.Buffer/SimpleByteBuffer.cs
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: qpid/trunk/qpid/dotnet/Qpid.Buffer/SlicedByteBuffer.cs
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/dotnet/Qpid.Buffer/SlicedByteBuffer.cs?rev=886998&r1=886997&r2=886998&view=diff
==============================================================================
--- qpid/trunk/qpid/dotnet/Qpid.Buffer/SlicedByteBuffer.cs (original)
+++ qpid/trunk/qpid/dotnet/Qpid.Buffer/SlicedByteBuffer.cs Thu Dec  3 23:55:48 2009
@@ -1,86 +1,86 @@
-/*
- *
- * 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.Buffer
-{
-   internal sealed class SlicedByteBuffer : ByteBuffer
-   {
-      private ByteBuffer _buffer;
-      private int _capacity;
-      private int _startPos;
-
-      public override int Capacity
-      {
-         get { return _capacity; }
-      }
-
-      public override byte[] Array
-      {
-         get { return _buffer.Array; }
-      }
-
-      /// <summary>
-      /// Initialize a new instance
-      /// </summary>
-      /// <param name="buffer">Underlying byte buffer</param>
-      internal SlicedByteBuffer(ByteBuffer buffer)
-      {
-         _buffer = buffer;
-         _startPos = buffer.Position;
-         Position = 0;
-         _capacity = buffer.Remaining;
-         Limit = Capacity;
-         // cannot autoexpand
-         IsAutoExpand = false;
-      }
-
-      protected override void DoWrite(int position, byte value)
-      {
-         _buffer.Put(_startPos + position, value);
-      }
-
-      protected override void DoWrite(int position, byte[] src, int offset, int length)
-      {
-         _buffer.Put(_startPos + position, src, offset, length);
-      }
-
-      protected override byte DoReadByte(int position)
-      {
-         return _buffer.GetByte(_startPos + position);
-      }
-
-      protected override void DoReadBytes(int position, byte[] dest, int offset, int length)
-      {
-         _buffer.GetBytes(_startPos + position, dest, offset, length);
-      }
-
-      protected override void DoCompact()
-      {
-         throw new NotSupportedException();
-      }
-
-      protected override void DoResize(int newSize)
-      {
-         throw new NotSupportedException();
-      }
-   } // class SlicedByteBuffer
-}
+/*
+ *
+ * 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.Buffer
+{
+   internal sealed class SlicedByteBuffer : ByteBuffer
+   {
+      private ByteBuffer _buffer;
+      private int _capacity;
+      private int _startPos;
+
+      public override int Capacity
+      {
+         get { return _capacity; }
+      }
+
+      public override byte[] Array
+      {
+         get { return _buffer.Array; }
+      }
+
+      /// <summary>
+      /// Initialize a new instance
+      /// </summary>
+      /// <param name="buffer">Underlying byte buffer</param>
+      internal SlicedByteBuffer(ByteBuffer buffer)
+      {
+         _buffer = buffer;
+         _startPos = buffer.Position;
+         Position = 0;
+         _capacity = buffer.Remaining;
+         Limit = Capacity;
+         // cannot autoexpand
+         IsAutoExpand = false;
+      }
+
+      protected override void DoWrite(int position, byte value)
+      {
+         _buffer.Put(_startPos + position, value);
+      }
+
+      protected override void DoWrite(int position, byte[] src, int offset, int length)
+      {
+         _buffer.Put(_startPos + position, src, offset, length);
+      }
+
+      protected override byte DoReadByte(int position)
+      {
+         return _buffer.GetByte(_startPos + position);
+      }
+
+      protected override void DoReadBytes(int position, byte[] dest, int offset, int length)
+      {
+         _buffer.GetBytes(_startPos + position, dest, offset, length);
+      }
+
+      protected override void DoCompact()
+      {
+         throw new NotSupportedException();
+      }
+
+      protected override void DoResize(int newSize)
+      {
+         throw new NotSupportedException();
+      }
+   } // class SlicedByteBuffer
+}

Propchange: qpid/trunk/qpid/dotnet/Qpid.Buffer/SlicedByteBuffer.cs
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: qpid/trunk/qpid/dotnet/Qpid.Client.Tests/BrokerDetails/BrokerDetailsTest.cs
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/dotnet/Qpid.Client.Tests/BrokerDetails/BrokerDetailsTest.cs?rev=886998&r1=886997&r2=886998&view=diff
==============================================================================
--- qpid/trunk/qpid/dotnet/Qpid.Client.Tests/BrokerDetails/BrokerDetailsTest.cs (original)
+++ qpid/trunk/qpid/dotnet/Qpid.Client.Tests/BrokerDetails/BrokerDetailsTest.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 System;
-using System.Net;
-using NUnit.Framework;
-using Apache.Qpid.Client.Qms;
-
-namespace Apache.Qpid.Client.Tests.BrokerDetails
-{
-    [TestFixture]
-    public class BrokerDetailsTest
-    {
-
-        [Test]
-        public void ValidateBrokerInfoEqualsMethod()
-        {
-            AmqBrokerInfo broker = new AmqBrokerInfo("amqp", "localhost", 5672, true);
-            AmqBrokerInfo broker1 = new AmqBrokerInfo("Amqp", "localhost", 5672, true);
-
-            Assert.IsTrue(broker.Equals(broker1),"The two AmqBrokerInfo objects are not equals");
-            Console.WriteLine(string.Format("The object broker: {0} and broker1: {1} are equals", broker, broker1));
-        }
-
-        [Test]
-        public void ValidateBrokerInfoWithDifferentSSL()
-        {
-            AmqBrokerInfo broker = new AmqBrokerInfo("amqp", "localhost", 5672, true);
-            AmqBrokerInfo broker1 = new AmqBrokerInfo("amqp", "localhost", 5672, false);
-
-            Assert.IsFalse(broker.Equals(broker1), "The two AmqBrokerInfo objects are equals");
-            Console.WriteLine(string.Format("The object broker: {0} and broker1: {1} are not equals", broker, broker1));
-        }
-
-        [Test]
-        public void ValidateBrokerInfoFromToString()
-        { 
-            String url = "tcp://localhost:5672?timeout='200',immediatedelivery='true'";
-
-            AmqBrokerInfo broker = new AmqBrokerInfo(url);
-            AmqBrokerInfo broker1 = new AmqBrokerInfo(broker.ToString());
-
-            Assert.AreEqual(broker.GetOption("timeout"), broker1.GetOption("timeout"));
-            Assert.AreEqual(broker.GetOption("immediatedelivery"), broker1.GetOption("immediatedelivery"));
-        }
-
-    }
-}
+/*
+ *
+ * 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;
+using System.Net;
+using NUnit.Framework;
+using Apache.Qpid.Client.Qms;
+
+namespace Apache.Qpid.Client.Tests.BrokerDetails
+{
+    [TestFixture]
+    public class BrokerDetailsTest
+    {
+
+        [Test]
+        public void ValidateBrokerInfoEqualsMethod()
+        {
+            AmqBrokerInfo broker = new AmqBrokerInfo("amqp", "localhost", 5672, true);
+            AmqBrokerInfo broker1 = new AmqBrokerInfo("Amqp", "localhost", 5672, true);
+
+            Assert.IsTrue(broker.Equals(broker1),"The two AmqBrokerInfo objects are not equals");
+            Console.WriteLine(string.Format("The object broker: {0} and broker1: {1} are equals", broker, broker1));
+        }
+
+        [Test]
+        public void ValidateBrokerInfoWithDifferentSSL()
+        {
+            AmqBrokerInfo broker = new AmqBrokerInfo("amqp", "localhost", 5672, true);
+            AmqBrokerInfo broker1 = new AmqBrokerInfo("amqp", "localhost", 5672, false);
+
+            Assert.IsFalse(broker.Equals(broker1), "The two AmqBrokerInfo objects are equals");
+            Console.WriteLine(string.Format("The object broker: {0} and broker1: {1} are not equals", broker, broker1));
+        }
+
+        [Test]
+        public void ValidateBrokerInfoFromToString()
+        { 
+            String url = "tcp://localhost:5672?timeout='200',immediatedelivery='true'";
+
+            AmqBrokerInfo broker = new AmqBrokerInfo(url);
+            AmqBrokerInfo broker1 = new AmqBrokerInfo(broker.ToString());
+
+            Assert.AreEqual(broker.GetOption("timeout"), broker1.GetOption("timeout"));
+            Assert.AreEqual(broker.GetOption("immediatedelivery"), broker1.GetOption("immediatedelivery"));
+        }
+
+    }
+}

Propchange: qpid/trunk/qpid/dotnet/Qpid.Client.Tests/BrokerDetails/BrokerDetailsTest.cs
------------------------------------------------------------------------------
    svn:eol-style = native



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message