[Groonga-commit] groonga/grngo at 570e874 [master] Remove old tests named TestDBCreateTableWith*RefKey().

Back to archive index

susumu.yata null+****@clear*****
Fri Jul 31 10:02:26 JST 2015


susumu.yata	2015-07-31 10:02:26 +0900 (Fri, 31 Jul 2015)

  New Revision: 570e8740efae284afa5a163023e7811a1fa1ab57
  https://github.com/groonga/grngo/commit/570e8740efae284afa5a163023e7811a1fa1ab57

  Message:
    Remove old tests named TestDBCreateTableWith*RefKey().

  Modified files:
    grngo_test.go

  Modified: grngo_test.go (+0 -70)
===================================================================
--- grngo_test.go    2015-07-31 09:59:56 +0900 (e8e5ce7)
+++ grngo_test.go    2015-07-31 10:02:26 +0900 (c507c1e)
@@ -451,76 +451,6 @@ func TestRefKey(t *testing.T) {
 	}
 }
 
-func testDBCreateTableWithRefValue(t *testing.T, keyType string) {
-	options := NewTableOptions()
-	options.KeyType = keyType
-	dirPath, _, db, _ := createTempTable(t, "To", options)
-	defer removeTempDB(t, dirPath, db)
-
-	options = NewTableOptions()
-	options.ValueType = ""
-	_, err := db.CreateTable("From", options)
-	if err != nil {
-		t.Fatalf("DB.CreateTable() failed: %v", err)
-	}
-}
-
-func TestDBCreateTableWithBoolRefValue(t *testing.T) {
-	testDBCreateTableWithRefValue(t, "Bool")
-}
-
-func TestDBCreateTableWithInt8RefValue(t *testing.T) {
-	testDBCreateTableWithRefValue(t, "Int8")
-}
-
-func TestDBCreateTableWithInt16RefValue(t *testing.T) {
-	testDBCreateTableWithRefValue(t, "Int16")
-}
-
-func TestDBCreateTableWithInt32RefValue(t *testing.T) {
-	testDBCreateTableWithRefValue(t, "Int32")
-}
-
-func TestDBCreateTableWithInt64RefValue(t *testing.T) {
-	testDBCreateTableWithRefValue(t, "Int64")
-}
-
-func TestDBCreateTableWithUInt8RefValue(t *testing.T) {
-	testDBCreateTableWithRefValue(t, "UInt8")
-}
-
-func TestDBCreateTableWithUInt16RefValue(t *testing.T) {
-	testDBCreateTableWithRefValue(t, "UInt16")
-}
-
-func TestDBCreateTableWithUInt32RefValue(t *testing.T) {
-	testDBCreateTableWithRefValue(t, "UInt32")
-}
-
-func TestDBCreateTableWithUInt64RefValue(t *testing.T) {
-	testDBCreateTableWithRefValue(t, "UInt64")
-}
-
-func TestDBCreateTableWithFloatRefValue(t *testing.T) {
-	testDBCreateTableWithRefValue(t, "Float")
-}
-
-func TestDBCreateTableWithTimeRefValue(t *testing.T) {
-	testDBCreateTableWithRefValue(t, "Time")
-}
-
-func TestDBCreateTableWithShortTextRefValue(t *testing.T) {
-	testDBCreateTableWithRefValue(t, "ShortText")
-}
-
-func TestDBCreateTableWithTokyoGeoPointRefValue(t *testing.T) {
-	testDBCreateTableWithRefValue(t, "TokyoGeoPoint")
-}
-
-func TestDBCreateTableWithWGS84GeoPointRefValue(t *testing.T) {
-	testDBCreateTableWithRefValue(t, "WGS84GeoPoint")
-}
-
 func testTableCreateColumn(t *testing.T, valueType string) {
 	dirPath, _, db, table, _ :=
 		createTempColumn(t, "Table", nil, "Value", valueType, nil)
-------------- next part --------------
HTML����������������������������...
Download 



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