[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] scratch/merge-cedet-tests 2f8e8c8 272/316: Remove eieio bi
From: |
Edward John Steere |
Subject: |
[Emacs-diffs] scratch/merge-cedet-tests 2f8e8c8 272/316: Remove eieio bits and only use eieio bits for make types |
Date: |
Sat, 28 Jan 2017 09:10:10 +0000 (UTC) |
branch: scratch/merge-cedet-tests
commit 2f8e8c8182ae136488cf54602cb300efe3e4ff5b
Author: zappo <address@hidden>
Commit: Edward John Steere <address@hidden>
Remove eieio bits and only use eieio bits for make types
* test/manual/cedet/cit-el.el (cit-el-tags): Removed eieio
bits. (cit-el-tags-eieio): New, from above. (cit-srecode-fill-el):
Only use eieio bits for Make types.
---
test/manual/cedet/cit-el.el | 56 ++++++++++++++++++++++++-------------------
1 file changed, 32 insertions(+), 24 deletions(-)
diff --git a/test/manual/cedet/cit-el.el b/test/manual/cedet/cit-el.el
index 1099cc5..f426188 100644
--- a/test/manual/cedet/cit-el.el
+++ b/test/manual/cedet/cit-el.el
@@ -3,7 +3,7 @@
;; Copyright (C) 2008, 2009 Eric M. Ludlam
;; Author: Eric M. Ludlam <address@hidden>
-;; X-RCS: $Id: cit-el.el,v 1.2 2009-08-08 21:52:08 zappo Exp $
+;; X-RCS: $Id: cit-el.el,v 1.3 2009-10-15 03:42:55 zappo Exp $
;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the GNU General Public License as
@@ -28,23 +28,11 @@
(defconst cit-el-tags
(list
- (semantic-tag-new-include "eieio" nil)
-
(semantic-tag-new-variable "cit-spiffy-var" nil
t)
(semantic-tag-new-variable "cit-spiffy-var-const" nil
"'(1 2 3)" :constant-flag t)
- (semantic-tag-new-type
- "elfoo" "class"
- (list
- (semantic-tag-new-variable "Field1" nil "t" :documentation "First Field")
- (semantic-tag-new-variable "Field2" nil "nil" :documentation "Second
Field")
- (semantic-tag-new-variable "Field3" nil "1" :documentation "Third Field")
- (semantic-tag-new-variable "Field4" nil "\"Hi\"" :documentation "Fourth
Field")
- )
- nil)
-
(semantic-tag-new-function
"doSomething" nil
(list "arg1" "arg2")
@@ -57,15 +45,6 @@
:parent "elfoo"
:documentation "Nice method on elfoo")
- (semantic-tag-new-type
- "elbar" "class"
- (list
- (semantic-tag-new-variable "Slot1" nil "nil" :documentation "First Slot")
- (semantic-tag-new-variable "Slot2" nil "\"What\"" :documentation "First
Slot")
- (semantic-tag-new-variable "Slot3" nil "'(1 2 3)" :documentation "First
Slot")
- )
- (list "elfoo"))
-
(semantic-tag-new-function
"niceMethod" nil
(list "arg1")
@@ -78,7 +57,32 @@
:documentation "Some boring old function.")
)
- "Tags to be inserted into a header file.")
+ "Tags to be inserted into an Emacs Lisp file.")
+
+(defconst cit-el-tags-eieio
+ (list
+ (semantic-tag-new-include "eieio" nil)
+
+ (semantic-tag-new-type
+ "elfoo" "class"
+ (list
+ (semantic-tag-new-variable "Field1" nil "t" :documentation "First Field")
+ (semantic-tag-new-variable "Field2" nil "nil" :documentation "Second
Field")
+ (semantic-tag-new-variable "Field3" nil "1" :documentation "Third Field")
+ (semantic-tag-new-variable "Field4" nil "\"Hi\"" :documentation "Fourth
Field")
+ )
+ nil)
+
+ (semantic-tag-new-type
+ "elbar" "class"
+ (list
+ (semantic-tag-new-variable "Slot1" nil "nil" :documentation "First Slot")
+ (semantic-tag-new-variable "Slot2" nil "\"What\"" :documentation "First
Slot")
+ (semantic-tag-new-variable "Slot3" nil "'(1 2 3)" :documentation "First
Slot")
+ )
+ (list "elfoo"))
+ )
+ "Tags to be inserted into an Emacs Lisp file that supports EIEIO.")
(defun cit-srecode-fill-el (make-type)
"Fill up a base set of files with some base tags.
@@ -87,7 +91,11 @@ MAKE-TYPE indicates the makefile type being used."
;; 2 b) Test various templates.
- (cit-srecode-fill-with-stuff "src/elfoo.el" cit-el-tags)
+ (if (string= make-type "Automake")
+ (cit-srecode-fill-with-stuff "src/elfoo.el" cit-el-tags)
+ (cit-srecode-fill-with-stuff "src/elfoo.el" (append
+ cit-el-tags
+ cit-el-tags-eieio)))
;; 1 e) Tell EDE where the srcs are
;; Making the autoloads first should PREPEND, but Lisp should append.
- [Emacs-diffs] scratch/merge-cedet-tests 02c7dbb 310/316: Move tests in cedet/semantic, (continued)
- [Emacs-diffs] scratch/merge-cedet-tests 02c7dbb 310/316: Move tests in cedet/semantic, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 0a0dd27 167/316: Test typedef which has the keyword "class" included, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests dfddc2d 262/316: (cit-make-dist): Use cit-check-compilation-for-error., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests da4dd24 253/316: New test for testing ede/cpp-root projects., Edward John Steere, 2017/01/28
- [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/28
- [Emacs-diffs] scratch/merge-cedet-tests e96e309 178/316: Added new subdir and ensure that the base dir, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 4972b30 176/316: (ede, ede-make): New require (cit-srecode-verify-tags): Fix debugging output on failure. Patch from David Engster (cit-compile-and-wait): Use ede-make-command, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests e4d6b74 280/316: Use new create functions for db tools, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 8cb6670 304/316: Fake ver_linux for project detection purposes., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests a25699b 222/316: semantic/bovine/c: Parse C++ override/final correctly, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 2f8e8c8 272/316: Remove eieio bits and only use eieio bits for make types,
Edward John Steere <=
- [Emacs-diffs] scratch/merge-cedet-tests 4ab930b 225/316: C++: Deal with 'using' statements when calculating scope, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 800b575 081/316: Move tests in cedet/semantic, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests a9cd804 265/316: New tests., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 4a820de 289/316: Fix provide. (cedet-utests): Remove., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 9d2c338 251/316: New test file., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests a60b900 267/316: Fix provide., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests fba6409 297/316: Add test for parsing local variables, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 27001fd 271/316: Accept the make-tipe argument to control tests, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 28e2c81 239/316: (cit-remove-and-do-shared-lib): New., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 6f76589 250/316: Synchronize cedet/semantic with Emacs., Edward John Steere, 2017/01/28