[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/csharp-mode f08f0ee 154/459: Improved test-structure wi
From: |
ELPA Syncer |
Subject: |
[elpa] externals/csharp-mode f08f0ee 154/459: Improved test-structure with less redundant information (and thus errors). Prepare for improved tests. |
Date: |
Sun, 22 Aug 2021 13:59:17 -0400 (EDT) |
branch: externals/csharp-mode
commit f08f0ee7e77d0d1f85bad4485be1eb19a9deb7ca
Author: Jostein Kjønigsen <jostein@kjonigsen.net>
Commit: Jostein Kjønigsen <jostein@kjonigsen.net>
Improved test-structure with less redundant information (and thus errors).
Prepare for improved tests.
---
csharp-mode-tests.el | 39 ++++++++++++++++++---------------------
1 file changed, 18 insertions(+), 21 deletions(-)
diff --git a/csharp-mode-tests.el b/csharp-mode-tests.el
index 218a031..e1c50c8 100644
--- a/csharp-mode-tests.el
+++ b/csharp-mode-tests.el
@@ -90,58 +90,55 @@
(ert-deftest build-warnings-and-errors-are-parsed ()
(dolist (test-case
- `(("./test-files/msbuild-warning.txt"
,csharp-compilation-re-msbuild-warning 8
+ `(("./test-files/msbuild-warning.txt"
,csharp-compilation-re-msbuild-warning
,(list-repeat-once
'("Class1.cs"
"Folder\\Class1.cs"
"Program.cs"
"Program.cs")))
- ("./test-files/msbuild-error.txt"
,csharp-compilation-re-msbuild-error 2
+ ("./test-files/msbuild-error.txt"
,csharp-compilation-re-msbuild-error
,(list-repeat-once
'("Folder\\Class1.cs")))
- ("./test-files/msbuild-concurrent-warning.txt"
,csharp-compilation-re-msbuild-warning 2
+ ("./test-files/msbuild-concurrent-warning.txt"
,csharp-compilation-re-msbuild-warning
,(list-repeat-once
'("Program.cs")))
- ("./test-files/msbuild-concurrent-error.txt"
,csharp-compilation-re-msbuild-error 2
+ ("./test-files/msbuild-concurrent-error.txt"
,csharp-compilation-re-msbuild-error
,(list-repeat-once
'("Program.cs")))
- ("./test-files/msbuild-square-brackets.txt"
,csharp-compilation-re-msbuild-error 6
+ ("./test-files/msbuild-square-brackets.txt"
,csharp-compilation-re-msbuild-error
,(list-repeat-once
'("Properties\\AssemblyInfo.cs"
"Program.cs"
"Program.cs")))
- ("./test-files/msbuild-square-brackets.txt"
,csharp-compilation-re-msbuild-warning 2
+ ("./test-files/msbuild-square-brackets.txt"
,csharp-compilation-re-msbuild-warning
,(list-repeat-once
'("Program.cs")))
- ("./test-files/xbuild-warning.txt"
,csharp-compilation-re-xbuild-warning 10
+ ("./test-files/xbuild-warning.txt"
,csharp-compilation-re-xbuild-warning
,(list-repeat-once
'("/Users/jesseblack/Dropbox/barfapp/ConsoleApplication1/ClassLibrary1/Class1.cs"
"/Users/jesseblack/Dropbox/barfapp/ConsoleApplication1/ClassLibrary1/Folder/Class1.cs"
"/Users/jesseblack/Dropbox/barfapp/ConsoleApplication1/ConsoleApplication1/Program.cs"
"/Users/jesseblack/Dropbox/barfapp/ConsoleApplication1/ConsoleApplication1/Program.cs"
"/Users/jesseblack/Dropbox/barfapp/ConsoleApplication1/ConsoleApplication1/Program.cs")))
- ("./test-files/xbuild-error.txt"
,csharp-compilation-re-xbuild-error 2
+ ("./test-files/xbuild-error.txt"
,csharp-compilation-re-xbuild-error
,(list-repeat-once
'("/Users/jesseblack/Dropbox/barfapp/ConsoleApplication1/ClassLibrary1/Folder/Class1.cs")))
- ("./test-files/devenv-error.txt"
,csharp-compilation-re-xbuild-error 3
- ,(list-repeat-once
-
'("c:\\working_chad\\dev_grep\\build_grep_database\\databaseconnection.cpp"
-
"c:\\working_chad\\dev_grep\\build_grep_database\\databaseconnection.cpp"
-
"c:\\working_chad\\dev_grep\\build_grep_database\\databaseconnection.cpp")))
- ("./test-files/devenv-error.txt"
,csharp-compilation-re-xbuild-warning 1
- ,(list-repeat-once
-
'("c:\\working_chad\\dev_grep\\build_grep_database\\databaseconnection.cpp")))
- ("./test-files/devenv-mixed-error.txt"
,csharp-compilation-re-xbuild-error 3
+ ("./test-files/devenv-error.txt"
,csharp-compilation-re-xbuild-error
+
("c:\\working_chad\\dev_grep\\build_grep_database\\databaseconnection.cpp"
+
"c:\\working_chad\\dev_grep\\build_grep_database\\databaseconnection.cpp"
+
"c:\\working_chad\\dev_grep\\build_grep_database\\databaseconnection.cpp"))
+ ("./test-files/devenv-error.txt"
,csharp-compilation-re-xbuild-warning
+
("c:\\working_chad\\dev_grep\\build_grep_database\\databaseconnection.cpp"))
+ ("./test-files/devenv-mixed-error.txt"
,csharp-compilation-re-xbuild-error
,(list-repeat-once
'("c:\\inservice\\systemtesting\\operationsproxy\\operationsproxy.cpp"
"c:\\inservice\\systemtesting\\operationsproxy\\operationsproxy.cpp"
-
"c:\\inservice\\systemtesting\\operationsproxy\\operationsproxy.cpp")))
- ))
+
"c:\\inservice\\systemtesting\\operationsproxy\\operationsproxy.cpp")))))
(let* ((file-name (car test-case))
(regexp (cadr test-case))
- (times (cl-caddr test-case))
- (matched-file-names (cl-cadddr test-case))
+ (matched-file-names (cl-caddr test-case))
+ (times (length matched-file-names))
(find-file-hook '()) ;; avoid vc-mode file-hooks when opening!
(buffer (find-file-read-only file-name)))
(message (concat "Testing compilation-log: " file-name))
- [elpa] externals/csharp-mode 7247a27 115/459: Prefix set-difference from cl.el, (continued)
- [elpa] externals/csharp-mode 7247a27 115/459: Prefix set-difference from cl.el, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 71b0e96 116/459: Fix errors and warnings in unit-tests., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 56a9a87 117/459: Fix backwards compatibility and broken CI-build., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode c446400 118/459: Remove obsolete comment, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 829ad4d 120/459: Another stab at fixing the CI., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode ae1e36c 132/459: Tentative fix for imenu and generics, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 1f292eb 141/459: Fixed fontification hanging on a large file (3kLOC)., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode ee817b0 143/459: Added a test for imenu indexing of explicit interface properties., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 7c196b7 144/459: Added a minimal imenu namespace test., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode ffa8c3e 145/459: Fixed a test to use cl-caddr, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode f08f0ee 154/459: Improved test-structure with less redundant information (and thus errors). Prepare for improved tests.,
ELPA Syncer <=
- [elpa] externals/csharp-mode 7b8fe05 160/459: Fix version-history based on actual git-tags., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 838727a 173/459: Ensure we get Emacs 24.4 for CI., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 405af61 076/459: Fix parsing of build-logs., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 1574d3e 085/459: Merge pull request #32 from binki/master, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode f1a2e06 110/459: Add unit-test for fontification of compiler-directives., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 7856be4 123/459: Merge pull request #50 from syohex/workaround-18845, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 257602e 121/459: Test-file for https://github.com/josteink/csharp-mode/issues/46, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode ef9d3f9 134/459: Update changelog., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 367ecc2 137/459: Clean up test-code., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode e1a7622 138/459: Tenative fixes for compilation-mode., ELPA Syncer, 2021/08/22