diff options
| author | Rafael H. Schloming <rhs@apache.org> | 2007-03-07 17:13:02 +0000 |
|---|---|---|
| committer | Rafael H. Schloming <rhs@apache.org> | 2007-03-07 17:13:02 +0000 |
| commit | 838692e69a2ba3fbbd3f260629725602f2f4b966 (patch) | |
| tree | 522613531c2a5b1d056eed8c4e7392ecb37240e7 /qpid/ruby/test.rb | |
| parent | 82075c0d635f29e1698b7adaff54e519aa501086 (diff) | |
| download | qpid-python-838692e69a2ba3fbbd3f260629725602f2f4b966.tar.gz | |
added test harness, tests, and a few missing pieces of implementation
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@515652 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/ruby/test.rb')
| -rw-r--r-- | qpid/ruby/test.rb | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/qpid/ruby/test.rb b/qpid/ruby/test.rb deleted file mode 100644 index f9de9a5a3a..0000000000 --- a/qpid/ruby/test.rb +++ /dev/null @@ -1,35 +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. -# - -require "qpid/client" -require "qpid/spec" - -def die(msg) - puts msg - exit(1) -end - -specfile = $*[0] -die("usage: test.rb <spec file>") if specfile.nil? - -c = Qpid::Client.new("0.0.0.0", 5672, Spec.load($*[0])) -c.start({"LOGIN" => "guest", "PASSWORD" => "guest"}) -ch = c.channel(1) -p ch.channel_open() -p ch.queue_declare() |
