~a-roehler/python-mode/XEmacs-compat-test

« back to all changes in this revision

Viewing changes to test/py-bug-numbered-tests.el

  • Committer: Andreas Roehler
  • Date: 2012-01-15 18:36:32 UTC
  • Revision ID: andreas.roehler@online.de-20120115183632-99q75vuv1kjxvcry
`py-forward-into-nomenclature', lp:916818, fixed




Show diffs side-by-side

added added

removed removed

Lines of Context:
121
121
         'chars-uU-preceding-triple-quoted-get-string-face-lp-909517-test
122
122
         'wrong-type-argument-lp-901541-test
123
123
         'py-pychecker-run-missing-lp-910783-test
 
124
         'py-forward-into-nomenclature-lp-916818-test
124
125
         'UnicodeEncodeError-lp:550661-test
125
126
         'py-shell-complete-lp-328836-test
126
127
 
393
394
    (let ((erg (get-char-property (point) 'face)))
394
395
      (insert "\"")
395
396
      (font-lock-fontify-buffer)
396
 
      ;; (message "%s" erg)
397
 
      ;; (message "%s" (get-char-property (point) 'face))
398
397
      (assert (eq erg (get-char-property (point) 'face)) nil "dq-in-tqs-string-lp:328813-test failed ")
399
398
      (goto-char 122))))
400
399
 
2198
2197
    (assert (commandp 'py-pychecker-run) nil "py-pychecker-run-missing-lp-910783-test failed"))
2199
2198
 
2200
2199
 
 
2200
(defun py-forward-into-nomenclature-lp-916818-test (&optional arg load-branch-function)
 
2201
  (interactive "p")
 
2202
  (let ((teststring "#! /usr/bin/env python
 
2203
# -*- coding: utf-8 -*-
 
2204
print \"\"\"Es müßte 'asdf\" heißen.\"\"\"
 
2205
"))
 
2206
    (when load-branch-function (funcall load-branch-function))
 
2207
    (py-bug-tests-intern 'py-forward-into-nomenclature-lp-916818-base arg teststring)))
 
2208
 
 
2209
(defun py-forward-into-nomenclature-lp-916818-base ()
 
2210
  (goto-char 61)
 
2211
  (assert (eq 65 (py-forward-into-nomenclature)) nil "py-forward-into-nomenclature-lp-916818-test failed"))
 
2212
 
2201
2213
(provide 'py-bug-numbered-tests)
2202
2214
;;; py-bug-numbered-tests.el ends here