[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/dart-mode 6bc08f7 136/192: Adds failing test against dart
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/dart-mode 6bc08f7 136/192: Adds failing test against dart dev |
Date: |
Sun, 29 Aug 2021 11:02:05 -0400 (EDT) |
branch: elpa/dart-mode
commit 6bc08f7232c218e16d7de549de68ca161634de44
Author: Brady Trainor <mail@bradyt.com>
Commit: Brady Trainor <mail@bradyt.com>
Adds failing test against dart dev
This test succeeds on stable branch of dart, and fails on development
branch of dart.
This test is fragile, relying on events that are not completely
understood by its author. Especially, the process seems to return at
least twice, and we have to limit the time for the third return.
Another instance of difficulty in testing of asynchronous processes
can be seen at
https://lists.gnu.org/archive/html/emacs-devel/2013-02/msg00506.html.
---
.travis.yml | 6 +++++-
test/dart-mode-test.el | 9 +++++++++
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/.travis.yml b/.travis.yml
index f3a4b2e..e80c9af 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,6 +1,10 @@
sudo: required
-language: generic
+language: dart
+
+dart:
+ - stable
+ - dev
env:
# - EVM_EMACS=emacs-24.1-travis
diff --git a/test/dart-mode-test.el b/test/dart-mode-test.el
index 3cdb646..1ee30d9 100644
--- a/test/dart-mode-test.el
+++ b/test/dart-mode-test.el
@@ -2,4 +2,13 @@
(require 'dart-mode)
+(ert-deftest dart-test ()
+ (let ((file (make-temp-file "analysis")))
+ (dart-add-analysis-root-for-file file)
+ (let ((proc (dart--analysis-server-process
+ dart--analysis-server)))
+ (accept-process-output proc)
+ (accept-process-output proc)
+ (accept-process-output proc 8))))
+
;;; dart-mode-test.el ends here
- [nongnu] elpa/dart-mode c4a5045 096/192: Add support for navigation, (continued)
- [nongnu] elpa/dart-mode c4a5045 096/192: Add support for navigation, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode a1f36f4 094/192: Allow dart-show-hover to display in a new buffer, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 89a2d4e 100/192: Add a special mode for popups, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode eca3f15 105/192: Add the ability to autocomplete parameters, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode d333a73 102/192: Add an analyzer-based auto-complete, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode d507fa1 101/192: Add a binding to re-run searches, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode a2ab55b 114/192: Make more thorough use of dash, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode c11d02a 137/192: Remedy invalid file path format, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 8f972c0 097/192: Add support for finding references, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 848f983 104/192: Show docs for expansions, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 6bc08f7 136/192: Adds failing test against dart dev,
ELPA Syncer <=
- [nongnu] elpa/dart-mode 9c9a63e 130/192: Fix dart-format, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 1f27d03 119/192: Properly set up font-lock variables, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 6397b3d 115/192: Clean up the way the SDK is configured, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode e9cd33d 109/192: Use proper private name convention, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode a087c75 099/192: Add a result counter in search results, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 847707d 129/192: Require final newline, like dartfmt, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 570e58c 116/192: Refactor formatter support, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode d4da484 126/192: Removes nil c-syntactic-context (#56), ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 7c28c58 131/192: Add Travis-CI and Cask, ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode adef2a5 118/192: Be more resilient to server crashes, ELPA Syncer, 2021/08/29