File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
test/clj/cider/nrepl/middleware Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 1
1
{:hooks {:analyze-call {cider.nrepl.middleware.out/with-out-binding
2
2
hooks.core/with-out-binding}}
3
3
:lint-as {cider.nrepl.middleware.log-test/with-each-framework clojure.core/let}
4
- ; ; :exclude-files ["middleware/debug .clj"]
4
+ :exclude-files " debug_integration_test .clj$ " ; ; TODO: remove once flaky debugger tests are addressed
5
5
:linters {:unresolved-symbol {:exclude [(cider.nrepl/def-wrapper )
6
6
(cider.nrepl.middleware.util.instrument/definstrumenter )
7
7
(cider.nrepl.middleware.util.instrument/with-break )
Original file line number Diff line number Diff line change 2
2
(:require
3
3
[cider.nrepl :refer [wrap-debug]]
4
4
[cider.nrepl.middleware.debug :as d]
5
- [clojure.test :refer :all ]
5
+ [clojure.test :refer [is testing use-fixtures] ]
6
6
[nrepl.core :as nrepl]
7
7
[nrepl.server :as nrepl.server]
8
8
[nrepl.transport :as transport]
9
- [clojure.java.io :as io])
9
+ [clojure.java.io :as io]
10
+ [orchard.misc])
10
11
(:import
11
12
java.util.UUID
12
13
[java.util.concurrent TimeUnit LinkedBlockingQueue]))
13
14
15
+ ; ; TODO: this test namespace is flaky on JDK8. Disable it there for now.
16
+ (defmacro deftest [name & body]
17
+ `(when (> orchard.misc/java-api-version 8 )
18
+ (clojure.test/deftest ~name ~@body )))
19
+
14
20
; ;; Helpers for starting an nRepl session
15
21
; ;; We do not use nrepl/client-session here because it
16
22
; ;; is built with the expectation that each message sent to the server
You can’t perform that action at this time.
0 commit comments