File tree Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,7 @@ Feature: Browse classpaths
1818 And I call "save-buffer"
1919 And I start lsp-java
2020 And The server status must become "LSP::Started"
21- When I call "lsp-java-classpath-browse"
22- Then I should see:
21+ When I call "lsp-java-classpath-browse" and see:
2322 """
2423 org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER
2524 """
Original file line number Diff line number Diff line change 121121 (funcall (intern command))
122122 (error (cl-assert (string= message (error-message-string err)) t (error-message-string err))))))
123123
124+ (When " ^I call \" \\ ([^\" ]+\\ )\" and see:$"
125+ (lambda (command text callback )
126+ (lsp-java-steps-async-wait
127+ (lambda ()
128+ (save-window-excursion
129+ (funcall (intern command))
130+ (s-contains? text (buffer-string ) t )))
131+ callback)))
132+
124133(provide 'lsp-java-steps )
125134; ;; lsp-java-steps.el ends here
Original file line number Diff line number Diff line change 3434 (require 'lsp-java )
3535 (setq lsp-java-workspace-dir (f-join lsp-java-test-root " workspace" )
3636 lsp-java-pop-buffer-function 'pop-to-buffer
37+ lsp-print-io t
38+ lsp-inhibit-message nil
3739 lsp-java-workspace-cache-dir (f-join lsp-java-test-root " workspace-cache" )
3840 lsp-java-server-install-dir (locate-user-emacs-file " eclipse.jdt.ls/server/" )
3941 lsp-response-timeout 30 )
You can’t perform that action at this time.
0 commit comments