[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] scratch/merge-cedet-tests b6ebafc 233/316: Added more test
From: |
Edward John Steere |
Subject: |
[Emacs-diffs] scratch/merge-cedet-tests b6ebafc 233/316: Added more test data |
Date: |
Sat, 28 Jan 2017 09:10:04 +0000 (UTC) |
branch: scratch/merge-cedet-tests
commit b6ebafcf4a6694fa6180675f1830e3c5a9333d31
Author: Eric Ludlam <address@hidden>
Commit: Edward John Steere <address@hidden>
Added more test data
* test/manual/cedet/cedet/semantic/tests/testvarnames.c:
(varorstruct): New struct and variable. (assigntovarorstruct): New
variable that doesn't start with 'var'. (test_1): Add test when
assigning into varorstruct that we get a match.
---
test/manual/cedet/cedet/semantic/tests/testvarnames.c | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/test/manual/cedet/cedet/semantic/tests/testvarnames.c
b/test/manual/cedet/cedet/semantic/tests/testvarnames.c
index 50dd035..9aa30bb 100644
--- a/test/manual/cedet/cedet/semantic/tests/testvarnames.c
+++ b/test/manual/cedet/cedet/semantic/tests/testvarnames.c
@@ -37,6 +37,17 @@ struct inline2struct {
struct inlinestruct in_var1;
struct inline2struct in_var2;
+/*
+ * Structures (or any types) could have the same name as a variable.
+ * Make sure we complete vars over types.
+ *
+ * See cedet-devel mailing list Dec 23, 2013 for details.
+ */
+struct varorstruct {};
+int varorstruct;
+
+int assigntovarorstruct;
+
int test_1(int var_arg1) {
var_// -1-
@@ -68,4 +79,7 @@ int test_1(int var_arg1) {
; // #10# ( "named_1" "named_2")
in_var2.// -11-
; // #11# ( "named_3" "named_4")
+
+ varorstruct = assign// -12-
+ ; // #12# ( "assigntovarorstruct" )
}
- [Emacs-diffs] scratch/merge-cedet-tests 529fe15 195/316: Make unit tests use randomized file names, (continued)
- [Emacs-diffs] scratch/merge-cedet-tests 529fe15 195/316: Make unit tests use randomized file names, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 9b917c5 152/316: Major test restructure, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 38d59cb 207/316: Tests: Add ERT test for the C Bovinator, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 4bf5287 199/316: Fix interactive unit tests., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 784b5c8 231/316: Make unit tests use randomized file names, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests df0e0e6 193/316: Synchronize cedet/srecode with Emacs., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 2316f19 173/316: Add whitespace at the end of a filled buffer, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 7177e01 210/316: Add compdb EDE project, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests e076b36 177/316: Set the auto-add-method to always during test, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests b85662e 218/316: New file, derived from logging functions in cedet-utest.el, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests b6ebafc 233/316: Added more test data,
Edward John Steere <=
- [Emacs-diffs] scratch/merge-cedet-tests 49b4ce7 213/316: Move tests in cedet/semantic, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests fd40e7f 212/316: Move tests in cedet/semantic, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 99ad7b6 206/316: Added security test, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 404d4da 242/316: Improve compilation active detection, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 727bca8 248/316: Ensure that the correct buffer is active when, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 42516a8 254/316: Added cpproot tests, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 9767368 308/316: Synchronize cedet/semantic with Emacs., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 83bcf53 274/316: (cit-srecode-fill-el): Insert classes before methods., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 1373a94 285/316: (cit-gnu-externaldb-test-one): Improve test for bad search result., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 816e083 151/316: (ede-detect-utest-project-list): Add test for generic VC type project. (ede-detect-utest): Add fake autoloader for VC. (ede-detect-utest-generic-vc-p): New., Edward John Steere, 2017/01/28