diff options
| author | Bozhidar Batsov <bozhidar@batsov.com> | 2018-10-02 10:15:47 +0300 |
|---|---|---|
| committer | Bozhidar Batsov <bozhidar@batsov.com> | 2018-10-02 10:15:47 +0300 |
| commit | 46ea75edc3caf8b4ee043f44d07bd15e6ec5c40a (patch) | |
| tree | 9a556380c2438d932e6ab597e425ddc60bb719b6 /test | |
| parent | f45d7a7d9d2939acaa2227023f1128be482524b4 (diff) | |
Remove a couple of legacy tests that are now migrated to buttercup
Diffstat (limited to 'test')
| -rw-r--r-- | test/projectile-legacy-test.el | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/test/projectile-legacy-test.el b/test/projectile-legacy-test.el index ae7287e..be0aa20 100644 --- a/test/projectile-legacy-test.el +++ b/test/projectile-legacy-test.el @@ -967,34 +967,6 @@ test temp directory" (delete-file projectile-known-projects-file nil) (should (equal projectile-known-projects '("a" "b" "c" "d"))))) -(ert-deftest - projectile-test-saves-known-projects-through-serialization-functions () - (projectile-mock-serialization-functions - '(let ((projectile-known-projects-file (projectile-test-tmp-file-path)) - (projectile-known-projects '(floop))) - - (projectile-save-known-projects) - - (should (equal (car projectile-serialization-calls) - `(serialize (floop) ,projectile-known-projects-file)))))) - -(ert-deftest projectile-test-serialization-functions () - "Test that serialization funtions can save/restore data to the filesystem." - (let ((this-test-file (projectile-test-tmp-file-path))) - (unwind-protect - (progn - (projectile-serialize '(some random data) this-test-file) - (should (equal (projectile-unserialize this-test-file) - '(some random data)))) - (when (file-exists-p this-test-file) - (delete-file this-test-file))))) - -(ert-deftest projectile-clear-known-projects () - (let ((projectile-known-projects '("one" "two" "three")) - (projectile-known-projects-file (projectile-test-tmp-file-path))) - (projectile-clear-known-projects) - (should (null projectile-known-projects)))) - ;; Local Variables: ;; indent-tabs-mode: nil ;; End: |
