Skip to content

Commit 28e572d

Browse files
committed
Remove test suite
1 parent f0d96bf commit 28e572d

File tree

1 file changed

+3
-14
lines changed

1 file changed

+3
-14
lines changed

lsp-dart-test-support.el

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
3636
When set to nil the buffer will only be created, and not displayed.
3737
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."
3939
:group 'lsp-dart
4040
:type '(choice (const :tag "Create the buffer, but don't display it" nil)
4141
(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."
5757
(defvar lsp-dart-test--tests-count 0)
5858
(defvar lsp-dart-test--tests-passed 0)
5959

60-
(cl-defstruct lsp-dart-test-suite
61-
(status nil)
62-
(path nil))
63-
6460
(cl-defstruct lsp-dart-test
6561
(id nil)
6662
(name nil)
@@ -225,15 +221,8 @@ NOTIFICATION is the event notification.")
225221
(cl-defmethod lsp-dart-test--handle-notification ((_event (eql allSuites)) _notification)
226222
"Handle allSuites NOTIFICATION.")
227223

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.")
237226

238227
(cl-defmethod lsp-dart-test--handle-notification ((_event (eql group)) _notification)
239228
"Handle group NOTIFICATION.")

0 commit comments

Comments
 (0)