[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: |
Fri, 27 Jan 2017 20:03:46 +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 41c7498 284/316: Better skip message, (continued)
- [Emacs-diffs] scratch/merge-cedet-tests 41c7498 284/316: Better skip message, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 9480090 261/316: Test updating the project version, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests c89acc2 305/316: Add test code for use with sources in globalref, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests a9cd804 265/316: New tests., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests c132878 122/316: Make unit tests use randomized file names, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests bfed386 181/316: (cit-finish-message): Add a pause, then exit with a status of "1"., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests ba748b5 174/316: Added gnustep tests, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 5ef7a99 157/316: tests: Fix typo in ede/detect-utest, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 876d3e9 138/316: New EDE project for testing dirmatch features., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 49b4ce7 213/316: Move tests in cedet/semantic, Edward John Steere, 2017/01/27
- [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 e9c9716 279/316: Fixes for external db tests, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests bef87bf 290/316: Make unit tests use randomized file names, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 101da66 306/316: Don't scan other files because Util.cc is already in a buffer, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests a60b900 267/316: Fix provide., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests ab1acb9 300/316: Test refactor/move, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 446edba 291/316: Base template for cit testing., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 1d09e4c 217/316: C++: Deal with 'using' statements when calculating scope, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 07892f6 287/316: Move tests in cedet/semantic, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 9767368 308/316: Synchronize cedet/semantic with Emacs., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 7f7d6bf 229/316: Synchronize cedet/srecode with Emacs., Edward John Steere, 2017/01/27