You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by jr...@apache.org on 2012/04/19 16:04:33 UTC
svn commit: r1327950 - in
/qpid/trunk/qpid/cpp/bindings/qpid/ruby/features/step_definitions:
address_steps.rb connection_steps.rb receiver_steps.rb sender_steps.rb
session_steps.rb
Author: jross
Date: Thu Apr 19 14:04:32 2012
New Revision: 1327950
URL: http://svn.apache.org/viewvc?rev=1327950&view=rev
Log:
QPID-3962: Added licensing to the Cucumber feature test step definitions
Modified:
qpid/trunk/qpid/cpp/bindings/qpid/ruby/features/step_definitions/address_steps.rb
qpid/trunk/qpid/cpp/bindings/qpid/ruby/features/step_definitions/connection_steps.rb
qpid/trunk/qpid/cpp/bindings/qpid/ruby/features/step_definitions/receiver_steps.rb
qpid/trunk/qpid/cpp/bindings/qpid/ruby/features/step_definitions/sender_steps.rb
qpid/trunk/qpid/cpp/bindings/qpid/ruby/features/step_definitions/session_steps.rb
Modified: qpid/trunk/qpid/cpp/bindings/qpid/ruby/features/step_definitions/address_steps.rb
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/bindings/qpid/ruby/features/step_definitions/address_steps.rb?rev=1327950&r1=1327949&r2=1327950&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/bindings/qpid/ruby/features/step_definitions/address_steps.rb (original)
+++ qpid/trunk/qpid/cpp/bindings/qpid/ruby/features/step_definitions/address_steps.rb Thu Apr 19 14:04:32 2012
@@ -1,3 +1,22 @@
+#
+# 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.
+#
+
Given /^an Address with the name "([^"]*)" and subject "([^"]*)" and option "([^"]*)" set to "([^"]*)"$/ do |name, subject, key, value|
options = Hash.new
options["#{key}"] = "#{value}"
Modified: qpid/trunk/qpid/cpp/bindings/qpid/ruby/features/step_definitions/connection_steps.rb
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/bindings/qpid/ruby/features/step_definitions/connection_steps.rb?rev=1327950&r1=1327949&r2=1327950&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/bindings/qpid/ruby/features/step_definitions/connection_steps.rb (original)
+++ qpid/trunk/qpid/cpp/bindings/qpid/ruby/features/step_definitions/connection_steps.rb Thu Apr 19 14:04:32 2012
@@ -1,3 +1,22 @@
+#
+# 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.
+#
+
# close all connections
After do
@connection.close if @connection
Modified: qpid/trunk/qpid/cpp/bindings/qpid/ruby/features/step_definitions/receiver_steps.rb
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/bindings/qpid/ruby/features/step_definitions/receiver_steps.rb?rev=1327950&r1=1327949&r2=1327950&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/bindings/qpid/ruby/features/step_definitions/receiver_steps.rb (original)
+++ qpid/trunk/qpid/cpp/bindings/qpid/ruby/features/step_definitions/receiver_steps.rb Thu Apr 19 14:04:32 2012
@@ -1,3 +1,22 @@
+#
+# 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.
+#
+
Given /^an existing receiver for "([^"]*)"$/ do |address|
steps %Q{
Given an open session
Modified: qpid/trunk/qpid/cpp/bindings/qpid/ruby/features/step_definitions/sender_steps.rb
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/bindings/qpid/ruby/features/step_definitions/sender_steps.rb?rev=1327950&r1=1327949&r2=1327950&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/bindings/qpid/ruby/features/step_definitions/sender_steps.rb (original)
+++ qpid/trunk/qpid/cpp/bindings/qpid/ruby/features/step_definitions/sender_steps.rb Thu Apr 19 14:04:32 2012
@@ -1,3 +1,22 @@
+#
+# 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.
+#
+
Given /^the message "([^"]*)" is sent$/ do |content|
@sender.send Qpid::Messaging::Message.new :content => "#{content}"
end
Modified: qpid/trunk/qpid/cpp/bindings/qpid/ruby/features/step_definitions/session_steps.rb
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/bindings/qpid/ruby/features/step_definitions/session_steps.rb?rev=1327950&r1=1327949&r2=1327950&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/bindings/qpid/ruby/features/step_definitions/session_steps.rb (original)
+++ qpid/trunk/qpid/cpp/bindings/qpid/ruby/features/step_definitions/session_steps.rb Thu Apr 19 14:04:32 2012
@@ -1,3 +1,22 @@
+#
+# 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.
+#
+
Given /^a closed session/ do
steps %Q{
Given an open connection
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org