[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] scratch/merge-cedet-tests 816e083 151/316: (ede-detect-ute
From: |
Edward John Steere |
Subject: |
[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. |
Date: |
Fri, 27 Jan 2017 20:03:36 +0000 (UTC) |
branch: scratch/merge-cedet-tests
commit 816e08339978e61e2c41445947ac9168d95f7f0e
Author: Eric Ludlam <address@hidden>
Commit: Edward John Steere <address@hidden>
(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.
---
test/manual/cedet/cedet/ede/detect-utest.el | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/test/manual/cedet/cedet/ede/detect-utest.el
b/test/manual/cedet/cedet/ede/detect-utest.el
index 6e8ea27..9003370 100644
--- a/test/manual/cedet/cedet/ede/detect-utest.el
+++ b/test/manual/cedet/cedet/ede/detect-utest.el
@@ -41,13 +41,15 @@
( "src/generic/gen_make/sub/test.cpp" . ede-detect-utest-generic-p )
( "src/generic/gen_scons/sub/test.cpp" . ede-detect-utest-generic-p )
( "src/generic/gen_cmake/sub/test.cpp" . ede-detect-utest-generic-p )
+ ;; Generic MADE FOR TEST only case.
+ ( "src/generic/gen_vc/sub/test.cpp" . ede-detect-utest-generic-vc-p )
;; these ROOT projects are created by hand in a .emacs file.
;; These need to be defined in here to get this test to work.
( "src/cpproot/src/main.cpp" . ede-cpp-root-project-p )
( "src/cpproot/README" . ede-cpp-root-project-p )
( "src/javaroot/com/test/Foo.Java" . ede-java-root-project-p )
( "src/javaroot/README" . ede-java-root-project-p )
- )
+ )
"List of sources to load in detectable projects.
Each entry is a cons cell:
( SRCFILE . PROJECT-TYPE )")
@@ -91,6 +93,10 @@ Each entry is a cons cell:
;; Enable the generic EDE project types so we can test them.
(ede-enable-generic-projects)
+ ;; Create a fake VC style project that we can detect.
+ (ede-generic-new-autoloader "generic-VC" "FAKE VC"
+ "VC" 'ede-generic-vc-project)
+
;; Start Logging
(cedet-utest-log-setup "EDE DETECT")
@@ -256,6 +262,11 @@ Each entry is a cons cell:
))
))
+(defun ede-detect-utest-generic-vc-p (project)
+ "Special predicate for testing a generic VC project was loaded."
+ (and (ede-detect-utest-generic-p project)
+ (ede-generic-vc-project-p project)))
+
;;; TEST PROJECT
;;
;; This project exists to test dirmatch.
- [Emacs-diffs] scratch/merge-cedet-tests 8d32d3a 160/316: Fix parsing of default values and display them in default formatter, (continued)
- [Emacs-diffs] scratch/merge-cedet-tests 8d32d3a 160/316: Fix parsing of default values and display them in default formatter, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests a4e395c 156/316: Add a final call to ede list sanity check, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 9ec7a1b 161/316: Move tests in cedet/semantic, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 0927d4a 180/316: (cedet-integ-test-Make, cedet-integ-test-Automake, cedet-integ-test-GNUStep): New (cedet-integ-test-proj): Take a make-type argumemt. Misc tests needed on new argument. Change how ede creates projects based on make-type. Remove spaces from the project name. (cit-finish-message): Ending message now includes the make type., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests b804ecf 166/316: Move tests in cedet/semantic, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests a4202a0 188/316: Call external db testing suite, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 3800edd 194/316: Fix provide. (cedet-uutil, srecode/semantic): New requires., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests a7281aa 202/316: Fix EIEIO methodinvoke-utest and semantic-fmt-utest., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 2c1d730 190/316: Ignore Members On Extra Tags, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 0ceb1ef 168/316: Integration Tests., Edward John Steere, 2017/01/27
- [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 <=
- [Emacs-diffs] scratch/merge-cedet-tests 323ca78 196/316: New test file for unions., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests a40bc3f 191/316: (Cit-Android): New Require. (Cedet-Integ-Test-Gnustep): Fix Typo. (Cedet-Integ-Test-Android): New Build Type Support For Android. (Cit-Make-Dir): Allow Making Trees Of Directories. (Cit-Compile-And-Wait): Only Regenerate The Project If That Project Type Can Be Regenerated. (Cit-Compile-And-Wait-Using-Ede-Command): New Way To Build That Uses Ede Commands Instead Of Hard-Coded Make Commands., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests e267436 232/316: Move tests in cedet/semantic, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 32b1d6c 260/316: First pass of creating a distribution., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests cdfb2f7 252/316: Tests for completiong symbols in wisent grammars., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 82a840d 244/316: Use ldflags and libs for in project libraries, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 28e2c81 239/316: (cit-remove-and-do-shared-lib): New., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 66c8eb7 256/316: Remove useless generated skeleton and old NEWS, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests cb8b935 245/316: (cit-remove-and-do-shared-lib): Add ldlibs-local test., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 34041d4 120/316: Synchronize cedet/semantic with Emacs., Edward John Steere, 2017/01/27