[Groonga-commit] groonga/groonga at 75b8b47 [master] test: remove a duplicate test

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Sep 24 17:26:55 JST 2013


Kouhei Sutou	2013-09-24 17:26:55 +0900 (Tue, 24 Sep 2013)

  New Revision: 75b8b478ded3832a41fefefc5bb7bcf1c45b6f4e
  https://github.com/groonga/groonga/commit/75b8b478ded3832a41fefefc5bb7bcf1c45b6f4e

  Message:
    test: remove a duplicate test
    
    The test is done in grntest.

  Modified files:
    test/unit/core/test-command-delete.c

  Modified: test/unit/core/test-command-delete.c (+0 -18)
===================================================================
--- test/unit/core/test-command-delete.c    2013-09-24 17:25:01 +0900 (d6c0fef)
+++ test/unit/core/test-command-delete.c    2013-09-24 17:26:55 +0900 (69662fa)
@@ -26,7 +26,6 @@
 void test_id(void);
 void test_filter(void);
 void test_key(void);
-void test_referenced_record(void);
 void test_uint64(void);
 void test_last_token(void);
 void test_no_key_twice(void);
@@ -163,23 +162,6 @@ test_key(void)
 }
 
 void
-test_referenced_record(void)
-{
-  assert_send_command_error(GRN_OPERATION_NOT_PERMITTED,
-                            "undeletable record (Users:4) "
-                            "has value (bookmarks:1)",
-                            "delete Users tasukuchan");
-  cut_assert_equal_string("[[[2],"
-                            "[[\"_key\",\"ShortText\"]],"
-                            "[\"tapo\"],"
-                            "[\"tasukuchan\"]]]",
-                          send_command("select Users "
-                                       "--output_columns _key "
-                                       "--match_columns \"_key\" "
-                                       "--query \"ta\""));
-}
-
-void
 test_uint64(void)
 {
   assert_send_command("table_create Students TABLE_HASH_KEY UInt64");
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index