aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJuanma Barranquero2010-01-18 05:39:40 +0100
committerJuanma Barranquero2010-01-18 05:39:40 +0100
commitdb9e401b3bf3514cadf6fc5a4f15e8c869d0df4c (patch)
tree51ac199a0ed2477d0395c7eace93fc8fa4dabf6d /test
parent33972e801477b638f22f4ba3f6e04199d5992124 (diff)
downloademacs-db9e401b3bf3514cadf6fc5a4f15e8c869d0df4c.tar.gz
emacs-db9e401b3bf3514cadf6fc5a4f15e8c869d0df4c.zip
Fix typos in docstrings, error messages, etc.
Diffstat (limited to 'test')
-rw-r--r--test/ChangeLog7
-rw-r--r--test/cedet/semantic-tests.el10
2 files changed, 12 insertions, 5 deletions
diff --git a/test/ChangeLog b/test/ChangeLog
index e52559399e5..e17adc0bfc7 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,10 @@
12010-01-18 Juanma Barranquero <lekktu@gmail.com>
2
3 * cedet/semantic-tests.el (semanticdb-test-gnu-global)
4 (semantic-lex-test-full-depth, semantic-symref-test-count-hits-in-tag):
5 Fix typos in docstrings and error messages.
6 (semanticdb-ebrowse-run-tests): Fix typos in error messages.
7
12010-01-14 Juanma Barranquero <lekktu@gmail.com> 82010-01-14 Juanma Barranquero <lekktu@gmail.com>
2 9
3 * cedet/cedet-utests.el (cedet-utest-log-shutdown, pulse-test): 10 * cedet/cedet-utests.el (cedet-utest-log-shutdown, pulse-test):
diff --git a/test/cedet/semantic-tests.el b/test/cedet/semantic-tests.el
index b21b451691b..6d13be1d5d2 100644
--- a/test/cedet/semantic-tests.el
+++ b/test/cedet/semantic-tests.el
@@ -58,7 +58,7 @@ All systems are different. Ask questions along the way."
58 (when (not (or (eq major-mode 'c-mode) 58 (when (not (or (eq major-mode 'c-mode)
59 (eq major-mode 'c++-mode))) 59 (eq major-mode 'c++-mode)))
60 (error "Please make your default buffer be a C or C++ file, then 60 (error "Please make your default buffer be a C or C++ file, then
61run the test again.."))) 61run the test again")))
62 62
63(defun semanticdb-ebrowse-dump () 63(defun semanticdb-ebrowse-dump ()
64 "Find the first loaded ebrowse table, and dump out the contents." 64 "Find the first loaded ebrowse table, and dump out the contents."
@@ -83,7 +83,7 @@ run the test again..")))
83(defun semanticdb-test-gnu-global (searchfor &optional standardfile) 83(defun semanticdb-test-gnu-global (searchfor &optional standardfile)
84 "Test the GNU Global semanticdb. 84 "Test the GNU Global semanticdb.
85Argument SEARCHFOR is the text to search for. 85Argument SEARCHFOR is the text to search for.
86If optional arg STANDARDFILE is non nil, use a standard file w/ global enabled." 86If optional arg STANDARDFILE is non-nil, use a standard file w/ global enabled."
87 (interactive "sSearch For Tag: \nP") 87 (interactive "sSearch For Tag: \nP")
88 88
89 (require 'data-debug) 89 (require 'data-debug)
@@ -235,7 +235,7 @@ Optional argument ARG specifies not to use color."
235 235
236(defun semantic-lex-test-full-depth (arg) 236(defun semantic-lex-test-full-depth (arg)
237 "Test the semantic lexer in the current buffer parsing through lists. 237 "Test the semantic lexer in the current buffer parsing through lists.
238Usually the lexer parses 238Usually the lexer parses.
239If universal argument ARG, then try the whole buffer." 239If universal argument ARG, then try the whole buffer."
240 (interactive "P") 240 (interactive "P")
241 (let* ((start (current-time)) 241 (let* ((start (current-time))
@@ -309,7 +309,7 @@ Analyze the area between BEG and END."
309 309
310(defun semantic-symref-test-count-hits-in-tag () 310(defun semantic-symref-test-count-hits-in-tag ()
311 "Lookup in the current tag the symbol under point. 311 "Lookup in the current tag the symbol under point.
312the count all the other references to the same symbol within the 312Then count all the other references to the same symbol within the
313tag that contains point, and return that." 313tag that contains point, and return that."
314 (interactive) 314 (interactive)
315 (let* ((ctxt (semantic-analyze-current-context)) 315 (let* ((ctxt (semantic-analyze-current-context))
@@ -323,7 +323,7 @@ tag that contains point, and return that."
323 (semantic-tag-start tag) 323 (semantic-tag-start tag)
324 (semantic-tag-end tag)) 324 (semantic-tag-end tag))
325 (when (interactive-p) 325 (when (interactive-p)
326 (message "Found %d occurances of %s in %.2f seconds" 326 (message "Found %d occurrences of %s in %.2f seconds"
327 Lcount (semantic-tag-name target) 327 Lcount (semantic-tag-name target)
328 (semantic-elapsed-time start (current-time)))) 328 (semantic-elapsed-time start (current-time))))
329 Lcount))) 329 Lcount)))