[Groonga-commit] groonga/groonga [master] test functional: use meaningful name

Back to archive index

null+****@clear***** null+****@clear*****
2012年 8月 2日 (木) 16:04:10 JST


Kouhei Sutou	2012-08-02 16:04:10 +0900 (Thu, 02 Aug 2012)

  New Revision: 71d4d3056bcadae0deb7567df0a7c5bfec5e6d2c
  https://github.com/groonga/groonga/commit/71d4d3056bcadae0deb7567df0a7c5bfec5e6d2c

  Log:
    test functional: use meaningful name

  Modified files:
    test/function/suite/load/command-after-invalid-load.expected
    test/function/suite/load/command-after-invalid-load.test

  Modified: test/function/suite/load/command-after-invalid-load.expected (+7 -7)
===================================================================
--- test/function/suite/load/command-after-invalid-load.expected    2012-08-02 14:40:08 +0900 (37e30d9)
+++ test/function/suite/load/command-after-invalid-load.expected    2012-08-02 16:04:10 +0900 (f7a8c39)
@@ -1,14 +1,14 @@
-table_create Hoge TABLE_HASH_KEY ShortText
+table_create Shops TABLE_HASH_KEY ShortText
 [[0,0.0,0.0],true]
-column_create Hoge point COLUMN_SCALAR WGS84GeoPoint
+column_create Shops location COLUMN_SCALAR WGS84GeoPoint
 [[0,0.0,0.0],true]
-column_create Hoge text COLUMN_SCALAR ShortText
-[[0,0.0,0.0],true]
-load --table Hoge
+load --table Shops
 [
-{"_key":"a","point":"x","text":"a0000000"}
+{"_key":"Tokyo","location":"x"}
 ]
 [[0,0.0,0.0],1]
+#|e| <Shops.location>: failed to cast to <WGS84GeoPoint>: <"x">
+#|e| [table][load] failed to set column value: <Shops.location>: failed to cast to <WGS84GeoPoint>: <"x">: key: <"Tokyo">, column: <location>, value: <"x">
 table_list
 [
   [
@@ -45,7 +45,7 @@ table_list
     ],
     [
       256,
-      "Hoge",
+      "Shops",
       "tmp/db.0000100",
       "TABLE_HASH_KEY|PERSISTENT",
       "ShortText",

  Modified: test/function/suite/load/command-after-invalid-load.test (+4 -5)
===================================================================
--- test/function/suite/load/command-after-invalid-load.test    2012-08-02 14:40:08 +0900 (e8e8881)
+++ test/function/suite/load/command-after-invalid-load.test    2012-08-02 16:04:10 +0900 (9c20a7d)
@@ -1,8 +1,7 @@
-table_create Hoge TABLE_HASH_KEY ShortText
-column_create Hoge point COLUMN_SCALAR WGS84GeoPoint
-column_create Hoge text COLUMN_SCALAR ShortText
-load --table Hoge
+table_create Shops TABLE_HASH_KEY ShortText
+column_create Shops location COLUMN_SCALAR WGS84GeoPoint
+load --table Shops
 [
-{"_key":"a","point":"x","text":"a0000000"}
+{"_key":"Tokyo","location":"x"}
 ]
 table_list
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
Download 



Groonga-commit メーリングリストの案内
Back to archive index