Browse files

Cosmetics

  • Loading branch information...
1 parent 743bd99 commit 3ea128e480a23ff2a9ea50a38fac3919ca63d1e7 @michaelklishin michaelklishin committed Mar 22, 2012
View
11 test/langohr/test/basic.clj
@@ -1,11 +1,10 @@
-(set! *warn-on-reflection* true)
-
(ns langohr.test.basic
(:refer-clojure :exclude [get declare])
- (:import (com.rabbitmq.client Connection Channel AMQP AMQP$BasicProperties AMQP$BasicProperties$Builder QueueingConsumer GetResponse
- AMQP$Queue$DeclareOk)
- (java.util UUID))
- (:use [clojure.test])
+ (:import [com.rabbitmq.client Connection Channel AMQP
+ AMQP$BasicProperties AMQP$BasicProperties$Builder
+ QueueingConsumer GetResponse AMQP$Queue$DeclareOk]
+ java.util.UUID)
+ (:use clojure.test)
(:require [langohr.core :as lhc]
[langohr.consumers :as lhcons]
[langohr.queue :as lhq]
View
4 test/langohr/test/channel.clj
@@ -1,6 +1,6 @@
(ns langohr.test.channel
- (:import (com.rabbitmq.client Connection Channel))
- (:use [clojure.test])
+ (:import [com.rabbitmq.client Connection Channel])
+ (:use clojure.test)
(:require [langohr.core :as lhcore]
[langohr.channel :as lhch]))
View
6 test/langohr/test/confirm.clj
@@ -1,10 +1,10 @@
(ns langohr.test.confirm
- (:import (com.rabbitmq.client Connection AMQP$Queue$DeclareOk AMQP$Confirm$SelectOk))
- (:require [langohr.confirm]
+ (:import [com.rabbitmq.client Connection AMQP$Queue$DeclareOk AMQP$Confirm$SelectOk])
+ (:require langohr.confirm
[langohr.core :as lhc]
[langohr.basic :as lhb]
[langohr.queue :as lhq])
- (:use [clojure.test]))
+ (:use clojure.test))
(defonce ^Connection conn (lhc/connect))
View
4 test/langohr/test/consumers.clj
@@ -1,11 +1,11 @@
(ns langohr.test.consumers
- (:import (com.rabbitmq.client Connection Consumer AMQP$Queue$DeclareOk))
+ (:import [com.rabbitmq.client Connection Consumer AMQP$Queue$DeclareOk])
(:require [langohr.queue :as lhq]
[langohr.core :as lhc]
[langohr.basic :as lhb]
[langohr.util :as lhu]
[langohr.consumers :as lhcons])
- (:use [clojure.test]))
+ (:use clojure.test))
;;
View
9 test/langohr/test/core.clj
@@ -1,10 +1,11 @@
+(ns langohr.test.core
+ (:import [com.rabbitmq.client Connection Channel]
+ (:use clojure.test langohr.core))
+
(set! *warn-on-reflection* true)
(println (str "Using Clojure version " *clojure-version*))
-(ns langohr.test.core
- (:import (com.rabbitmq.client Connection Channel))
- (:use [clojure.test] [langohr.core]))
-
+
(deftest t-connection-with-default-parameters
(let [conn (connect)]
(is (instance? com.rabbitmq.client.Connection conn))
View
8 test/langohr/test/exchange.clj
@@ -1,10 +1,8 @@
-(set! *warn-on-reflection* true)
-
(ns langohr.test.exchange
(:refer-clojure :exclude [declare])
- (:import (com.rabbitmq.client Connection Channel AMQP AMQP$Exchange$DeclareOk AMQP$Exchange$DeleteOk AMQP$Queue$DeclareOk ShutdownSignalException)
- (java.io IOException))
- (:use [clojure.test])
+ (:import [com.rabbitmq.client Connection Channel AMQP AMQP$Exchange$DeclareOk AMQP$Exchange$DeleteOk AMQP$Queue$DeclareOk ShutdownSignalException]
+ java.io.IOException)
+ (:use clojure.test)
(:require [langohr.core :as lhc]
[langohr.exchange :as lhe]
[langohr.queue :as lhq]
View
8 test/langohr/test/queue.clj
@@ -1,10 +1,8 @@
-(set! *warn-on-reflection* true)
-
(ns langohr.test.queue
(:refer-clojure :exclude [declare get])
- (:import (com.rabbitmq.client Connection Channel AMQP AMQP$Queue$DeclareOk AMQP$Queue$BindOk AMQP$Queue$UnbindOk)
- (java.io IOException))
- (:use [clojure.test]
+ (:import [com.rabbitmq.client Connection Channel AMQP AMQP$Queue$DeclareOk AMQP$Queue$BindOk AMQP$Queue$UnbindOk]
+ java.io.IOException)
+ (:use clojure.test
[langohr.core :as lhc]
[langohr.queue :as lhq]
[langohr.basic :as lhb]))
View
6 test/langohr/test/tx.clj
@@ -1,8 +1,8 @@
(ns langohr.test.tx
- (:import (com.rabbitmq.client Connection AMQP$Tx$SelectOk AMQP$Tx$CommitOk AMQP$Tx$RollbackOk))
- (:require [langohr.tx]
+ (:import [com.rabbitmq.client Connection AMQP$Tx$SelectOk AMQP$Tx$CommitOk AMQP$Tx$RollbackOk])
+ (:require langohr.tx
[langohr.core :as lhc])
- (:use [clojure.test]))
+ (:use clojure.test))
(defonce ^Connection conn (lhc/connect))

0 comments on commit 3ea128e

Please sign in to comment.