35
35
36
36
When set to nil the buffer will only be created, and not displayed.
37
37
When set to `display-only' the buffer will be displayed, but it will
38
- not become focused. Otherwise the buffer is displayed and focused."
38
+ not become focused, otherwise the buffer is displayed and focused."
39
39
:group 'lsp-dart
40
40
:type '(choice (const :tag " Create the buffer, but don't display it" nil )
41
41
(const :tag " Create and display the buffer, but don't focus it" display-only)
@@ -57,10 +57,6 @@ not become focused. Otherwise the buffer is displayed and focused."
57
57
(defvar lsp-dart-test--tests-count 0 )
58
58
(defvar lsp-dart-test--tests-passed 0 )
59
59
60
- (cl-defstruct lsp-dart-test-suite
61
- (status nil )
62
- (path nil ))
63
-
64
60
(cl-defstruct lsp-dart-test
65
61
(id nil )
66
62
(name nil )
@@ -225,15 +221,8 @@ NOTIFICATION is the event notification.")
225
221
(cl-defmethod lsp-dart-test--handle-notification ((_event (eql allSuites)) _notification)
226
222
" Handle allSuites NOTIFICATION." )
227
223
228
- (cl-defmethod lsp-dart-test--handle-notification ((_event (eql suite)) notification)
229
- " Handle suites NOTIFICATION."
230
- (-let (((&SuiteNotification :suite (&Suite :path )) notification))
231
- (if-let (suite (lsp-dart-test--get-suite path))
232
- (progn
233
- (setf (lsp-dart-test-suite-status suite) 'waiting )
234
- (lsp-dart-test--set-suite path suite))
235
- (lsp-dart-test--set-suite path (make-lsp-dart-test-suite :status 'waiting
236
- :path path)))))
224
+ (cl-defmethod lsp-dart-test--handle-notification ((_event (eql suite)) _notification)
225
+ " Handle suites NOTIFICATION." )
237
226
238
227
(cl-defmethod lsp-dart-test--handle-notification ((_event (eql group)) _notification)
239
228
" Handle group NOTIFICATION." )
0 commit comments