[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#22632: [PATCH 0/4] `ert-with-function-mocked' and refactoring `messa
From: |
Michal Nazarewicz |
Subject: |
bug#22632: [PATCH 0/4] `ert-with-function-mocked' and refactoring `message-strip-subject-trailing-was' |
Date: |
Thu, 11 Feb 2016 15:50:58 +0100 |
I started with refactoring `message-strip-subject-trailing-was'
function but ended up also including `ert-with-function-mocked' macro
which lead to two changes in existing unit-tests.
Michal Nazarewicz (4):
Introduce `ert-with-function-mocked' macro
Make use of the `ert-with-function-mocked' macro
Add test for `message-strip-subject-trailing-was'
Refactor `message-strip-subject-trailing-was' function
etc/NEWS | 3 +++
lisp/emacs-lisp/ert-x.el | 40 +++++++++++++++++++++++++++++
lisp/gnus/message.el | 47 +++++++++++++++--------------------
test/lisp/calendar/icalendar-tests.el | 20 ++++++---------
test/lisp/emacs-lisp/ert-x-tests.el | 43 ++++++++++++++++++++++++++++++++
test/lisp/gnus/message-tests.el | 43 ++++++++++++++++++++++++++++++++
test/lisp/vc/vc-bzr-tests.el | 9 +++----
7 files changed, 159 insertions(+), 46 deletions(-)
--
2.7.0.rc3.207.g0ac5344
- bug#22632: [PATCH 0/4] `ert-with-function-mocked' and refactoring `message-strip-subject-trailing-was',
Michal Nazarewicz <=