[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/csharp-mode 8a9ab5a 204/459: imenu: Add test-cases for
From: |
ELPA Syncer |
Subject: |
[elpa] externals/csharp-mode 8a9ab5a 204/459: imenu: Add test-cases for generic methods. |
Date: |
Sun, 22 Aug 2021 13:59:27 -0400 (EDT) |
branch: externals/csharp-mode
commit 8a9ab5ab89134406cd893ab078ade63b56c4a06e
Author: Jostein Kjønigsen <jostein@kjonigsen.net>
Commit: Jostein Kjønigsen <jostein@kjonigsen.net>
imenu: Add test-cases for generic methods.
These tests currently fail.
This commit illustrates https://github.com/josteink/csharp-mode/issues/83.
---
csharp-mode-tests.el | 4 +++-
test-files/imenu-method-test.cs | 11 +++++++++++
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/csharp-mode-tests.el b/csharp-mode-tests.el
index ea98ee7..cee478c 100644
--- a/csharp-mode-tests.el
+++ b/csharp-mode-tests.el
@@ -232,7 +232,9 @@
"(method) OpenWebServiceAsync("
"(method) ToString("
"(method) AbstractMethod("
- "(method) UnsafeCopy(")
+ "(method) UnsafeCopy("
+ "(method) GenericMethod1<T>"
+ "(method) GenericMethod2<T1,T2>")
(def-imenutest imenu-parsing-supports-delegates
"./test-files/imenu-delegate-test.cs"
diff --git a/test-files/imenu-method-test.cs b/test-files/imenu-method-test.cs
index 9fc9504..9119149 100644
--- a/test-files/imenu-method-test.cs
+++ b/test-files/imenu-method-test.cs
@@ -24,10 +24,21 @@ public class MethodTest
}
+ public T GenericMethod1<T>(T instance, string item)
+ {
+
+ }
+
+ public T1 GenericMethod2<T1,T2>(T1 instance, T2 item)
+ {
+
+ }
+
public abstract string AbstractMethod();
public unsafe static void UnsafeCopy(byte[] src, byte[] dst, int count)
{
}
+
}
- [elpa] externals/csharp-mode 4a396e3 189/459: Add tests for imenu method-indexing., (continued)
- [elpa] externals/csharp-mode 4a396e3 189/459: Add tests for imenu method-indexing., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 9c42dac 193/459: Move all defcustoms to the top., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 717bf76 194/459: Fix compilation errors and warnings., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 7baacd5 196/459: Make imenu-tests less verbose., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 9616fd0 192/459: Fix method-name fontification tests., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 04958ec 198/459: Fix byte-compilation warnings., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 49a957b 199/459: Super-ugly hacks to fix build., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode aa4e5db 201/459: Escape both quoting and quoted double quote, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 48dd7ee 202/459: Remove empty line at file start, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 803a362 203/459: Move log functions back down where they were., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 8a9ab5a 204/459: imenu: Add test-cases for generic methods.,
ELPA Syncer <=
- [elpa] externals/csharp-mode b56c250 205/459: Add fontification tests for generic methods., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode f83e2e3 207/459: Fix indentation of generic type-initializers., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 81cf94d 214/459: Update test-data., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode bd42802 216/459: Indentation fix (#88), ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 0c4edfd 217/459: Hopefully fix this CI-snafu for now., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 6ccf2cf 219/459: Apply syntax propertize function silently, ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 6c0a0d6 220/459: Bump version. Update changelog., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode b87332e 222/459: Update documentation for Emacs 25., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode 4516a18 223/459: Fix indentation of generic type-initializers., ELPA Syncer, 2021/08/22
- [elpa] externals/csharp-mode ed7c30c 224/459: WIP: Fix checkdoc- and package-lint errors, ELPA Syncer, 2021/08/22