diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/ChangeLog | 13 | ||||
| -rw-r--r-- | test/automated/eieio-test-methodinvoke.el | 6 |
2 files changed, 17 insertions, 2 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index bcc619a7f97..53e2c49c9d7 100644 --- a/test/ChangeLog +++ b/test/ChangeLog | |||
| @@ -1,3 +1,16 @@ | |||
| 1 | 2014-12-29 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * automated/eieio-test-methodinvoke.el (eieio-test-method-store): | ||
| 4 | Adjust to new semantics of eieio--scoped-class. | ||
| 5 | (eieio-test-match): Improve error feedback. | ||
| 6 | |||
| 7 | 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 8 | |||
| 9 | * automated/eieio-tests.el: Remove dummy object names. | ||
| 10 | |||
| 11 | * automated/eieio-test-persist.el (persistent-with-objs-slot-subs): | ||
| 12 | The type FOO-child is the same as FOO. | ||
| 13 | |||
| 1 | 2014-12-22 Stefan Monnier <monnier@iro.umontreal.ca> | 14 | 2014-12-22 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 15 | ||
| 3 | * automated/eieio-test-methodinvoke.el (eieio-test-method-store): | 16 | * automated/eieio-test-methodinvoke.el (eieio-test-method-store): |
diff --git a/test/automated/eieio-test-methodinvoke.el b/test/automated/eieio-test-methodinvoke.el index 3f86d8fcc99..f99ee8d1f46 100644 --- a/test/automated/eieio-test-methodinvoke.el +++ b/test/automated/eieio-test-methodinvoke.el | |||
| @@ -61,14 +61,16 @@ | |||
| 61 | "Store current invocation class symbol in the invocation order list." | 61 | "Store current invocation class symbol in the invocation order list." |
| 62 | (let* ((keysym (aref [ :STATIC :BEFORE :PRIMARY :AFTER ] | 62 | (let* ((keysym (aref [ :STATIC :BEFORE :PRIMARY :AFTER ] |
| 63 | (or eieio-generic-call-key 0))) | 63 | (or eieio-generic-call-key 0))) |
| 64 | (c (list keysym (eieio--scoped-class)))) | 64 | ;; FIXME: Don't depend on `eieio--scoped-class'! |
| 65 | (c (list keysym (eieio--class-symbol (eieio--scoped-class))))) | ||
| 65 | (push c eieio-test-method-order-list))) | 66 | (push c eieio-test-method-order-list))) |
| 66 | 67 | ||
| 67 | (defun eieio-test-match (rightanswer) | 68 | (defun eieio-test-match (rightanswer) |
| 68 | "Do a test match." | 69 | "Do a test match." |
| 69 | (if (equal rightanswer eieio-test-method-order-list) | 70 | (if (equal rightanswer eieio-test-method-order-list) |
| 70 | t | 71 | t |
| 71 | (error "eieio-test-methodinvoke.el: Test Failed!"))) | 72 | (error "eieio-test-methodinvoke.el: Test Failed: %S != %S" |
| 73 | rightanswer eieio-test-method-order-list))) | ||
| 72 | 74 | ||
| 73 | (defvar eieio-test-call-next-method-arguments nil | 75 | (defvar eieio-test-call-next-method-arguments nil |
| 74 | "List of passed to methods during execution of `call-next-method'.") | 76 | "List of passed to methods during execution of `call-next-method'.") |