[gitg] Remove test for index_revert



commit 6b6be8854792c5b5b870c32f880070bb05b97a58
Author: Jesse van den Kieboom <jessevdk gmail com>
Date:   Sat Jul 6 10:15:38 2013 +0200

    Remove test for index_revert

 libgitg/tests/test-stage.vala |   27 ---------------------------
 1 files changed, 0 insertions(+), 27 deletions(-)
---
diff --git a/libgitg/tests/test-stage.vala b/libgitg/tests/test-stage.vala
index ea1a20f..0e83cb8 100644
--- a/libgitg/tests/test-stage.vala
+++ b/libgitg/tests/test-stage.vala
@@ -169,33 +169,6 @@ class Gitg.Test.Stage : Gitg.Test.Repository
        }
 
        /**
-        * test reverting a complete file from the index.
-        */
-       protected virtual signal void test_revert_index()
-       {
-               var stage = d_repository.stage;
-
-               var loop = new MainLoop();
-
-               stage.revert_index_path.begin("b", (obj, res) => {
-                       try
-                       {
-                               stage.revert_index.end(res);
-                       } catch (Error e) { assert_no_error(e); }
-
-                       var m = new Gee.HashMap<string, Ggit.StatusFlags>();
-
-                       m["a"] = Ggit.StatusFlags.WORKING_TREE_MODIFIED;
-                       m["b"] = Ggit.StatusFlags.WORKING_TREE_MODIFIED;
-                       m["c"] = Ggit.StatusFlags.WORKING_TREE_DELETED;
-
-                       check_file_status(loop, m);
-               });
-
-               loop.run();
-       }
-
-       /**
         * test deleting a file in the index.
         */
        protected virtual signal void test_delete()



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]