diff options
author | Ulf Jasper <ulf.jasper@web.de> | 2011-10-30 16:21:37 +0100 |
---|---|---|
committer | Ulf Jasper <ulf.jasper@web.de> | 2011-10-30 16:21:37 +0100 |
commit | dba0634a93dce8370b7a07727d6ad54ffa695872 (patch) | |
tree | ff7a943866d0a101f24ee2c6d966bfa71e6720bf /test | |
parent | 3d8daefefaf3bfd73ca4d8a363b044ec66a45e3a (diff) | |
download | emacs-dba0634a93dce8370b7a07727d6ad54ffa695872.tar.gz |
newsticker: Clean up newsticker--group-manage-orphan-feeds
2011-10-30 Ulf Jasper <ulf.jasper@web.de>
* net/newst-treeview.el: Remove "Time-stamp".
(newsticker--group-manage-orphan-feeds): Do not call
newsticker--treeview-tree-update.
(newsticker-treeview-update, newsticker-treeview): Call
newsticker--treeview-tree-update if necessary.
2011-10-30 Ulf Jasper <ulf.jasper@web.de>
* automated/newsticker-tests.el
(newsticker--group-manage-orphan-feeds): Removed fsetting of
newsticker--treeview-tree-update.
Diffstat (limited to 'test')
-rw-r--r-- | test/ChangeLog | 6 | ||||
-rw-r--r-- | test/automated/newsticker-tests.el | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/test/ChangeLog b/test/ChangeLog index dcdef6399e4..de4fb270440 100644 --- a/test/ChangeLog +++ b/test/ChangeLog @@ -1,3 +1,9 @@ +2011-10-30 Ulf Jasper <ulf.jasper@web.de> + + * automated/newsticker-tests.el + (newsticker--group-manage-orphan-feeds): Removed fsetting of + newsticker--treeview-tree-update. + 2011-10-29 Ulf Jasper <ulf.jasper@web.de> * automated/newsticker-tests.el diff --git a/test/automated/newsticker-tests.el b/test/automated/newsticker-tests.el index ba7fe20786b..76f4345da55 100644 --- a/test/automated/newsticker-tests.el +++ b/test/automated/newsticker-tests.el @@ -138,14 +138,8 @@ Apply to INPUT and compare with EXPECTED." Signals an error if something goes wrong." (let ((newsticker-groups '("Feeds")) (newsticker-url-list-defaults nil) - (newsticker-url-list '(("feed1") ("feed2") ("feed3"))) - t-nttvtu) - ;; prevent updating the treeview as it does not exist during fully - ;; automated tests - (fset 't-nttvtu (symbol-function 'newsticker--treeview-tree-update)) - (fset 'newsticker--treeview-tree-update (lambda() nil)) + (newsticker-url-list '(("feed1") ("feed2") ("feed3")))) (newsticker--group-manage-orphan-feeds) - (fset 'newsticker--treeview-tree-update (symbol-function 't-nttvtu)) (should (equal '("Feeds" "feed3" "feed2" "feed1") newsticker-groups)))) |